Module Name:    src
Committed By:   martin
Date:           Sun Sep 15 16:10:45 UTC 2013

Modified Files:
        src/sys/dev/ic: wi.c

Log Message:
Mark a potentially unused variable


To generate a diff of this commit:
cvs rdiff -u -r1.235 -r1.236 src/sys/dev/ic/wi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/wi.c
diff -u src/sys/dev/ic/wi.c:1.235 src/sys/dev/ic/wi.c:1.236
--- src/sys/dev/ic/wi.c:1.235	Mon Aug 15 18:24:34 2011
+++ src/sys/dev/ic/wi.c	Sun Sep 15 16:10:45 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: wi.c,v 1.235 2011/08/15 18:24:34 dyoung Exp $	*/
+/*	$NetBSD: wi.c,v 1.236 2013/09/15 16:10:45 martin Exp $	*/
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -99,7 +99,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.235 2011/08/15 18:24:34 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.236 2013/09/15 16:10:45 martin Exp $");
 
 #define WI_HERMES_AUTOINC_WAR	/* Work around data write autoinc bug. */
 #define WI_HERMES_STATS_WAR	/* Work around stats counter bug. */
@@ -3112,7 +3112,7 @@ wi_newstate(struct ieee80211com *ic, enu
 	u_int16_t val;
 	struct wi_ssid ssid;
 	struct wi_macaddr bssid, old_bssid;
-	enum ieee80211_state ostate;
+	enum ieee80211_state ostate __unused;
 #ifdef WI_DEBUG
 	static const char *stname[] =
 	    { "INIT", "SCAN", "AUTH", "ASSOC", "RUN" };

Reply via email to