2024-03-24 01:52 ftp://ftp.de.debian.org/debian/pool/main/i/itcl4/itcl4_4.2.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.53 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.13.0 head-info: 5ea8330 (2024-03-23 20:55:32 +0100) count: 134 83 elapsed-time: 1.5 2.0 head-timing-info: old-timing-info: head results: itcl4.2.4/generic/itclClass.c:1554:46: error: There is an unknown macro here somewhere. Configuration is required. If TCL_Z_MODIFIER is a macro then please configure it. [unknownMacro] itcl4.2.4/generic/itcl2TclOO.c:31:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itcl2TclOO.c:83:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Command [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itcl2TclOO.c:205:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ProcedureMethod [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itcl2TclOO.c:243:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PUBLIC_METHOD [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itcl2TclOO.c:287:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PUBLIC_METHOD [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itcl2TclOO.c:319:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PUBLIC_METHOD [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itcl2TclOO.c:376:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itcl2TclOO.c:394:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRAME_IS_METHOD [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclBase.c:187:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclBase.c:489:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclBase.c:515:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itcl2TclOO.c:364:5: style:inconclusive: Function 'Itcl_SelfCmd' argument 1 names different: declaration 'clientData' definition 'dummy364'. [funcArgNamesDifferent] itcl4.2.4/generic/itcl2TclOO.h:27:37: note: Function 'Itcl_SelfCmd' argument 1 names different: declaration 'clientData' definition 'dummy364'. itcl4.2.4/generic/itcl2TclOO.c:364:5: note: Function 'Itcl_SelfCmd' argument 1 names different: declaration 'clientData' definition 'dummy364'. itcl4.2.4/generic/itcl2TclOO.c:369:13: style: Variable 'iPtr' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itcl2TclOO.c:392:13: style: Variable 'iPtr' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itcl2TclOO.c:393:16: style: Variable 'framePtr' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclBase.c:173:20: style: Variable 'nsPtr' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclBase.c:178:11: style: Variable 'res_option' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclEnsemble.c:789:22: error: There is an unknown macro here somewhere. Configuration is required. If TCL_Z_MODIFIER is a macro then please configure it. [unknownMacro] itcl4.2.4/generic/itclBuiltin.c:1084:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclBuiltin.c:1231:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclBuiltin.c:1268:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclBuiltin.c:1629:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclHelpers.c:132:24: error: There is an unknown macro here somewhere. Configuration is required. If TCL_Z_MODIFIER is a macro then please configure it. [unknownMacro] itcl4.2.4/generic/itclCmd.c:525:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclCmd.c:579:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclCmd.c:609:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclLinkage.c:285:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Tcl_HashTable [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclLinkage.c:306:5: style:inconclusive: Function 'ItclFreeC' argument 2 names different: declaration 'interp' definition 'dummy306'. [funcArgNamesDifferent] itcl4.2.4/generic/itclLinkage.c:45:53: note: Function 'ItclFreeC' argument 2 names different: declaration 'interp' definition 'dummy306'. itcl4.2.4/generic/itclLinkage.c:306:5: note: Function 'ItclFreeC' argument 2 names different: declaration 'interp' definition 'dummy306'. itcl4.2.4/generic/itclMethod.c:82:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:197:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:361:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:470:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:835:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:1212:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:1645:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:1742:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:1821:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:1914:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:2279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:2336:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:2534:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMethod.c:2679:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclInfo.c:370:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclInfo.c:418:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclInfo.c:491:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ENSEMBLE_PREFIX [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclInfo.c:579:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclInfo.c:626:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclBuiltin.c:1786:17: style: Condition 'idmPtr!=NULL' is always true [knownConditionTrueFalse] itcl4.2.4/generic/itclBuiltin.c:1758:12: style: Variable 'offset' is reassigned a value before the old one has been used. [redundantAssignment] itcl4.2.4/generic/itclBuiltin.c:1633:12: note: offset is assigned itcl4.2.4/generic/itclBuiltin.c:1758:12: note: offset is overwritten itcl4.2.4/generic/itclBuiltin.c:1829:12: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] itcl4.2.4/generic/itclBuiltin.c:1638:12: note: result is assigned itcl4.2.4/generic/itclBuiltin.c:1829:12: note: result is overwritten itcl4.2.4/generic/itclBuiltin.c:1687:11: style: Variable 'found' is assigned a value that is never used. [unreadVariable] itcl4.2.4/generic/itclBuiltin.c:1700:8: style: Variable 'found' is assigned a value that is never used. [unreadVariable] itcl4.2.4/generic/itclMigrate2TclCore.c:45:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclMigrate2TclCore.c:57:5: style:inconclusive: Function 'Tcl_NewNamespaceVar' argument 1 names different: declaration 'interp' definition 'dummy57'. [funcArgNamesDifferent] itcl4.2.4/generic/itclMigrate2TclCore.h:74:54: note: Function 'Tcl_NewNamespaceVar' argument 1 names different: declaration 'interp' definition 'dummy57'. itcl4.2.4/generic/itclMigrate2TclCore.c:57:5: note: Function 'Tcl_NewNamespaceVar' argument 1 names different: declaration 'interp' definition 'dummy57'. itcl4.2.4/generic/itclMigrate2TclCore.c:41:20: style: Parameter 'nsPtr' can be declared as pointer to const [constParameterPointer] itcl4.2.4/generic/itclMigrate2TclCore.c:42:18: style: Parameter 'resolvePtr' can be declared as pointer to const [constParameterPointer] itcl4.2.4/generic/itclMigrate2TclCore.c:176:16: style: Variable 'framePtr' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclMigrate2TclCore.c:187:16: style: Variable 'framePtr' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclMigrate2TclCore.c:221:16: style: Variable 'varFramePtr' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclMigrate2TclCore.c:240:23: style: Variable 'localName' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclInfo.c:571:5: style:inconclusive: Function 'ItclGetInfoUsage' argument 3 names different: declaration 'infoPtr' definition 'dummy571'. [funcArgNamesDifferent] itcl4.2.4/generic/itclInfo.c:297:18: note: Function 'ItclGetInfoUsage' argument 3 names different: declaration 'infoPtr' definition 'dummy571'. itcl4.2.4/generic/itclInfo.c:571:5: note: Function 'ItclGetInfoUsage' argument 3 names different: declaration 'infoPtr' definition 'dummy571'. itcl4.2.4/generic/itclInfo.c:322:22: style: Variable 'popped' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclObject.c:407:39: error: There is an unknown macro here somewhere. Configuration is required. If TCL_Z_MODIFIER is a macro then please configure it. [unknownMacro] itcl4.2.4/generic/itclParse.c:1178:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclParse.c:2101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclParse.c:2217:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclParse.c:2615:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclParse.c:2909:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclParse.c:3043:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclParse.c:3272:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclParse.c:3336:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclParse.c:3575:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclStubLib.c:52:19: warning: Either the condition '!stubsPtr' is redundant or there is possible null pointer dereference: stubsPtr. [nullPointerRedundantCheck] itcl4.2.4/generic/itclStubLib.c:55:9: note: Assuming that condition '!stubsPtr' is not redundant itcl4.2.4/generic/itclStubLib.c:52:19: note: Null pointer dereference itcl4.2.4/generic/itclStubLib.c:53:6: warning: Either the condition '!stubsPtr' is redundant or there is possible null pointer dereference: stubsPtr. [nullPointerRedundantCheck] itcl4.2.4/generic/itclStubLib.c:55:9: note: Assuming that condition '!stubsPtr' is not redundant itcl4.2.4/generic/itclStubLib.c:53:6: note: Null pointer dereference itcl4.2.4/generic/itclResolve.c:76:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_CONTINUE [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclResolve.c:255:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclResolve.c:433:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_CONTINUE [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclResolve.c:522:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclResolve.c:691:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclStubs.c:183:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclStubs.c:227:5: style:inconclusive: Function 'ItclDeleteStub' argument 1 names different: declaration 'cdata' definition 'dummy227'. [funcArgNamesDifferent] itcl4.2.4/generic/itclStubs.c:15:34: note: Function 'ItclDeleteStub' argument 1 names different: declaration 'cdata' definition 'dummy227'. itcl4.2.4/generic/itclStubs.c:227:5: note: Function 'ItclDeleteStub' argument 1 names different: declaration 'cdata' definition 'dummy227'. itcl4.2.4/generic/itclStubs.c:227:5: style: Parameter 'dummy227' can be declared as pointer to const. However it seems that 'ItclDeleteStub' is a callback function, if 'dummy227' is declared with const you might also need to cast function pointer(s). [constParameterCallback] itcl4.2.4/generic/itclStubs.c:89:29: note: You might need to cast the function pointer here itcl4.2.4/generic/itclStubs.c:227:5: note: Parameter 'dummy227' can be declared as pointer to const itcl4.2.4/generic/itclTclIntStubsFcn.c:129:5: style:inconclusive: Function 'Itcl_InitRewriteEnsemble' argument 4 names different: declaration 'objc' definition 'dummy129'. [funcArgNamesDifferent] itcl4.2.4/generic/itclTclIntStubsFcn.h:34:29: note: Function 'Itcl_InitRewriteEnsemble' argument 4 names different: declaration 'objc' definition 'dummy129'. itcl4.2.4/generic/itclTclIntStubsFcn.c:129:5: note: Function 'Itcl_InitRewriteEnsemble' argument 4 names different: declaration 'objc' definition 'dummy129'. itcl4.2.4/generic/itclMethod.c:1686:12: style: Condition 'ioPtr!=NULL' is always true [knownConditionTrueFalse] itcl4.2.4/generic/itclMethod.c:2548:53: style: Condition 'ioPtr' is always true [knownConditionTrueFalse] itcl4.2.4/generic/itclMethod.c:2714:16: style: Condition 'objPtr!=NULL' is always false [knownConditionTrueFalse] itcl4.2.4/generic/itclMethod.c:2712:11: note: Assignment 'objPtr=NULL', assigned value is 0 itcl4.2.4/generic/itclMethod.c:2714:16: note: Condition 'objPtr!=NULL' is always false itcl4.2.4/generic/itclMethod.c:1083:21: style:inconclusive: Function 'FreeMemberCode' argument 1 names different: declaration 'mcodePtr' definition 'mCodePtr'. [funcArgNamesDifferent] itcl4.2.4/generic/itclMethod.c:43:44: note: Function 'FreeMemberCode' argument 1 names different: declaration 'mcodePtr' definition 'mCodePtr'. itcl4.2.4/generic/itclMethod.c:1083:21: note: Function 'FreeMemberCode' argument 1 names different: declaration 'mcodePtr' definition 'mCodePtr'. itcl4.2.4/generic/itclMethod.c:1322:5: style:inconclusive: Function 'EquivArgLists' argument 1 names different: declaration 'interp' definition 'dummy1322'. [funcArgNamesDifferent] itcl4.2.4/generic/itclMethod.c:35:38: note: Function 'EquivArgLists' argument 1 names different: declaration 'interp' definition 'dummy1322'. itcl4.2.4/generic/itclMethod.c:1322:5: note: Function 'EquivArgLists' argument 1 names different: declaration 'interp' definition 'dummy1322'. itcl4.2.4/generic/itclMethod.c:2191:5: style:inconclusive: Function 'Itcl_VarAliasProc' argument 1 names different: declaration 'interp' definition 'dummy2191'. [funcArgNamesDifferent] itcl4.2.4/generic/itclInt.h:698:52: note: Function 'Itcl_VarAliasProc' argument 1 names different: declaration 'interp' definition 'dummy2191'. itcl4.2.4/generic/itclMethod.c:2191:5: note: Function 'Itcl_VarAliasProc' argument 1 names different: declaration 'interp' definition 'dummy2191'. itcl4.2.4/generic/itclMethod.c:2193:17: style:inconclusive: Function 'Itcl_VarAliasProc' argument 3 names different: declaration 'VarName' definition 'varName'. [funcArgNamesDifferent] itcl4.2.4/generic/itclInt.h:699:36: note: Function 'Itcl_VarAliasProc' argument 3 names different: declaration 'VarName' definition 'varName'. itcl4.2.4/generic/itclMethod.c:2193:17: note: Function 'Itcl_VarAliasProc' argument 3 names different: declaration 'VarName' definition 'varName'. itcl4.2.4/generic/itclMethod.c:2268:5: style:inconclusive: Function 'ItclCheckCallProc' argument 3 names different: declaration 'contextPtr' definition 'dummy2268'. [funcArgNamesDifferent] itcl4.2.4/generic/itclInt.h:689:20: note: Function 'ItclCheckCallProc' argument 3 names different: declaration 'contextPtr' definition 'dummy2268'. itcl4.2.4/generic/itclMethod.c:2268:5: note: Function 'ItclCheckCallProc' argument 3 names different: declaration 'contextPtr' definition 'dummy2268'. itcl4.2.4/generic/itclMethod.c:2269:5: style:inconclusive: Function 'ItclCheckCallProc' argument 4 names different: declaration 'framePtr' definition 'dummy2269'. [funcArgNamesDifferent] itcl4.2.4/generic/itclInt.h:689:47: note: Function 'ItclCheckCallProc' argument 4 names different: declaration 'framePtr' definition 'dummy2269'. itcl4.2.4/generic/itclMethod.c:2269:5: note: Function 'ItclCheckCallProc' argument 4 names different: declaration 'framePtr' definition 'dummy2269'. itcl4.2.4/generic/itclMethod.c:2488:5: style:inconclusive: Function 'ItclAfterCallMethod' argument 4 names different: declaration 'nsPtr' definition 'dummy2488'. [funcArgNamesDifferent] itcl4.2.4/generic/itclInt.h:704:47: note: Function 'ItclAfterCallMethod' argument 4 names different: declaration 'nsPtr' definition 'dummy2488'. itcl4.2.4/generic/itclMethod.c:2488:5: note: Function 'ItclAfterCallMethod' argument 4 names different: declaration 'nsPtr' definition 'dummy2488'. itcl4.2.4/generic/itclMethod.c:2489:9: style:inconclusive: Function 'ItclAfterCallMethod' argument 5 names different: declaration 'result' definition 'call_result'. [funcArgNamesDifferent] itcl4.2.4/generic/itclInt.h:704:58: note: Function 'ItclAfterCallMethod' argument 5 names different: declaration 'result' definition 'call_result'. itcl4.2.4/generic/itclMethod.c:2489:9: note: Function 'ItclAfterCallMethod' argument 5 names different: declaration 'result' definition 'call_result'. itcl4.2.4/generic/itclMethod.c:2590:5: style:inconclusive: Function 'ItclProcErrorProc' argument 2 names different: declaration 'procNameObj' definition 'dummy2590'. [funcArgNamesDifferent] itcl4.2.4/generic/itclInt.h:740:66: note: Function 'ItclProcErrorProc' argument 2 names different: declaration 'procNameObj' definition 'dummy2590'. itcl4.2.4/generic/itclMethod.c:2590:5: note: Function 'ItclProcErrorProc' argument 2 names different: declaration 'procNameObj' definition 'dummy2590'. itcl4.2.4/generic/itclMethod.c:454:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclMethod.c:1327:11: style: Variable 'argName' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclMethod.c:1752:22: style: Variable 'imPtr2' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclMethod.c:2086:21: style: Variable 'imPtr' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclMethod.c:2308:20: style: Variable 'currNsPtr' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclUtil.c:51:9: style: struct member 'InterpState::status' is never used. [unusedStructMember] itcl4.2.4/generic/itclUtil.c:52:14: style: struct member 'InterpState::objResult' is never used. [unusedStructMember] itcl4.2.4/generic/itclUtil.c:53:11: style: struct member 'InterpState::errorInfo' is never used. [unusedStructMember] itcl4.2.4/generic/itclUtil.c:54:11: style: struct member 'InterpState::errorCode' is never used. [unusedStructMember] itcl4.2.4/win/dllEntryPoint.c:49:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclResolve.c:200:9: style: Condition 'isCmdDeleted' is always false [knownConditionTrueFalse] itcl4.2.4/generic/itclResolve.c:197:16: note: Assignment 'isCmdDeleted=0', assigned value is 0 itcl4.2.4/generic/itclResolve.c:200:9: note: Condition 'isCmdDeleted' is always false itcl4.2.4/generic/itclResolve.c:386:14: style: Condition 'hPtr!=NULL' is always true [knownConditionTrueFalse] itcl4.2.4/generic/itclResolve.c:495:26: style:inconclusive: Function 'ItclClassRuntimeVarResolver' argument 2 names different: declaration 'vinfoPtr' definition 'resVarInfo'. [funcArgNamesDifferent] itcl4.2.4/generic/itclResolve.c:40:46: note: Function 'ItclClassRuntimeVarResolver' argument 2 names different: declaration 'vinfoPtr' definition 'resVarInfo'. itcl4.2.4/generic/itclResolve.c:495:26: note: Function 'ItclClassRuntimeVarResolver' argument 2 names different: declaration 'vinfoPtr' definition 'resVarInfo'. itcl4.2.4/win/nmakehlp.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEM_FAILCRITICALERRORS [valueFlowBailoutIncompleteVar] itcl4.2.4/win/nmakehlp.c:209:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] itcl4.2.4/win/nmakehlp.c:345:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] itcl4.2.4/win/nmakehlp.c:473:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] itcl4.2.4/win/nmakehlp.c:648:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] itcl4.2.4/win/nmakehlp.c:689:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] itcl4.2.4/win/nmakehlp.c:706:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] itcl4.2.4/win/nmakehlp.c:724:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] itcl4.2.4/generic/itclParse.c:2134:12: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] itcl4.2.4/generic/itclParse.c:2101:12: note: result is assigned itcl4.2.4/generic/itclParse.c:2134:12: note: result is overwritten itcl4.2.4/generic/itclParse.c:2285:12: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] itcl4.2.4/generic/itclParse.c:2217:12: note: result is assigned itcl4.2.4/generic/itclParse.c:2285:12: note: result is overwritten itcl4.2.4/generic/itclParse.c:3403:10: style: Variable 'hPtr' is reassigned a value before the old one has been used. [redundantAssignment] itcl4.2.4/generic/itclParse.c:3396:14: note: hPtr is assigned itcl4.2.4/generic/itclParse.c:3403:10: note: hPtr is overwritten itcl4.2.4/generic/itclParse.c:3403:10: style: Variable 'hPtr' is reassigned a value before the old one has been used. [redundantAssignment] itcl4.2.4/generic/itclParse.c:3399:14: note: hPtr is assigned itcl4.2.4/generic/itclParse.c:3403:10: note: hPtr is overwritten itcl4.2.4/generic/itclParse.c:3757:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] itcl4.2.4/generic/itclParse.c:2561:5: style:inconclusive: Function 'ItclParseOption' argument 1 names different: declaration 'infoPtr' definition 'dummy2561'. [funcArgNamesDifferent] itcl4.2.4/generic/itclInt.h:779:50: note: Function 'ItclParseOption' argument 1 names different: declaration 'infoPtr' definition 'dummy2561'. itcl4.2.4/generic/itclParse.c:2561:5: note: Function 'ItclParseOption' argument 1 names different: declaration 'infoPtr' definition 'dummy2561'. itcl4.2.4/generic/itclParse.c:2572:20: style: Variable 'hPtr' can be declared as pointer to const [constVariablePointer] itcl4.2.4/generic/itclParse.c:3800:11: style: Variable 'hPtr' is assigned a value that is never used. [unreadVariable] itcl4.2.4/win/nmakehlp.c:636:13: warning: Either the condition 've' is redundant or there is possible null pointer dereference: ve. [nullPointerRedundantCheck] itcl4.2.4/win/nmakehlp.c:635:10: note: Assuming that condition 've' is not redundant itcl4.2.4/win/nmakehlp.c:636:13: note: Null pointer dereference itcl4.2.4/win/nmakehlp.c:471:17: style: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. [duplicateExpression] itcl4.2.4/win/nmakehlp.c:466:23: note: 'lastBuf' is assigned value 'pi->buffer' here. itcl4.2.4/win/nmakehlp.c:471:17: note: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. itcl4.2.4/win/nmakehlp.c:483:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] itcl4.2.4/win/nmakehlp.c:610:17: style:inconclusive: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. [funcArgNamesDifferent] itcl4.2.4/win/nmakehlp.c:43:39: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. itcl4.2.4/win/nmakehlp.c:610:17: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. itcl4.2.4/win/nmakehlp.c:704:17: style:inconclusive: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. [funcArgNamesDifferent] itcl4.2.4/win/nmakehlp.c:44:36: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. itcl4.2.4/win/nmakehlp.c:704:17: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. itcl4.2.4/win/nmakehlp.c:793:41: style:inconclusive: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. [funcArgNamesDifferent] itcl4.2.4/win/nmakehlp.c:45:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. itcl4.2.4/win/nmakehlp.c:793:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. itcl4.2.4/win/nmakehlp.c:662:23: style: Local variable 'sp' shadows outer variable [shadowVariable] itcl4.2.4/win/nmakehlp.c:615:16: note: Shadowed declaration itcl4.2.4/win/nmakehlp.c:662:23: note: Shadow variable itcl4.2.4/win/nmakehlp.c:660:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] itcl4.2.4/win/nmakehlp.c:662:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] diff: head itcl4.2.4/generic/itcl2TclOO.c:205:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ProcedureMethod [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itcl2TclOO.c:243:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PUBLIC_METHOD [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itcl2TclOO.c:287:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PUBLIC_METHOD [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itcl2TclOO.c:319:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PUBLIC_METHOD [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itcl2TclOO.c:376:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itcl2TclOO.c:394:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRAME_IS_METHOD [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itcl2TclOO.c:83:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Command [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclBase.c:489:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclBase.c:515:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclBuiltin.c:1231:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclBuiltin.c:1268:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclBuiltin.c:1629:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclCmd.c:579:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclCmd.c:609:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclInfo.c:418:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclInfo.c:491:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ENSEMBLE_PREFIX [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclInfo.c:579:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclInfo.c:626:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:1212:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:1645:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:1742:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:1821:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:1914:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:197:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:2279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:2336:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:2534:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:2679:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:361:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:470:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMethod.c:835:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclMigrate2TclCore.c:42:18: style: Parameter 'resolvePtr' can be declared as pointer to const [constParameterPointer] head itcl4.2.4/generic/itclParse.c:2101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclParse.c:2217:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclParse.c:2615:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclParse.c:2909:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclParse.c:3043:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclParse.c:3272:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclParse.c:3336:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclParse.c:3575:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclResolve.c:255:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclResolve.c:433:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_CONTINUE [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclResolve.c:522:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclResolve.c:691:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head itcl4.2.4/generic/itclStubs.c:227:5: style: Parameter 'dummy227' can be declared as pointer to const. However it seems that 'ItclDeleteStub' is a callback function, if 'dummy227' is declared with const you might also need to cast function pointer(s). [constParameterCallback] itcl4.2.4/generic/itclStubs.c:89:29: note: You might need to cast the function pointer here itcl4.2.4/generic/itclStubs.c:227:5: note: Parameter 'dummy227' can be declared as pointer to const head itcl4.2.4/win/nmakehlp.c:209:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] head itcl4.2.4/win/nmakehlp.c:345:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] head itcl4.2.4/win/nmakehlp.c:471:17: style: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. [duplicateExpression] itcl4.2.4/win/nmakehlp.c:466:23: note: 'lastBuf' is assigned value 'pi->buffer' here. itcl4.2.4/win/nmakehlp.c:471:17: note: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. 2.13.0 itcl4.2.4/win/nmakehlp.c:471:17: style: Same expression on both sides of '-'. [duplicateExpression] itcl4.2.4/win/nmakehlp.c:466:23: note: 'lastBuf' is assigned value 'pi->buffer' here. itcl4.2.4/win/nmakehlp.c:471:17: note: Same expression on both sides of '-'. head itcl4.2.4/win/nmakehlp.c:473:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] head itcl4.2.4/win/nmakehlp.c:648:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.13.0 itcl4.2.4/win/nmakehlp.c:679:12: warning: Either the condition 'fp!=NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] itcl4.2.4/win/nmakehlp.c:618:12: note: Assuming that condition 'fp!=NULL' is not redundant itcl4.2.4/win/nmakehlp.c:679:12: note: Null pointer dereference head itcl4.2.4/win/nmakehlp.c:689:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] head itcl4.2.4/win/nmakehlp.c:706:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] head itcl4.2.4/win/nmakehlp.c:724:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] DONE