mirror of
https://github.com/opnsense/src.git
synced 2026-02-16 17:19:56 -05:00
With clang 15, the following -Werror warning is produced:
sys/dev/firewire/fwohci.c:2762:23: error: variable 'pcnt' set but not used [-Werror,-Wunused-but-set-variable]
int len, plen, hlen, pcnt, offset;
^
The 'pcnt' variable is eventually used only in an #if 0'd block,
obviously meant for debugging. Ensure that 'pcnt' is only declared and
used when COUNT_PACKETS is defined, so the debugging can be easily
turned on later, if desired.
MFC after: 3 days
|
||
|---|---|---|
| .. | ||
| 00README | ||
| firewire.c | ||
| firewire.h | ||
| firewire_phy.h | ||
| firewirereg.h | ||
| fwcrom.c | ||
| fwdev.c | ||
| fwdma.c | ||
| fwdma.h | ||
| fwmem.c | ||
| fwmem.h | ||
| fwohci.c | ||
| fwohci_pci.c | ||
| fwohcireg.h | ||
| fwohcivar.h | ||
| fwphyreg.h | ||
| iec13213.h | ||
| iec68113.h | ||
| if_fwe.c | ||
| if_fwevar.h | ||
| if_fwip.c | ||
| if_fwipvar.h | ||
| sbp.c | ||
| sbp.h | ||
| sbp_targ.c | ||