opnsense-src/sys/dev/malo
Dimitry Andric 2186340143 Suppress unused variable warning in if_malo.c
With clang 15, the following -Werror warning is produced:

    sys/dev/malo/if_malo.c:1573:8: error: variable 'ix' set but not used [-Werror,-Wunused-but-set-variable]
            u_int ix;
                  ^

Here, 'ix' is a variable that is only used when MALO_DEBUG is defined.
Mark the variable as potentially unused, to suppress the warning.

MFC after:	3 days
2022-07-20 17:13:48 +02:00
..
if_malo.c Suppress unused variable warning in if_malo.c 2022-07-20 17:13:48 +02:00
if_malo.h
if_malo_pci.c
if_malohal.c
if_malohal.h
if_maloioctl.h