summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-08-20 04:55:04 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-08-20 04:55:04 +0000
commitb6b6e8564dcfb1168ecef2afbf2aa6da105cfb99 (patch)
treeee8369daa7c91a43235dca86570941a51ac80372 /sys/arch
parente173150be06b304405efca86a1bdab9d2f71019e (diff)
uninitialized variable; art@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/hme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/hme.c b/sys/arch/sparc/dev/hme.c
index 0ba8bfa1129..751a817cb92 100644
--- a/sys/arch/sparc/dev/hme.c
+++ b/sys/arch/sparc/dev/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.19 1999/04/18 03:13:14 jason Exp $ */
+/* $OpenBSD: hme.c,v 1.20 1999/08/20 04:55:03 jason Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -1094,7 +1094,7 @@ hme_mii_read(self, phy, reg)
{
struct hme_softc *sc = (struct hme_softc *)self;
struct hme_tcvr *tcvr = sc->sc_tcvr;
- int tries = 16, i, ret;
+ int tries = 16, i, ret = 0;
/* Use the frame if possible */
if (sc->sc_flags & HME_FLAG_FENABLE) {