From 44cf8a09e93fe48e3476e51550e9a7bd8eaf841a Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 26 Oct 2003 19:15:00 +0000 Subject: [PATCH] Fix uninitialized variable warning. --- sys/arch/sparc64/dev/sbus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/sparc64/dev/sbus.c b/sys/arch/sparc64/dev/sbus.c index c7b2f182f5f5..6ca71ce4fd79 100644 --- a/sys/arch/sparc64/dev/sbus.c +++ b/sys/arch/sparc64/dev/sbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: sbus.c,v 1.63 2003/10/11 20:53:14 petrov Exp $ */ +/* $NetBSD: sbus.c,v 1.64 2003/10/26 19:15:00 christos Exp $ */ /* * Copyright (c) 1999-2002 Eduardo Horvath @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sbus.c,v 1.63 2003/10/11 20:53:14 petrov Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sbus.c,v 1.64 2003/10/26 19:15:00 christos Exp $"); #include "opt_ddb.h" @@ -436,7 +436,7 @@ sbus_bus_addr(t, btype, offset) u_int btype; u_int offset; { - bus_addr_t baddr; + bus_addr_t baddr = 0; int slot = btype; struct sbus_softc *sc = t->cookie; int i;