3dbe05f61b
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 |
||
---|---|---|
.. | ||
mfi_cam.c | ||
mfi_debug.c | ||
mfi_disk.c | ||
mfi_ioctl.h | ||
mfi_linux.c | ||
mfi_pci.c | ||
mfi_syspd.c | ||
mfi_tbolt.c | ||
mfi.c | ||
mfireg.h | ||
mfivar.h |