Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mvme68k/dev Quell an uninitialised variable warning.



details:   https://anonhg.NetBSD.org/src/rev/d8820f24077d
branches:  trunk
changeset: 554759:d8820f24077d
user:      scw <scw%NetBSD.org@localhost>
date:      Sat Nov 01 20:04:57 2003 +0000

description:
Quell an uninitialised variable warning.

diffstat:

 sys/arch/mvme68k/dev/sbic.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7748c4a036a9 -r d8820f24077d sys/arch/mvme68k/dev/sbic.c
--- a/sys/arch/mvme68k/dev/sbic.c       Sat Nov 01 19:56:09 2003 +0000
+++ b/sys/arch/mvme68k/dev/sbic.c       Sat Nov 01 20:04:57 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbic.c,v 1.24 2003/08/07 16:28:40 agc Exp $    */
+/*     $NetBSD: sbic.c,v 1.25 2003/11/01 20:04:57 scw Exp $    */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.24 2003/08/07 16:28:40 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.25 2003/11/01 20:04:57 scw Exp $");
 
 #include "opt_ddb.h"
 
@@ -1737,7 +1737,7 @@
 {
     sbic_regmap_p       regs = dev->sc_sbicp;
     u_char              asr,
-                        csr;
+                        csr = SBIC_CSR_RESET;  /* XXX: Quell un-init warning */
     int                 i;
 
     /*



Home | Main Index | Thread Index | Old Index