aboutsummaryrefslogtreecommitdiff
path: root/scripts/cppcheck.sh
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-02-07 21:10:42 +0100
committerGitHub <noreply@github.com>2020-02-07 21:10:42 +0100
commitb6f442db6c6b8a05fb9d824729cb4593e519edf8 (patch)
treebd68798bc86ea1b192c5f25b6576f43a78458ac1 /scripts/cppcheck.sh
parentab68913e5b407861ae7d5aaeb876a64711805cb2 (diff)
parentc8f8a5a6c522fcd18b2ca42d4345bc9be115abd3 (diff)
downloadPROJ-b6f442db6c6b8a05fb9d824729cb4593e519edf8.tar.gz
PROJ-b6f442db6c6b8a05fb9d824729cb4593e519edf8.zip
Merge pull request #1918 from rouault/update_travis_csa
Travis: update CLang Static Analyzer to CLang 9
Diffstat (limited to 'scripts/cppcheck.sh')
-rwxr-xr-xscripts/cppcheck.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/cppcheck.sh b/scripts/cppcheck.sh
index f42d5f6d..1cfd61b5 100755
--- a/scripts/cppcheck.sh
+++ b/scripts/cppcheck.sh
@@ -43,6 +43,10 @@ grep -v "unmatchedSuppression" ${LOG_FILE} \
| grep -v "passedByValue,Function parameter 'xyz' should be passed by const reference" \
| grep -v "passedByValue,Function parameter 'in' should be passed by const reference" \
| grep -v "knownConditionTrueFalse,Condition '!allowEmptyIntersection' is always false" \
+ | grep -v -e "unitconvert.*unreadVariable,Variable 'point.*' is assigned a value that is never used" \
+ | grep -v -e "helmert.*unreadVariable,Variable 'point.*' is assigned a value that is never used" \
+ | grep -v -e "molodensky.*unreadVariable,Variable 'point.*' is assigned a value that is never used" \
+ | grep -v -e "vgridshift.*unreadVariable,Variable 'point.*' is assigned a value that is never used" \
> ${LOG_FILE}.tmp
mv ${LOG_FILE}.tmp ${LOG_FILE}