summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-06 12:28:11 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-06 12:29:05 -0500
commita7280f885cdc98b06c505a8ea4e4db9bd712ca36 (patch)
treef9252d2d4c1c37307770680e0b085daa3cb8a80f /SConstruct
parentc5e601c68640ed20cff95d7fc3734df63dfdd900 (diff)
downloadgpsd-a7280f885cdc98b06c505a8ea4e4db9bd712ca36.tar.gz
Partial cppcheck and Coverity cleanup.
Coverity found a potential overrun bug. All regression tests pass. PPS is live.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 43f13e76..5908cdf0 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1386,7 +1386,7 @@ for (target,sources,description,params) in splint_table:
env.Alias('splint',Splint(target,sources,description,params))
Utility("cppcheck", ["gpsd.h", "packet_names.h"],
- "cppcheck --template gcc --enable=all --inline-suppr --suppress='*:driver_proto.c' --force $SRCDIR")
+ "cppcheck -D__COVERITY__ -U__UNUSED__ --template gcc --enable=all --inline-suppr --suppress='*:driver_proto.c' --force $SRCDIR")
# Experimental check with clang analyzer
Utility("scan-build", ["gpsd.h", "packet_names.h"],