diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-03-01 21:31:12 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-03-01 21:31:12 +0000 |
commit | 610eb1c7f44940e4216929754047de049ad3fe06 (patch) | |
tree | 0019eca2f3bddd867c20ef6522244a8504d33509 /sys | |
parent | 777e5bea13c330e8aa78bc0382d678f908c0ba7a (diff) |
prevent warning about unused variable when NO_KMEMSTATS is in effect
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_malloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index dcbbcc32d3c..68bef8801c5 100644 --- 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) |