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 sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
if_malo_pci.c malo: Remove unused devclass argument to DRIVER_MODULE. 2022-05-06 15:39:31 -07:00
if_malohal.c malo: Remove write only variables, but leave hardware reads in place 2022-04-05 21:42:05 -06:00
if_malohal.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
if_maloioctl.h Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00