Searched hist:1573 (Results 1 - 1 of 1) sorted by relevance

/freebsd-current/sys/dev/malo/
H A Dif_malo.cdiff 21863401 Tue Jul 19 13:17:03 MDT 2022 Dimitry Andric <dim@FreeBSD.org> 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

Completed in 107 milliseconds