opnsense-src/sys/dev/mfi
Dimitry Andric 864ff7a6e5 Suppress unused variable warning in mfi.c
With clang 15, the following -Werror warnings are produced:

    sys/dev/mfi/mfi.c:3698:6: error: variable 'timedout' set but not used [-Werror,-Wunused-but-set-variable]
            int timedout;
                ^
    sys/dev/mfi/mfi.c:3742:6: error: variable 'timedout' set but not used [-Werror,-Wunused-but-set-variable]
            int timedout = 0;
                ^

Here, 'timedout' are variables that are only used when debugging,
requiring #if 0 statements to be modified. Mark the variables as
potentially unused, to suppress the warnings.

MFC after:	3 days

(cherry picked from commit 3dbe05f61b)
2022-07-23 10:56:45 +02:00
..
mfi.c Suppress unused variable warning in mfi.c 2022-07-23 10:56:45 +02:00
mfi_cam.c Create wrapper for Giant taken for newbus 2022-06-21 17:13:20 +02:00
mfi_debug.c
mfi_disk.c kerneldump: remove physical argument from d_dumper 2022-06-27 16:32:06 -03:00
mfi_ioctl.h
mfi_linux.c Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
mfi_pci.c
mfi_syspd.c kerneldump: remove physical argument from d_dumper 2022-06-27 16:32:06 -03:00
mfi_tbolt.c dev/mfi: Make a seemingly bogus conditional unconditional 2020-12-09 02:07:01 +00:00
mfireg.h mfi: clean up empty lines in .c and .h files 2020-09-01 22:08:26 +00:00
mfivar.h mfi: clean up empty lines in .c and .h files 2020-09-01 22:08:26 +00:00