Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Mark a potentially unused variable
details: https://anonhg.NetBSD.org/src/rev/c029d6facc89
branches: trunk
changeset: 790072:c029d6facc89
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 15 16:10:45 2013 +0000
description:
Mark a potentially unused variable
diffstat:
sys/dev/ic/wi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 041b146a668a -r c029d6facc89 sys/dev/ic/wi.c
--- a/sys/dev/ic/wi.c Sun Sep 15 16:08:28 2013 +0000
+++ b/sys/dev/ic/wi.c Sun Sep 15 16:10:45 2013 +0000
@@ -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 @@
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" };
Home |
Main Index |
Thread Index |
Old Index