summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-12-08 08:18:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-12-08 08:18:38 +0000
commit877b4d0492984f68943c63602c024a0e563aa42f (patch)
tree082dd9f9f12138fa0696765bd41ffa7dddcc8ebc /sys
parent3c31501090f94f0c29dd721b356cbdcd8290f036 (diff)
compile non-DIAGNOSTIC kernels
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_extent.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c
index ceac1073ebe..7d4d48b4da8 100644
--- a/sys/kern/subr_extent.c
+++ b/sys/kern/subr_extent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_extent.c,v 1.24 2002/12/08 04:22:33 art Exp $ */
+/* $OpenBSD: subr_extent.c,v 1.25 2002/12/08 08:18:37 deraadt Exp $ */
/* $NetBSD: subr_extent.c,v 1.7 1996/11/21 18:46:34 cgd Exp $ */
/*-
@@ -92,7 +92,9 @@ static LIST_HEAD(listhead, extent) ext_list;
static void
extent_register(struct extent *ex)
{
+#ifdef DIAGNOSTIC
struct extent *ep;
+#endif
static int initialized;
if (!initialized){