diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-06 12:28:11 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-06 12:29:05 -0500 |
commit | a7280f885cdc98b06c505a8ea4e4db9bd712ca36 (patch) | |
tree | f9252d2d4c1c37307770680e0b085daa3cb8a80f /SConstruct | |
parent | c5e601c68640ed20cff95d7fc3734df63dfdd900 (diff) | |
download | gpsd-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-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"], |