2026-05-03 18:04 ftp://ftp.de.debian.org/debian/pool/main/m/mysqltcl/mysqltcl_3.052.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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 62 62 elapsed-time: 0.6 0.5 head-timing-info: old-timing-info: head results: mysqltcl-3.052/generic/mysqltcl.c:163:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:193:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:212:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:221:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_DOUBLE_SPACE [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:278:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:347:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:377:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:386:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:512:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_DYNAMIC [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:563:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONST [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:684:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STRING_KEYS [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:776:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:972:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1008:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1053:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONST [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1129:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1163:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1198:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1247:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1288:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1346:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1450:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1548:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONST [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1681:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONST [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1741:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONST [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1835:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1919:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1963:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:1986:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2009:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2040:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2068:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2093:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2145:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2188:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2214:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2246:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2269:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2316:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2344:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2406:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:2648:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_RESULT_SIZE [valueFlowBailoutIncompleteVar] mysqltcl-3.052/generic/mysqltcl.c:937:26: style: Redundant condition: encodingname!=NULL. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] mysqltcl-3.052/generic/mysqltcl.c:461:10: warning: Either the condition 'handle==0' is redundant or there is possible null pointer dereference: handle. [nullPointerRedundantCheck] mysqltcl-3.052/generic/mysqltcl.c:462:14: note: Assuming that condition 'handle==0' is not redundant mysqltcl-3.052/generic/mysqltcl.c:461:10: note: Null pointer dereference mysqltcl-3.052/generic/mysqltcl.c:479:12: warning: Either the condition '!qhandle' is redundant or there is possible null pointer dereference: qhandle. [nullPointerRedundantCheck] mysqltcl-3.052/generic/mysqltcl.c:480:7: note: Assuming that condition '!qhandle' is not redundant mysqltcl-3.052/generic/mysqltcl.c:479:12: note: Null pointer dereference mysqltcl-3.052/generic/mysqltcl.c:2220:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] mysqltcl-3.052/generic/mysqltcl.c:197:17: style: Variable 'state' can be declared as pointer to const [constVariablePointer] mysqltcl-3.052/generic/mysqltcl.c:473:81: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] mysqltcl-3.052/generic/mysqltcl.c:750:9: style: Variable 'sslkey' can be declared as pointer to const [constVariablePointer] mysqltcl-3.052/generic/mysqltcl.c:751:9: style: Variable 'sslcert' can be declared as pointer to const [constVariablePointer] mysqltcl-3.052/generic/mysqltcl.c:752:9: style: Variable 'sslca' can be declared as pointer to const [constVariablePointer] mysqltcl-3.052/generic/mysqltcl.c:753:9: style: Variable 'sslcapath' can be declared as pointer to const [constVariablePointer] mysqltcl-3.052/generic/mysqltcl.c:754:9: style: Variable 'sslcipher' can be declared as pointer to const [constVariablePointer] mysqltcl-3.052/generic/mysqltcl.c:1050:18: style: Variable 'lengths' can be declared as pointer to const [constVariablePointer] mysqltcl-3.052/generic/mysqltcl.c:1244:18: style: Variable 'lengths' can be declared as pointer to const [constVariablePointer] mysqltcl-3.052/generic/mysqltcl.c:1342:18: style: Variable 'lengths' can be declared as pointer to const [constVariablePointer] mysqltcl-3.052/generic/mysqltcl.c:1445:18: style: Variable 'lengths' can be declared as pointer to const [constVariablePointer] mysqltcl-3.052/generic/mysqltcl.c:773:60: warning: Found calculation inside sizeof(). [sizeofCalculation] mysqltcl-3.052/generic/mysqltcl.c:314:13: style: Unused variable: result [unusedVariable] mysqltcl-3.052/generic/mysqltcl.c:757:15: style: Variable 'groupname' is assigned a value that is never used. [unreadVariable] mysqltcl-3.052/generic/mysqltcl.c:1196:11: style: Unused variable: resList [unusedVariable] diff: DONE