2025-11-24 04:40 ftp://ftp.de.debian.org/debian/pool/main/s/suitename/suitename_0.4.130509+git20210223.ebb1325.orig.tar.xz 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 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 92 92 elapsed-time: 12.3 19.7 head-timing-info: old-timing-info: head results: suitename-0.4.130509+git20210223.ebb1325/suitename.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:119:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:53:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:435:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:428:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:545:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:499:12: error: Array 'temps[256]' accessed at index 256, which is out of bounds. [arrayIndexOutOfBounds] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:488:7: note: After for loop, j has value 255 suitename-0.4.130509+git20210223.ebb1325/suitenout.c:499:12: note: Array index out of bounds suitename-0.4.130509+git20210223.ebb1325/suitenout.c:216:26: style: Redundant condition: i==xbin. 'i!=xbin || (i==xbin && j!=xclst)' is equivalent to 'i!=xbin || j!=xclst' [redundantCondition] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:252:9: style: Local variable 'commentstr' shadows outer variable [shadowVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.h:22:16: note: Shadowed declaration suitename-0.4.130509+git20210223.ebb1325/suitenout.c:252:9: note: Shadow variable suitename-0.4.130509+git20210223.ebb1325/suitenout.c:405:9: style: Local variable 'LatEOF' shadows outer variable [shadowVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.h:31:14: note: Shadowed declaration suitename-0.4.130509+git20210223.ebb1325/suitenout.c:405:9: note: Shadow variable suitename-0.4.130509+git20210223.ebb1325/suitenout.c:484:9: style: Local variable 'temps' shadows outer variable [shadowVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.h:39:16: note: Shadowed declaration suitename-0.4.130509+git20210223.ebb1325/suitenout.c:484:9: note: Shadow variable suitename-0.4.130509+git20210223.ebb1325/suitenout.c:12:86: style: Parameter 'ptmaster' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:12:101: style: Parameter 'ptcolor' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:23:10: style: Variable 'sourptr' can be declared as pointer to const [constVariablePointer] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:400:24: style: Parameter 'ctrl' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:459:27: style: Parameter 'textstr' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:14:10: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:14:14: style: Variable 'n' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:16:9: style: Unused variable: resstr [unusedVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:172:14: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:179:20: style: Variable 'Ntriaged' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:179:11: style: Variable 'Ntriaged' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:321:13: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:321:20: style: Variable 'ncnt' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:348:21: style: Variable 'ncnt' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:392:21: style: Variable 'ncnt' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:405:22: style: Variable 'LOK' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:406:10: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:483:20: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:509:14: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:509:13: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:521:14: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenout.c:521:18: style: Variable 'k' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenscrt.c:127:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] suitename-0.4.130509+git20210223.ebb1325/suitenscrt.c:121:13: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] suitename-0.4.130509+git20210223.ebb1325/suitenscrt.c:125:13: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] suitename-0.4.130509+git20210223.ebb1325/suitenscrt.c:91:19: style: Variable 'length' is reassigned a value before the old one has been used. [redundantAssignment] suitename-0.4.130509+git20210223.ebb1325/suitenscrt.c:87:16: note: length is assigned suitename-0.4.130509+git20210223.ebb1325/suitenscrt.c:91:19: note: length is overwritten suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:14:11: style: The comparison 'ncnt == 1' is always true. [knownConditionTrueFalse] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:12:19: note: 'ncnt' is assigned value '1' here. suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:14:11: note: The comparison 'ncnt == 1' is always true. suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:52:16: style: Variable 'delpower' is reassigned a value before the old one has been used. [redundantAssignment] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:49:16: note: delpower is assigned suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:52:16: note: delpower is overwritten suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:10:36: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:10:46: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:23:57: style: Parameter 'warray' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:64:25: style: Parameter 'first' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:64:39: style: Parameter 'secnd' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:127:22: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:127:33: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:30:27: style: Variable 'n' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:31:14: style: Variable 'del' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:31:25: style: Variable 'delpower' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitenutil.c:30:26: style: Variable 'n' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:452:21: warning: Either the condition 'itext>254' is redundant or the array 'texts[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:450:23: note: Assuming that condition 'itext>254' is not redundant suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:452:21: note: Array index out of bounds suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:350:9: style: Local variable 'basechr' shadows outer variable [shadowVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.h:19:8: note: Shadowed declaration suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:350:9: note: Shadow variable suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:112:25: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:115:27: style: Variable 'theresidueptr' can be declared as pointer to const [constVariablePointer] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:488:28: style: Parameter 'ins' can be declared as const array [constParameter] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:16:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:16:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:64:15: style: Variable 'k' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:186:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:260:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:369:21: style: Variable 'basechr[0]' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninpt.c:426:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:623:15: style: Expression is always true because 'else if' condition is opposite to previous condition at line 612. [multiCondition] suitename-0.4.130509+git20210223.ebb1325/suitename.c:612:10: note: first condition suitename-0.4.130509+git20210223.ebb1325/suitename.c:623:15: note: else if condition is opposite to first condition suitename-0.4.130509+git20210223.ebb1325/suitename.c:290:7: style: Condition 'LOK' is always true [knownConditionTrueFalse] suitename-0.4.130509+git20210223.ebb1325/suitename.c:272:13: note: Assignment 'LOK=1', assigned value is 1 suitename-0.4.130509+git20210223.ebb1325/suitename.c:290:7: note: Condition 'LOK' is always true suitename-0.4.130509+git20210223.ebb1325/suitename.c:694:49: style: Redundant assignment of 'thej' to itself. [selfAssignment] suitename-0.4.130509+git20210223.ebb1325/suitename.c:36:19: style: Variable 'ibin' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:36:27: style: Variable 'jclst' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:42:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:42:13: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:42:17: style: Variable 'k' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:42:21: style: Variable 'm' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:269:13: style: Variable 'ibin' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:270:14: style: Variable 'jclst' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:275:19: style: Variable 'suiteness' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:480:17: style: Variable 'k' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:481:10: style: Variable 'dsq' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:481:19: style: Variable 'del' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:488:9: style: Variable 'LOK' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suitename.c:837:14: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:76:28: style: Parameter 'argc' can be declared as pointer to const [constParameterPointer] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:15:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:15:15: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:15:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:15:14: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:44:9: style: Variable 'k' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:44:13: style: Variable 'm' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:80:14: style: Variable 'j' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:80:18: style: Variable 'k' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:192:50: style: Variable 'numstr[k]' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:211:50: style: Variable 'numstr[k]' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:238:50: style: Variable 'numstr[k]' is assigned a value that is never used. [unreadVariable] suitename-0.4.130509+git20210223.ebb1325/suiteninit.c:257:62: style: Variable 'numstr[k]' is assigned a value that is never used. [unreadVariable] diff: DONE