summaryrefslogtreecommitdiffstats
path: root/bin/ed/Makefile
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-03-04 16:08:01 +0000
committeruqs <uqs@FreeBSD.org>2010-03-04 16:08:01 +0000
commitf72efb7f74cf392f2be27cc94dcf76b263faa39b (patch)
tree7dac56ecb4b603c2516cad137401d67047b9d509 /bin/ed/Makefile
parent929d20f7632cb403555b48db3b9ce91ac8496a89 (diff)
downloadFreeBSD-src-f72efb7f74cf392f2be27cc94dcf76b263faa39b.zip
FreeBSD-src-f72efb7f74cf392f2be27cc94dcf76b263faa39b.tar.gz
ed(1): make WARNS=6 clean
Although argc and argv are never read after the longjmp is complete, gcc is not clever enough to see that and needlessly warns about it. So add volatile to silence the compiler. Approved by: ed (the co-mentor, not ed(1))
Diffstat (limited to 'bin/ed/Makefile')
-rw-r--r--bin/ed/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/ed/Makefile b/bin/ed/Makefile
index 32e2dfa..5a7e37d 100644
--- a/bin/ed/Makefile
+++ b/bin/ed/Makefile
@@ -4,7 +4,6 @@
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
-WARNS?= 2
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
OpenPOWER on IntegriCloud