opnsense-src/sys/dev/mfi
Dimitry Andric 3dbe05f61b 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
2022-07-20 17:13:49 +02:00
..
mfi.c Suppress unused variable warning in mfi.c 2022-07-20 17:13:49 +02:00
mfi_cam.c mfi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:31 -07:00
mfi_debug.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mfi_disk.c kerneldump: remove physical argument from d_dumper 2022-05-13 10:42:48 -03:00
mfi_ioctl.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
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: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:31 -07:00
mfi_syspd.c kerneldump: remove physical argument from d_dumper 2022-05-13 10:42:48 -03:00
mfi_tbolt.c Fix "set but not used" warnings in mfi. The one in mfi.c:mfi_data_cb() 2021-11-25 02:41:18 +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