2026-05-05 14:27 ftp://ftp.de.debian.org/debian/pool/main/u/unmo3/unmo3_0.6.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-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 40 40 elapsed-time: 0.8 0.7 head-timing-info: old-timing-info: head results: unmo3-0.6/16to8.c:10:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] unmo3-0.6/mo3_parse.c:248:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unmo3-0.6/mo3_parse.c:400:17: style: The if condition is the same as the previous if condition [duplicateCondition] unmo3-0.6/mo3_parse.c:397:17: note: First condition unmo3-0.6/mo3_parse.c:400:17: note: Second condition unmo3-0.6/mo3_parse.c:244:67: style:inconclusive: Function 'findVoiceNumber' argument 3 names different: declaration 'mo3' definition 'header'. [funcArgNamesDifferent] unmo3-0.6/mo3_parse.h:55:67: note: Function 'findVoiceNumber' argument 3 names different: declaration 'mo3' definition 'header'. unmo3-0.6/mo3_parse.c:244:67: note: Function 'findVoiceNumber' argument 3 names different: declaration 'mo3' definition 'header'. unmo3-0.6/mo3_parse.c:178:65: style: Parameter 'mo3Hdr' can be declared as pointer to const [constParameterPointer] unmo3-0.6/mo3_parse.c:184:8: style: Variable 'empty' can be declared as const array [constVariable] unmo3-0.6/mo3_parse.c:244:91: style: Parameter 'mo3Hdr' can be declared as pointer to const [constParameterPointer] unmo3-0.6/mo3_parse.c:259:78: style: Parameter 'mo3Hdr' can be declared as pointer to const [constParameterPointer] unmo3-0.6/mo3_unpack.c:122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unmo3-0.6/mo3_unpack.c:210:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unmo3-0.6/mo3_unpack.c:284:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unmo3-0.6/mo3_unpack.c:346:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unmo3-0.6/mo3_unpack.c:419:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] unmo3-0.6/mo3_unpack.c:122:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] unmo3-0.6/mo3_unpack.c:122:5: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] unmo3-0.6/mo3_unpack.c:210:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] unmo3-0.6/mo3_unpack.c:210:5: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] unmo3-0.6/mo3_unpack.c:284:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] unmo3-0.6/mo3_unpack.c:346:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] unmo3-0.6/mo3_unpack.c:59:18: style: Variable 'string' can be declared as pointer to const [constVariablePointer] unmo3-0.6/mo3_unpack.c:167:26: style: Variable 'psrc' can be declared as pointer to const [constVariablePointer] unmo3-0.6/mo3_unpack.c:167:33: style: Variable 'initDst' can be declared as pointer to const [constVariablePointer] unmo3-0.6/mo3_unpack.c:232:26: style: Variable 'psrc' can be declared as pointer to const [constVariablePointer] unmo3-0.6/mo3_unpack.c:232:33: style: Variable 'initDst' can be declared as pointer to const [constVariablePointer] unmo3-0.6/mo3_unpack.c:308:18: style: Variable 'initDst' can be declared as pointer to const [constVariablePointer] unmo3-0.6/mo3_unpack.c:65:9: style: Variable 'carry' is assigned a value that is never used. [unreadVariable] unmo3-0.6/mo3_unpack.c:174:8: style: Variable 'psrc' is assigned a value that is never used. [unreadVariable] unmo3-0.6/mo3_unpack.c:178:6: style: Variable 'cl' is assigned a value that is never used. [unreadVariable] unmo3-0.6/mo3_unpack.c:238:6: style: Variable 'cl' is assigned a value that is never used. [unreadVariable] unmo3-0.6/mo3_unpack.c:243:8: style: Variable 'psrc' is assigned a value that is never used. [unreadVariable] unmo3-0.6/mo3_unpack.c:313:6: style: Variable 'cl' is assigned a value that is never used. [unreadVariable] unmo3-0.6/mo3_unpack.c:371:6: style: Variable 'cl' is assigned a value that is never used. [unreadVariable] unmo3-0.6/mo3_unpack.c:419:6: style: Variable 'dst' is assigned a value that is never used. [unreadVariable] unmo3-0.6/unmo3.c:123:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unmo3-0.6/unmo3.c:160:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] unmo3-0.6/unmo3.c:170:5: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] unmo3-0.6/unmo3.c:151:5: error: Used file that is not opened. [useClosedFile] unmo3-0.6/unmo3.c:38:20: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] unmo3-0.6/unmo3.c:38:45: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] unmo3-0.6/unmo3.c:61:23: style: Variable 'mo3Name' can be declared as pointer to const [constVariablePointer] diff: DONE