1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00

Initialise an uninitialised variable.

GCC on -9 didn't pick this up; clang did.

Submitted by:	David Wolfskill
This commit is contained in:
Adrian Chadd 2012-08-21 16:44:25 +00:00
parent faf04960ff
commit 208be709c4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239504

View File

@ -427,7 +427,7 @@ ath_edma_tx_proc(void *arg, int npending)
struct ath_txq *txq;
struct ath_buf *bf;
struct ieee80211_node *ni;
int nacked;
int nacked = 0;
DPRINTF(sc, ATH_DEBUG_TX_PROC, "%s: called, npending=%d\n",
__func__, npending);