Fix some uninitialized variables. From Krister Walfridsson <cato@df.lth.se>

This commit is contained in:
augustss 2000-03-15 22:40:30 +00:00
parent c2ee7198c1
commit 499e5cba01
3 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_cue.c,v 1.12 2000/03/06 21:02:03 thorpej Exp $ */
/* $NetBSD: if_cue.c,v 1.13 2000/03/15 22:40:30 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
@ -561,7 +561,6 @@ USB_ATTACH(cue)
if (ed == NULL) {
printf("%s: couldn't get ep %d\n",
USBDEVNAME(sc->cue_dev), i);
splx(s);
USB_ATTACH_ERROR_RETURN;
}
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_kue.c,v 1.15 2000/03/12 21:59:38 augustss Exp $ */
/* $NetBSD: if_kue.c,v 1.16 2000/03/15 22:40:30 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
@ -606,7 +606,6 @@ USB_ATTACH(kue)
if (ed == NULL) {
printf("%s: couldn't get ep %d\n",
USBDEVNAME(sc->kue_dev), i);
splx(s);
USB_ATTACH_ERROR_RETURN;
}
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN &&

View File

@ -1,4 +1,4 @@
/* $NetBSD: umodem.c,v 1.23 2000/02/29 21:37:01 augustss Exp $ */
/* $NetBSD: umodem.c,v 1.24 2000/03/15 22:40:30 augustss Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -380,7 +380,7 @@ umodem_ioctl(addr, portno, cmd, data, flag, p)
struct proc *p;
{
struct umodem_softc *sc = addr;
int error;
int error = 0;
if (sc->sc_dying)
return (EIO);