diff options
| author | mhitch <mhitch@NetBSD.org> | 2006-08-07 01:31:36 +0000 |
|---|---|---|
| committer | mhitch <mhitch@NetBSD.org> | 2006-08-07 01:31:36 +0000 |
| commit | 1d4e083680781c77cd5994bf87f89e6357d43191 (patch) | |
| tree | 7b41e3fb2dfa1aedf2b910553bed8b8430f4efe3 /sys/dev | |
| parent | 8d3619d1157c14c9a678c72101ebcc7f4c52ebf2 (diff) | |
gcc4 uninitialized variable. gcc3 apparently didn't catch this one.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/mvme/clmpcc_pcctwo.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/mvme/clmpcc_pcctwo.c b/sys/dev/mvme/clmpcc_pcctwo.c index 800243b3a1e..19a5b608c82 100644 --- a/sys/dev/mvme/clmpcc_pcctwo.c +++ b/sys/dev/mvme/clmpcc_pcctwo.c @@ -1,4 +1,4 @@ -/* $NetBSD: clmpcc_pcctwo.c,v 1.11 2006/03/29 07:07:41 thorpej Exp $ */ +/* $NetBSD: clmpcc_pcctwo.c,v 1.12 2006/08/07 01:31:36 mhitch Exp $ */ /*- * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: clmpcc_pcctwo.c,v 1.11 2006/03/29 07:07:41 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: clmpcc_pcctwo.c,v 1.12 2006/08/07 01:31:36 mhitch Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -124,11 +124,10 @@ clmpcc_pcctwo_attach(parent, self, aux) void *aux; { struct clmpcc_softc *sc; - struct pcctwo_attach_args *pa; + struct pcctwo_attach_args *pa = aux; int level = pa->pa_ipl; sc = device_private(self); - pa = aux; level = pa->pa_ipl; sc->sc_iot = pa->pa_bust; bus_space_map(pa->pa_bust, pa->pa_offset, 0x100, 0, &sc->sc_ioh); |
