summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ubsa.c
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2003-05-19 00:29:35 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2003-05-19 00:29:35 +0000
commit98f3287c148c3aff4cf669aeb44bf5a301594740 (patch)
tree3cfac1bdf5cf291c7068ecd144707a88b28ce100 /sys/dev/usb/ubsa.c
parentaaad2e7411eddd5f8f8eb51182ceaf92ef3bceea (diff)
initialize variable to match NetBSD
Diffstat (limited to 'sys/dev/usb/ubsa.c')
-rw-r--r--sys/dev/usb/ubsa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ubsa.c b/sys/dev/usb/ubsa.c
index 7946f99cb3f..3195320eb65 100644
--- a/sys/dev/usb/ubsa.c
+++ b/sys/dev/usb/ubsa.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: ubsa.c,v 1.2 2003/05/07 04:33:33 deraadt Exp $ */
-/* $NetBSD: ubsa.c,v 1.3 2002/10/27 20:16:41 augustss Exp $ */
+/* $OpenBSD: ubsa.c,v 1.3 2003/05/19 00:29:34 nate Exp $ */
+/* $NetBSD: ubsa.c,v 1.5 2002/11/25 00:51:33 fvdl Exp $ */
/*-
* Copyright (c) 2002, Alexander Kabaev <kan.FreeBSD.org>.
* All rights reserved.
@@ -388,7 +388,7 @@ error:
USB_DETACH(ubsa)
{
USB_DETACH_START(ubsa, sc);
- int rv;
+ int rv = 0;
DPRINTF(("ubsa_detach: sc = %p\n", sc));