svn commit: r234768 - head/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at FreeBSD.org
Sat Apr 28 18:56:17 UTC 2012


Author: adrian
Date: Sat Apr 28 18:56:17 2012
New Revision: 234768
URL: http://svn.freebsd.org/changeset/base/234768

Log:
  Although not strictly needed, quieten a compiler warning by a user.

Modified:
  head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c	Sat Apr 28 18:46:48 2012	(r234767)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c	Sat Apr 28 18:56:17 2012	(r234768)
@@ -815,7 +815,7 @@ ar5416AniGetListenTime(struct ath_hal *a
 {
 	struct ath_hal_5212 *ahp = AH5212(ah);
 	struct ar5212AniState *aniState = NULL;
-	int32_t listenTime;
+	int32_t listenTime = 0;
 	int good;
 	HAL_SURVEY_SAMPLE hs;
 	HAL_CHANNEL_SURVEY *cs = AH_NULL;


More information about the svn-src-head mailing list