diff --git a/utils/cppcheck.sh b/utils/cppcheck.sh index e59c8b3b18..3c11a9b346 100755 --- a/utils/cppcheck.sh +++ b/utils/cppcheck.sh @@ -2,18 +2,17 @@ rm -f cppcheck.log cppcheck.tmp touch cppcheck.tmp -for platform in unix32 unix64; do - cppcheck -j4 \ - --std=c++11 \ - --enable=style \ - --force \ - --platform=$platform \ - --suppress="*:lib/JsonParser/json-parser.cpp" \ - --suppress="*:lib/V8/v8-json.cpp" \ - --suppress="*:arangod/Aql/grammar.cpp" \ - --suppress="*:arangod/Aql/tokens.cpp" \ - arangod/ arangosh/ lib/ 2>> cppcheck.tmp -done +cppcheck -j4 \ + --std=c++11 \ + --enable=style,warning \ + --force \ + --quiet \ + --platform=unix64 \ + --suppress="*:lib/JsonParser/json-parser.cpp" \ + --suppress="*:lib/V8/v8-json.cpp" \ + --suppress="*:arangod/Aql/grammar.cpp" \ + --suppress="*:arangod/Aql/tokens.cpp" \ + arangod/ arangosh/ lib/ 2>> cppcheck.tmp sort cppcheck.tmp | uniq > cppcheck.log rm cppcheck.tmp