2026-03-13 04:27 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.8.0-100-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: 922bb96 (2026-03-12 08:26:20 +0100) count: 34 34 elapsed-time: 5.7 5.6 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: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:730:17: warning: The struct 'Scaler2x < ColorGradientRGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientRGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1143:17: note: Parent function 'ColorGradientRGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:730:17: note: Derived function 'Scaler2x < ColorGradientRGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:730:17: warning: The struct 'Scaler2x < ColorGradientARGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientARGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1152:17: note: Parent function 'ColorGradientARGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:730:17: note: Derived function 'Scaler2x < ColorGradientARGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:776:17: warning: The struct 'Scaler3x < ColorGradientRGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientRGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1143:17: note: Parent function 'ColorGradientRGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:776:17: note: Derived function 'Scaler3x < ColorGradientRGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:776:17: warning: The struct 'Scaler3x < ColorGradientARGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientARGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1152:17: note: Parent function 'ColorGradientARGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:776:17: note: Derived function 'Scaler3x < ColorGradientARGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:834:17: warning: The struct 'Scaler4x < ColorGradientRGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientRGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1143:17: note: Parent function 'ColorGradientRGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:834:17: note: Derived function 'Scaler4x < ColorGradientRGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:834:17: warning: The struct 'Scaler4x < ColorGradientARGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientARGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1152:17: note: Parent function 'ColorGradientARGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:834:17: note: Derived function 'Scaler4x < ColorGradientARGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:903:17: warning: The struct 'Scaler5x < ColorGradientRGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientRGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1143:17: note: Parent function 'ColorGradientRGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:903:17: note: Derived function 'Scaler5x < ColorGradientRGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:903:17: warning: The struct 'Scaler5x < ColorGradientARGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientARGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1152:17: note: Parent function 'ColorGradientARGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:903:17: note: Derived function 'Scaler5x < ColorGradientARGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:991:17: warning: The struct 'Scaler6x < ColorGradientRGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientRGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1143:17: note: Parent function 'ColorGradientRGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:991:17: note: Derived function 'Scaler6x < ColorGradientRGB >::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:991:17: warning: The struct 'Scaler6x < ColorGradientARGB >' defines member function with name 'alphaGrad' also defined in its parent struct 'ColorGradientARGB'. [duplInheritedMember] atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:1152:17: note: Parent function 'ColorGradientARGB::alphaGrad' atheros-xbrzscale-a2d8dce/xbrz/xbrz.cpp:991:17: note: Derived function 'Scaler6x < ColorGradientARGB >::alphaGrad' 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