From f50fecdeaf304999b27bb0994a1a0fa2beb9e13a Mon Sep 17 00:00:00 2001 From: thorpej Date: Wed, 18 Nov 1998 18:40:54 +0000 Subject: [PATCH] Oops, fix uninitialzed variable in last. --- sys/kern/subr_autoconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c index 890ca9409b67..39543e3e96fa 100644 --- a/sys/kern/subr_autoconf.c +++ b/sys/kern/subr_autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr_autoconf.c,v 1.35 1998/11/18 18:40:08 thorpej Exp $ */ +/* $NetBSD: subr_autoconf.c,v 1.36 1998/11/18 18:40:54 thorpej Exp $ */ /* * Copyright (c) 1992, 1993 @@ -387,7 +387,7 @@ config_detach(dev, flags) #ifdef DIAGNOSTIC struct device *d; #endif - int rv, i; + int rv = 0, i; cf = dev->dv_cfdata; #ifdef DIAGNOSTIC