d7e0d962f3
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_phy.h | ||
firewire.c | ||
firewire.h | ||
firewirereg.h | ||
fwcrom.c | ||
fwdev.c | ||
fwdma.c | ||
fwdma.h | ||
fwmem.c | ||
fwmem.h | ||
fwohci_pci.c | ||
fwohci.c | ||
fwohcireg.h | ||
fwohcivar.h | ||
fwphyreg.h | ||
iec13213.h | ||
iec68113.h | ||
if_fwe.c | ||
if_fwevar.h | ||
if_fwip.c | ||
if_fwipvar.h | ||
sbp_targ.c | ||
sbp.c | ||
sbp.h |