testing: use inline cppcheck suppressions for libsynthesis
cppcheck 1.65 finds several false positives which are easier to handle with inline suppressions.
This commit is contained in:
parent
1f9d7b5979
commit
5aee365225
|
@ -1317,6 +1317,8 @@ if options.sourcedir:
|
|||
# http://sourceforge.net/apps/trac/cppcheck/ticket/5316:
|
||||
# Happens with cppcheck 1.61: Analysis failed. If the code is valid then please report this failure.
|
||||
"--suppress=cppcheckError:*/localengineds.cpp",
|
||||
# We use inline suppressions for some errors.
|
||||
'--inline-suppr',
|
||||
]))
|
||||
# Be more specific about which sources we check. We are not interested in
|
||||
# pcre and expat, for example.
|
||||
|
|
Loading…
Reference in New Issue