From 1d4e083680781c77cd5994bf87f89e6357d43191 Mon Sep 17 00:00:00 2001 From: mhitch Date: Mon, 7 Aug 2006 01:31:36 +0000 Subject: gcc4 uninitialized variable. gcc3 apparently didn't catch this one. --- sys/dev/mvme/clmpcc_pcctwo.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/dev') 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 -__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 #include @@ -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); -- cgit