summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2011-04-16 02:44:47 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2011-04-16 02:44:47 +0000
commit4756385e9b648975c08e5d54adb8d4ac7ce047f2 (patch)
tree2bffeae1c062ad45af278c0bbec3ad46bb0f3e39 /sys/dev/ic
parent23ae6d4a66301ea6c0c17ba4a4e4e5240e49c4c6 (diff)
Initialize variables before use.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/bha.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/bha.c b/sys/dev/ic/bha.c
index 3c38d2e49f2..4639c145312 100644
--- a/sys/dev/ic/bha.c
+++ b/sys/dev/ic/bha.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bha.c,v 1.27 2011/04/03 12:42:36 krw Exp $ */
+/* $OpenBSD: bha.c,v 1.28 2011/04/16 02:44:46 krw Exp $ */
/* $NetBSD: bha.c,v 1.27 1998/11/19 21:53:00 thorpej Exp $ */
#undef BHADEBUG
@@ -467,7 +467,7 @@ bha_ccb_free(xsc, xccb)
void *xsc, *xccb;
{
struct bha_softc *sc = xsc;
- struct bha_ccb *ccb;
+ struct bha_ccb *ccb = xccb;
bha_reset_ccb(sc, ccb);