diff --git a/scripts/cppcheck.sh b/scripts/cppcheck.sh index 42f5183..7bb7b24 100755 --- a/scripts/cppcheck.sh +++ b/scripts/cppcheck.sh @@ -14,7 +14,7 @@ check_dir=$SRCDIR/../src main() { FAIL=0; - { ERROR="$( { cppcheck $check_dir --suppress=missingIncludeSystem --suppress=unusedFunctionf --enable=all -i $exclude_dir; } 2>&1 1>&3 3>&- )"; } 3>&1; + { ERROR="$( { cppcheck $check_dir --suppress=missingIncludeSystem --suppress=unusedFunction --enable=all -i $exclude_dir; } 2>&1 1>&3 3>&- )"; } 3>&1; if [ ! -z "$ERROR" ]; then echo "----------------------------------"