Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/tc Shut 'gcc -Wuninitialized' up.
details: https://anonhg.NetBSD.org/src/rev/231a7e6e3097
branches: trunk
changeset: 472206:231a7e6e3097
user: simonb <simonb%NetBSD.org@localhost>
date: Sun Apr 25 03:02:05 1999 +0000
description:
Shut 'gcc -Wuninitialized' up.
diffstat:
sys/dev/tc/asc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3f0b53218a06 -r 231a7e6e3097 sys/dev/tc/asc.c
--- a/sys/dev/tc/asc.c Sun Apr 25 02:56:26 1999 +0000
+++ b/sys/dev/tc/asc.c Sun Apr 25 03:02:05 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asc.c,v 1.52 1999/04/12 20:38:21 pk Exp $ */
+/* $NetBSD: asc.c,v 1.53 1999/04/25 03:02:05 simonb Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -821,7 +821,7 @@
{
register asc_softc_t asc = (asc_softc_t) sc;
register asc_regmap_t *regs = asc->regs;
- register State *state;
+ register State *state = NULL; /* XXX shut gcc up */
register script_t *scpt;
register int ss, ir, status;
register unsigned char cmd_was;
Home |
Main Index |
Thread Index |
Old Index