aboutsummaryrefslogtreecommitdiff
path: root/scripts/cppcheck.sh
diff options
context:
space:
mode:
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}