mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 08:21:05 -05:00
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
|
||
|---|---|---|
| .. | ||
| if_malo.c | ||
| if_malo.h | ||
| if_malo_pci.c | ||
| if_malohal.c | ||
| if_malohal.h | ||
| if_maloioctl.h | ||