summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2009-02-09 19:14:32 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2009-02-09 19:14:32 +0000
commit93d92d86846e1068a5af2b20f7767d1ccc238b73 (patch)
treec7b4f83e0cebd82c44ab565392cf24220f4634fc /sys/dev/pcmcia
parenta3cc1e336f9a199888333396b18d36c19a292a1d (diff)
fix uninitialized argument.
Found by LLVM/Clang Static Analyzer. ok krw@ tedu@
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/if_xe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_xe.c b/sys/dev/pcmcia/if_xe.c
index a8924ac8172..acba6c14876 100644
--- a/sys/dev/pcmcia/if_xe.c
+++ b/sys/dev/pcmcia/if_xe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xe.c,v 1.36 2008/10/03 01:31:24 brad Exp $ */
+/* $OpenBSD: if_xe.c,v 1.37 2009/02/09 19:14:31 chl Exp $ */
/*
* Copyright (c) 1999 Niklas Hallqvist, Brandon Creighton, Job de Haas
@@ -222,7 +222,7 @@ xe_pcmcia_attach(parent, self, aux)
struct xe_softc *sc = &psc->sc_xe;
struct pcmcia_attach_args *pa = aux;
struct pcmcia_function *pf = pa->pf;
- struct pcmcia_config_entry *cfe;
+ struct pcmcia_config_entry *cfe = NULL;
struct ifnet *ifp;
u_int8_t myla[ETHER_ADDR_LEN], *enaddr = NULL;
int state = 0;