forked from github/server
fewer warnings from cppcheck
This commit is contained in:
parent
0a5cf34420
commit
cb7d2e9fcb
|
@ -2,7 +2,7 @@
|
||||||
IGNORE=$(find src -name "*.test.c" | awk '{ print "-i"$1 }')
|
IGNORE=$(find src -name "*.test.c" | awk '{ print "-i"$1 }')
|
||||||
|
|
||||||
#cppcheck $IGNORE -isrc/tests.c \
|
#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 \
|
-UERESSEA_BUILDNO -UERESSEA_VERSION -UTEST_THREADS \
|
||||||
-IcJSON -Isrc -Iclibs -Istorage src
|
-IcJSON -Isrc -Iclibs -Istorage src
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue