diff options
author | uqs <uqs@FreeBSD.org> | 2010-12-20 21:12:18 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2010-12-20 21:12:18 +0000 |
commit | 04f9658f5ccf72df9c57e4e218f11574121fc70f (patch) | |
tree | 975989bb4c9689c6b5a884e4e58d27867689a085 /usr.sbin/rpc.lockd/Makefile | |
parent | d3eae6a7f5fa0818c6fef993492e3fc27e95a7bb (diff) | |
download | FreeBSD-src-04f9658f5ccf72df9c57e4e218f11574121fc70f.zip FreeBSD-src-04f9658f5ccf72df9c57e4e218f11574121fc70f.tar.gz |
rpc.lockd(8) WARNS cleanup
- Provide function prototype for nlm_syscall
- Don't assign a variable from the stack to a global var[1]
- Remove unused vars
Found by: clang static analyser [1]
Reviewed by: dfr
Diffstat (limited to 'usr.sbin/rpc.lockd/Makefile')
-rw-r--r-- | usr.sbin/rpc.lockd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpc.lockd/Makefile b/usr.sbin/rpc.lockd/Makefile index c81da82..e2185c8 100644 --- a/usr.sbin/rpc.lockd/Makefile +++ b/usr.sbin/rpc.lockd/Makefile @@ -7,7 +7,7 @@ MLINKS= rpc.lockd.8 lockd.8 SRCS= kern.c nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c CFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc -WARNS?= 0 +WARNS?= 3 DPADD= ${LIBRPCSVC} ${LIBUTIL} LDADD= -lrpcsvc -lutil |