summaryrefslogtreecommitdiff
path: root/sys/kern/subr_extent.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_extent.c')
-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){