]> thyrsus.com Git - ascii.git/commitdiff
Switch from splint to cppcheck for auditing. Code is clean.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 21 Nov 2013 01:09:07 +0000 (20:09 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 21 Nov 2013 01:09:07 +0000 (20:09 -0500)
Makefile

index 094c5816ec435e4507f7c63b0c165f28bb1b64b1..22c06a13e305fd5bcc4d99d9b4832ad4de6158fe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,10 +26,9 @@ ascii.html: ascii.xml
 clean:
        rm -f ascii ascii.o splashscreen.h nametable.h *.rpm *.tar.gz MANIFEST *.1 *.html SHIPPER.*
 
-SPLINTOPTS = +charintliteral -initallelements +posixlib -mustfreefresh \
-       -predboolint
-splint: nametable.h splashscreen.h
-       splint -I. -DREVISION=$(VERS) $(SPLINTOPTS) ascii.c
+CPPCHECKOPTS =
+cppcheck: nametable.h splashscreen.h
+       cppcheck -DREVISION=$(VERS) $(CPPCHECKOPTS) ascii.c
 
 install: ascii ascii.1
        cp ascii $(DESTDIR)$(PREFIX)/bin/ascii