summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-04-27 23:44:05 +0000
committerimp <imp@FreeBSD.org>2003-04-27 23:44:05 +0000
commiteeafcd3fcea16963e9b956e6eb067713c12b80d2 (patch)
tree0ef1398d2305aba3df9a095499b2d0ea0497dc89 /sys
parent6a34ae85e96f461802aa265b42a3a69877f86a2e (diff)
downloadFreeBSD-src-eeafcd3fcea16963e9b956e6eb067713c12b80d2.zip
FreeBSD-src-eeafcd3fcea16963e9b956e6eb067713c12b80d2.tar.gz
Initialize error.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wi/if_wi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index bebcd92..62e8bbc 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -941,7 +941,7 @@ wi_reset(struct wi_softc *sc)
struct ifnet *ifp = &ic->ic_if;
#define WI_INIT_TRIES 3
int i;
- int error;
+ int error = 0;
int tries;
/* Symbol firmware cannot be initialized more than once */
OpenPOWER on IntegriCloud