2025-07-07 13:55 ftp://ftp.de.debian.org/debian/pool/main/c/cynthiune.app/cynthiune.app_1.0.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8833e3e (2025-07-07 13:50:36 +0200) count: 21 21 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: Cynthiune-1.0.0/Bundles/MP3/xing.c:81:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Cynthiune-1.0.0/Bundles/MP3/xing.c:81:12: style: Variable 'bitlen' is assigned a value that is never used. [unreadVariable] Cynthiune-1.0.0/Bundles/VorbisTags/vcedit.c:197:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ogg_sync_state [valueFlowBailoutIncompleteVar] Cynthiune-1.0.0/Bundles/VorbisTags/vcedit.c:443:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Cynthiune-1.0.0/Bundles/VorbisTags/vcedit.c:21:9: warning: If memory allocation fails, then there is a possible null pointer dereference: state [nullPointerOutOfMemory] Cynthiune-1.0.0/Bundles/VorbisTags/vcedit.c:20:30: note: Assuming allocation function fails Cynthiune-1.0.0/Bundles/VorbisTags/vcedit.c:20:30: note: Assignment 'state=malloc(sizeof(struct vcedit_state))', assigned value is 0 Cynthiune-1.0.0/Bundles/VorbisTags/vcedit.c:21:9: note: Null pointer dereference Cynthiune-1.0.0/Bundles/VorbisTags/vcedit.c:26:47: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:42:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:88:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Audio [valueFlowBailoutIncompleteVar] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:61:13: style: C-style pointer casting [cstyleCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:68:11: style: C-style pointer casting [cstyleCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:76:14: style: C-style pointer casting [cstyleCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:86:14: style: C-style pointer casting [cstyleCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:88:11: style: C-style pointer casting [cstyleCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:101:16: style: C-style pointer casting [cstyleCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:110:16: style: C-style pointer casting [cstyleCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:119:16: style: C-style pointer casting [cstyleCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:133:16: style: C-style pointer casting [cstyleCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:158:16: style: C-style pointer casting [cstyleCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:179:16: style: C-style pointer casting [cstyleCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:45:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:66:22: style:inconclusive: Function 'WMFileClose' argument 1 names different: declaration 'wmFile' definition 'file'. [funcArgNamesDifferent] Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.h:34:27: note: Function 'WMFileClose' argument 1 names different: declaration 'wmFile' definition 'file'. Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:66:22: note: Function 'WMFileClose' argument 1 names different: declaration 'wmFile' definition 'file'. diff: 2.17.0 Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:45:17: style: C-style pointer casting [cstyleCast] head Cynthiune-1.0.0/Bundles/WindowsMedia/CWMFile.cpp:45:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] DONE