diff options
author | phk <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
commit | 4d268889365c1d9414bbca2f6c63d87db74ec37b (patch) | |
tree | 6993a0a1b7a3687b97ad7a5a073bb465e89eb411 /sys/kern/kern_resource.c | |
parent | e4fdd132492fc7a4aaa448a72f13f3344f287ab1 (diff) | |
download | FreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.zip FreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.tar.gz |
Remove a bunch of variables which were unused both in GENERIC and LINT.
Found by: -Wunused
Diffstat (limited to 'sys/kern/kern_resource.c')
-rw-r--r-- | sys/kern/kern_resource.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index d97b0c9..102de12 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_resource.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_resource.c,v 1.26 1997/08/26 00:20:11 bde Exp $ + * $Id: kern_resource.c,v 1.27 1997/11/06 19:29:13 phk Exp $ */ #include "opt_rlimit.h" @@ -75,7 +75,7 @@ getpriority(curp, uap) struct proc *curp; register struct getpriority_args *uap; { - register struct proc *p; + register struct proc *p = 0; register int low = PRIO_MAX + 1; switch (uap->which) { |