fewer warnings from cppcheck

This commit is contained in:
Enno Rehling 2018-12-02 11:07:30 +01:00
parent a949cfd345
commit bcdeaaa83a
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
IGNORE=$(find src -name "*.test.c" | awk '{ print "-i"$1 }')
#cppcheck $IGNORE -isrc/tests.c \
cppcheck --quiet --enable=all -U_MSC_VER -UCLEANUP_CODE -UTODO \
cppcheck --quiet --enable=warning,style,performance,portability -U_MSC_VER -UCLEANUP_CODE -UTODO \
-UERESSEA_BUILDNO -UERESSEA_VERSION -UTEST_THREADS \
-IcJSON -Isrc -Iclibs -Istorage src