From: tholo Date: Sat, 19 Apr 1997 21:51:29 +0000 (+0000) Subject: Fix a compile warning X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a4781b8d719bfff4b3212f6c6deba90c4e315be3;p=openbsd Fix a compile warning --- diff --git a/sys/arch/alpha/pci/pci_machdep.c b/sys/arch/alpha/pci/pci_machdep.c index f24271a68c3..e457fb3b7aa 100644 --- a/sys/arch/alpha/pci/pci_machdep.c +++ b/sys/arch/alpha/pci/pci_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.c,v 1.7 1997/01/24 19:57:52 niklas Exp $ */ +/* $OpenBSD: pci_machdep.c,v 1.8 1997/04/19 21:51:29 tholo Exp $ */ /* $NetBSD: pci_machdep.c,v 1.7 1996/11/19 04:57:32 cgd Exp $ */ /* @@ -63,7 +63,10 @@ pci_display_console(iot, memt, pc, bus, device, function) { pcitag_t tag; pcireg_t id, class; - int match, nmatch; + int match; +#if NVGA_PCI || NTGA + int nmatch; +#endif void (*fn) __P((bus_space_tag_t, bus_space_tag_t, pci_chipset_tag_t, int, int, int));