summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorflipk <flipk@cvs.openbsd.org>1997-11-10 16:09:56 +0000
committerflipk <flipk@cvs.openbsd.org>1997-11-10 16:09:56 +0000
commit069893385496d193031485329078d332766b8c25 (patch)
tree849df3e05428e0ba1d3b89c05d723a4d7115dd41 /sys/arch
parent68955ffefbc37bf4270d80e32f7ade396c6e2c29 (diff)
"unused variable 'bia'"
when DEBUG defined and NAPM=0 is now gone.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/bios.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c
index ad7f349541f..c14d38ce15d 100644
--- a/sys/arch/i386/i386/bios.c
+++ b/sys/arch/i386/i386/bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bios.c,v 1.19 1997/10/26 09:32:47 niklas Exp $ */
+/* $OpenBSD: bios.c,v 1.20 1997/11/10 16:09:55 flipk Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -115,8 +115,10 @@ biosattach(parent, self, aux)
void *aux;
{
struct bios_softc *sc = (void *) self;
-#if NAPM > 0 || defined(DEBUG)
+#if NAPM > 0
struct bios_attach_args *bia = aux;
+#endif
+#if NAPM > 0 || defined(DEBUG)
bios_apminfo_t *apm = NULL;
#endif
u_int8_t *va = ISA_HOLE_VADDR(0xffff0);