2026-09-06 08:38 ftp://ftp.de.debian.org/debian/pool/main/x/xbrzscale/xbrzscale_1.8.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.12.90+deb13.1-amd64-x86_64-with-glibc2.41 python: 3.12.13 client-version: 1.4.0 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.21.0 head-info: 4e62f0c (2026-09-03 12:23:31 +0200) count: 25 25 elapsed-time: 3.3 3.7 head-timing-info: old-timing-info: head results: atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:51:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:80:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BYTEORDER [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:201:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:41:16: style: C-style pointer casting [cstyleCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:68:16: style: C-style pointer casting [cstyleCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:48:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:57:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:76:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:92:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:164:9: style: The scope of the variable 'r' can be reduced. [variableScope] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:164:12: style: The scope of the variable 'g' can be reduced. [variableScope] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:164:15: style: The scope of the variable 'b' can be reduced. [variableScope] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:164:18: style: The scope of the variable 'a' can be reduced. [variableScope] atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:162:46: style:inconclusive: Function 'uint32toSurface' argument 1 names different: declaration 'dest' definition 'ui32src'. [funcArgNamesDifferent] atheros-xbrzscale-a2d8dce/libxbrzscale.h:32:41: note: Function 'uint32toSurface' argument 1 names different: declaration 'dest' definition 'ui32src'. atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:162:46: note: Function 'uint32toSurface' argument 1 names different: declaration 'dest' definition 'ui32src'. atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:182:60: style: Argument 'scale' shadows outer function [shadowFunction] atheros-xbrzscale-a2d8dce/libxbrzscale.h:29:23: note: Shadowed function atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:182:60: note: Shadow argument atheros-xbrzscale-a2d8dce/libxbrzscale.cpp:162:46: style: Parameter 'ui32src' can be declared as pointer to const [constParameterPointer] atheros-xbrzscale-a2d8dce/xbrz/xbrz_tools.h:51:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz_tools.h:76:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz_tools.h:113:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz_tools.h:168:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:32:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:45:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M [valueFlowBailoutIncompleteVar] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:108:25: style: struct member 'MatrixRotation::I_old' is never used. [unusedStructMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:109:25: style: struct member 'MatrixRotation::J_old' is never used. [unusedStructMember] atheros-xbrzscale-a2d8dce/xbrzscale.cpp:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diff: DONE