Skip to content
Snippets Groups Projects
Commit af36e0c7 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

#8763 Fix cppcheck to work with older versions

parent 184d6af0
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ DOXYGEN=0 ...@@ -13,7 +13,7 @@ DOXYGEN=0
function run_code_analysis { function run_code_analysis {
# Check if cppcheck is installed on the system # Check if cppcheck is installed on the system
if [ `which cppcheck &>/dev/null ; echo $?` -ne 1 ] ; then if [ `which cppcheck &>/dev/null ; echo $?` -ne 1 ] ; then
cppcheck . -ilibs/ --enable=all --xml 2> cppcheck-report.xml cppcheck -I src/ . --enable=all --xml 2> cppcheck-report.xml
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment