2025-05-08 11:25 ftp://ftp.de.debian.org/debian/pool/main/t/tkmpeg/tkmpeg_1.0.10.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-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: ebc80c0 (2025-05-07 18:59:31 +0200) count: 18 18 elapsed-time: 0.7 0.7 head-timing-info: old-timing-info: head results: tkmpeg-1.0.10/tkmpeg.C:24:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_PATCH_LEVEL [valueFlowBailoutIncompleteVar] tkmpeg-1.0.10/tkmpeg.C:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tkmpeg-1.0.10/tkmpeg.C:78:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tkmpeg-1.0.10/tkmpeg.C:132:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tkmpeg-1.0.10/tkmpeg.C:189:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tkmpeg-1.0.10/tkmpeg.C:64:9: warning: Member variable 'TkMPEG::ms' is not initialized in the constructor. [uninitMemberVar] tkmpeg-1.0.10/tkmpeg.C:64:9: warning: Member variable 'TkMPEG::fps' is not initialized in the constructor. [uninitMemberVar] tkmpeg-1.0.10/tkmpeg.C:64:9: warning: Member variable 'TkMPEG::gop' is not initialized in the constructor. [uninitMemberVar] tkmpeg-1.0.10/tkmpeg.h:23:3: style: Class 'TkMPEG' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] tkmpeg-1.0.10/tkmpeg.C:155:18: style: Variable 'src' can be declared as pointer to const [constVariablePointer] tkmpeg-1.0.10/ezmpeg.c:723:13: style: Condition 'level>=1' is always true [knownConditionTrueFalse] tkmpeg-1.0.10/ezmpeg.c:722:12: note: Assuming that condition 'level>0' is not redundant tkmpeg-1.0.10/ezmpeg.c:723:13: note: Condition 'level>=1' is always true tkmpeg-1.0.10/ezmpeg.c:899:19: style: Condition 'dc_diff>=2' is always true [knownConditionTrueFalse] tkmpeg-1.0.10/ezmpeg.c:895:14: note: Assuming that condition 'dc_diff==1' is not redundant tkmpeg-1.0.10/ezmpeg.c:899:19: note: Condition 'dc_diff>=2' is always true tkmpeg-1.0.10/ezmpeg.c:555:47: style: Parameter 'ms' can be declared as pointer to const [constParameterPointer] tkmpeg-1.0.10/ezmpeg.c:555:66: style: Parameter 'picture' can be declared as pointer to const [constParameterPointer] tkmpeg-1.0.10/ezmpeg.c:630:52: style: Parameter 'ms' can be declared as pointer to const [constParameterPointer] tkmpeg-1.0.10/ezmpeg.c:683:28: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] tkmpeg-1.0.10/ezmpeg.c:985:77: style: Parameter 'inbild' can be declared as pointer to const [constParameterPointer] tkmpeg-1.0.10/ezmpeg.c:480:8: style: Variable 'level' is assigned a value that is never used. [unreadVariable] diff: DONE