Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mvme68k/stand/netboot Fix a couple of uninitialised...
details: https://anonhg.NetBSD.org/src/rev/ff001367fd5a
branches: trunk
changeset: 517223:ff001367fd5a
user: scw <scw%NetBSD.org@localhost>
date: Thu Nov 08 21:41:42 2001 +0000
description:
Fix a couple of uninitialised variable warnings with New Toolchain.
diffstat:
sys/arch/mvme68k/stand/netboot/if_le.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 086ae2d25e56 -r ff001367fd5a sys/arch/mvme68k/stand/netboot/if_le.c
--- a/sys/arch/mvme68k/stand/netboot/if_le.c Thu Nov 08 21:40:25 2001 +0000
+++ b/sys/arch/mvme68k/stand/netboot/if_le.c Thu Nov 08 21:41:42 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_le.c,v 1.3 2001/07/07 09:06:44 scw Exp $ */
+/* $NetBSD: if_le.c,v 1.4 2001/11/08 21:41:42 scw Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -201,7 +201,7 @@
struct lereg1 *ler1 = le_softc.sc_r1;
struct lereg2 *ler2 = le_softc.sc_r2;
unsigned int a;
- int timo = 100000, stat, i;
+ int timo = 100000, stat = 0, i;
if (le_debug)
printf("le%d: le_reset called\n", nif->nif_unit);
@@ -346,7 +346,7 @@
volatile struct lereg1 *ler1 = le_softc.sc_r1;
volatile struct lereg2 *ler2 = le_softc.sc_r2;
volatile struct letmd *tmd;
- int timo = 100000, stat;
+ int timo = 100000, stat = 0;
unsigned int a;
ler1->ler1_rap = LE_CSR0;
Home |
Main Index |
Thread Index |
Old Index