mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 09:21:31 -05:00
With clang 15, the following -Werror warning is produced:
sys/dev/iscsi//icl_soft.c:886:6: error: variable 'coalesced' set but not used [-Werror,-Wunused-but-set-variable]
int coalesced, error;
^
The 'coalesced' variable is eventually used only in an #if 0'd block,
obviously meant for debugging. Ensure that 'coalesced' is only declared
and used when DEBUG_COALESCED is defined, so the debugging can be easily
turned on later, if desired.
MFC after: 3 days
|
||
|---|---|---|
| .. | ||
| icl.c | ||
| icl.h | ||
| icl_conn_if.m | ||
| icl_soft.c | ||
| icl_soft_proxy.c | ||
| icl_wrappers.h | ||
| iscsi.c | ||
| iscsi.h | ||
| iscsi_ioctl.h | ||
| iscsi_proto.h | ||