summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-11-11 10:24:08 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-11-11 10:24:08 +0000
commit5ae6cac114fa58ff71d1236843854a3cef0a8578 (patch)
tree3cbdf9893d1a14513fc97b37e2b571787fd3eb34 /sys/arch
parentd1811fe22cbae52679a5f1a8a012f897fcbc9c6a (diff)
unused variable under certain conditions
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/sparc/autoconf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c
index d645fdd3385..159dbe1f235 100644
--- a/sys/arch/sparc/sparc/autoconf.c
+++ b/sys/arch/sparc/sparc/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.22 1997/08/08 08:27:01 downsj Exp $ */
+/* $OpenBSD: autoconf.c,v 1.23 1997/11/11 10:24:07 niklas Exp $ */
/* $NetBSD: autoconf.c,v 1.73 1997/07/29 09:41:53 fair Exp $ */
/*
@@ -471,6 +471,8 @@ bootpath_build()
boothowto |= RB_KDB; /* XXX unused */
kgdb_debug_panic = 1;
kgdb_connect(1);
+#elif DDB
+ Debugger();
#else
printf("kernel not compiled with KGDB\n");
#endif
@@ -1059,8 +1061,8 @@ mainbus_attach(parent, dev, aux)
{
struct confargs oca;
register const char *const *ssp, *sp = NULL;
- struct confargs *ca = aux;
#if defined(SUN4C) || defined(SUN4M)
+ struct confargs *ca = aux;
register int node0, node;
const char *const *openboot_special;
#define L1A_HACK /* XXX hack to allow L1-A during autoconf */