From 7e50916a6e01ebfbdadc2a6fa40a06a2a6b91cd0 Mon Sep 17 00:00:00 2001 From: dsl Date: Fri, 7 Nov 2003 18:56:39 +0000 Subject: [PATCH] Initialise spdreg, gcc doesn't stand a chance of tracking its use. --- sys/arch/hpcmips/vr/bcu_vrip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/hpcmips/vr/bcu_vrip.c b/sys/arch/hpcmips/vr/bcu_vrip.c index 9aa43c3eba36..0ef95363cbf5 100644 --- a/sys/arch/hpcmips/vr/bcu_vrip.c +++ b/sys/arch/hpcmips/vr/bcu_vrip.c @@ -1,4 +1,4 @@ -/* $NetBSD: bcu_vrip.c,v 1.21 2003/10/23 19:55:14 he Exp $ */ +/* $NetBSD: bcu_vrip.c,v 1.22 2003/11/07 18:56:39 dsl Exp $ */ /*- * Copyright (c) 1999-2001 SATO Kazumi. All rights reserved. @@ -35,7 +35,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bcu_vrip.c,v 1.21 2003/10/23 19:55:14 he Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bcu_vrip.c,v 1.22 2003/11/07 18:56:39 dsl Exp $"); #include #include @@ -148,7 +148,7 @@ vrbcu_dump_regs() struct vrbcu_softc *sc = the_bcu_sc; int cpuclock = 0, tclock = 0, vtclock = 0, cpuid; #if !defined(ONLY_VR4102) - int spdreg; + int spdreg = 0; /* gcc doesn't stand a chance of tracking this! */ #endif #ifdef VRBCUDEBUG int reg;