artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b69088
)
prevent warning about unused variable when NO_KMEMSTATS is in effect
author
kstailey
<kstailey@openbsd.org>
Sat, 1 Mar 1997 21:31:11 +0000
(21:31 +0000)
committer
kstailey
<kstailey@openbsd.org>
Sat, 1 Mar 1997 21:31:11 +0000
(21:31 +0000)
sys/kern/kern_malloc.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_malloc.c
b/sys/kern/kern_malloc.c
index
dcbbcc3
..
68bef88
100644
(file)
--- a/
sys/kern/kern_malloc.c
+++ b/
sys/kern/kern_malloc.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_malloc.c,v 1.
6 1996/06/20 10:53:06 deraadt Exp $
*/
+/* $OpenBSD: kern_malloc.c,v 1.
7 1997/03/01 21:31:11 kstailey Exp $
*/
/* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */
/*
@@
-375,7
+375,9
@@
free(addr, type)
void
kmeminit()
{
+#ifdef KMEMSTATS
register long indx;
+#endif
int npg;
#if ((MAXALLOCSAVE & (MAXALLOCSAVE - 1)) != 0)