File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function join_array {
66
66
ENABLED_CHECKS_REGEXP=$( join_array " |" " ${ENABLED_CHECKS[@]} " )
67
67
IGNORED_WARNINGS_REGEXP=$( join_array " |" " ${IGNORED_WARNINGS[@]} " )
68
68
WARNINGS=$( git ls-files -- " *.cpp" " *.h" " :(exclude)src/leveldb/" " :(exclude)src/crc32c/" " :(exclude)src/secp256k1/" " :(exclude)src/univalue/" | \
69
- xargs cppcheck --enable=all -j " $( getconf _NPROCESSORS_ONLN) " --language=c++ --std=c++11 --template=gcc -D__cplusplus -DCLIENT_VERSION_BUILD -DCLIENT_VERSION_IS_RELEASE -DCLIENT_VERSION_MAJOR -DCLIENT_VERSION_MINOR -DCLIENT_VERSION_REVISION -DCOPYRIGHT_YEAR -DDEBUG -DHAVE_WORKING_BOOST_SLEEP_FOR - I src/ -q 2>&1 | sort -u | \
69
+ xargs cppcheck --enable=all -j " $( getconf _NPROCESSORS_ONLN) " --language=c++ --std=c++11 --template=gcc -D__cplusplus -DCLIENT_VERSION_BUILD -DCLIENT_VERSION_IS_RELEASE -DCLIENT_VERSION_MAJOR -DCLIENT_VERSION_MINOR -DCLIENT_VERSION_REVISION -DCOPYRIGHT_YEAR -DDEBUG -I src/ -q 2>&1 | sort -u | \
70
70
grep -E " ${ENABLED_CHECKS_REGEXP} " | \
71
71
grep -vE " ${IGNORED_WARNINGS_REGEXP} " )
72
72
if [[ ${WARNINGS} != " " ]]; then
You can’t perform that action at this time.
0 commit comments