summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2011-04-16 02:44:46 +0000
committerkrw <krw@openbsd.org>2011-04-16 02:44:46 +0000
commit33c4ee02fab3ddd05c15498ade1bc9338719e760 (patch)
treef848d7096526659c25e5b4d8ec329c82a3f4612d
parentanother variable left after a commit (diff)
downloadwireguard-openbsd-33c4ee02fab3ddd05c15498ade1bc9338719e760.tar.xz
wireguard-openbsd-33c4ee02fab3ddd05c15498ade1bc9338719e760.zip
Initialize variables before use.
-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);