From 0410abef98aeb941c8a40d8b7db098c0aa0fd12e Mon Sep 17 00:00:00 2001 From: firewave Date: Mon, 1 Dec 2025 22:29:12 +0100 Subject: [PATCH] enabled cppcheck `performance` checks --- scripts/run_cppcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_cppcheck.sh b/scripts/run_cppcheck.sh index 2561d429..c1d8e1a6 100755 --- a/scripts/run_cppcheck.sh +++ b/scripts/run_cppcheck.sh @@ -84,7 +84,7 @@ fi # Supply default flags passed to cppcheck if necessary if [ -z "$CPPCHECK_FLAGS" ]; then CPPCHECK_FLAGS="--quiet --force --std=c11 --std=c++11 --inline-suppr \ - --enable=warning,missingInclude,style,portability --disable=performance --error-exitcode=1 \ + --enable=warning,missingInclude,style,portability,performance --error-exitcode=1 \ -i third_party \ -i vrplayer \ --suppress=constParameterCallback --suppress=variableScope --suppress=constParameterPointer --suppress=constVariablePointer --suppress=duplicateCondition --suppress=redundantAssignment --suppress=knownConditionTrueFalse --suppress=unreadVariable --suppress=constParameter --suppress=shadowFunction --suppress=unusedStructMember --suppress=duplicateExpression --suppress=unsignedLessThanZero --suppress=shadowVariable --suppress=unreachableCode --suppress=noExplicitConstructor --suppress=constParameterReference --suppress=functionStatic --suppress=shadowArgument --suppress=truncLongCastAssignment --suppress=cstyleCast --suppress=constVariableReference --suppress=badBitmaskCheck \