Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit add -Wunused-parameter
details: https://anonhg.NetBSD.org/src/rev/8fcb0b9609cf
branches: trunk
changeset: 767758:8fcb0b9609cf
user: christos <christos%NetBSD.org@localhost>
date: Fri Jul 29 20:56:58 2011 +0000
description:
add -Wunused-parameter
Is that the right way? Perhaps WARNS=5?
diffstat:
lib/libedit/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 9a46cdda5184 -r 8fcb0b9609cf lib/libedit/Makefile
--- a/lib/libedit/Makefile Fri Jul 29 20:48:33 2011 +0000
+++ b/lib/libedit/Makefile Fri Jul 29 20:56:58 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2011/07/28 01:56:26 christos Exp $
+# $NetBSD: Makefile,v 1.45 2011/07/29 20:56:58 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93
USE_SHLIBDIR= yes
@@ -8,6 +8,7 @@
LIB= edit
LIBDPLIBS+= terminfo ${.CURDIR}/../libterminfo
+COPTS+=-Wunused-parameter
OSRCS= chared.c common.c el.c emacs.c fcns.c filecomplete.c help.c \
hist.c keymacro.c map.c chartype.c \
Home |
Main Index |
Thread Index |
Old Index