enabled and fixed unassignedVariable Cppcheck warnings

This commit is contained in:
firewave
2026-02-18 00:01:22 +01:00
parent 077dbbcba9
commit 2fb807391a
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ if [ -z "$CPPCHECK_FLAGS" ]; then
--enable=warning,missingInclude,style --disable=portability --disable=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=constVariable --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=unassignedVariable --suppress=badBitmaskCheck \
--suppress=constParameterCallback --suppress=variableScope --suppress=constParameterPointer --suppress=constVariablePointer --suppress=duplicateCondition --suppress=redundantAssignment --suppress=knownConditionTrueFalse --suppress=unreadVariable --suppress=constParameter --suppress=constVariable --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 \
--suppress=missingIncludeSystem \
--suppress=uninitMemberVar:ulalaca/ulalaca.cpp \
--suppress=dangerousTypeCast:ulalaca/XrdpStream.template.cpp \