2025-05-09 02:32 ftp://ftp.de.debian.org/debian/pool/main/x/xtrkcad/xtrkcad_5.3.0GA.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=cairo --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: 66c9938 (2025-05-08 13:55:11 +0200) count: 2958 2917 elapsed-time: 28.1 28.2 head-timing-info: old-timing-info: head results: xtrkcad-source-5.3.0GA/app/bin/archive.c:113:23: error: There is an unknown macro here somewhere. Configuration is required. If FILE_SEP_CHAR is a macro then please configure it. [unknownMacro] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:442:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wPrefGetIntegerBasic [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:138:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:176:29: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:176:29: note: Assignment 'searchString=malloc(strlen(section)+strlen(name)+2)', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:181:55: note: Calling function 'binarySearch', 4th argument 'searchString' value is 0 xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:138:20: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:241:55: style:inconclusive: Function 'GetLocalRoomSize' argument 2 names different: declaration 'additionalData' definition 'data'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:62:38: note: Function 'GetLocalRoomSize' argument 2 names different: declaration 'additionalData' definition 'data'. xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:241:55: note: Function 'GetLocalRoomSize' argument 2 names different: declaration 'additionalData' definition 'data'. xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:259:59: style:inconclusive: Function 'GetLocalPopularScale' argument 2 names different: declaration 'additionalData' definition 'data'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:60:41: note: Function 'GetLocalPopularScale' argument 2 names different: declaration 'additionalData' definition 'data'. xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:259:59: note: Function 'GetLocalPopularScale' argument 2 names different: declaration 'additionalData' definition 'data'. xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:268:60: style:inconclusive: Function 'GetLocalMeasureSystem' argument 2 names different: declaration 'additionalData' definition 'data'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:56:40: note: Function 'GetLocalMeasureSystem' argument 2 names different: declaration 'additionalData' definition 'data'. xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:268:60: note: Function 'GetLocalMeasureSystem' argument 2 names different: declaration 'additionalData' definition 'data'. xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:277:61: style:inconclusive: Function 'GetLocalDistanceFormat' argument 2 names different: declaration 'additionalData' definition 'data'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:58:41: note: Function 'GetLocalDistanceFormat' argument 2 names different: declaration 'additionalData' definition 'data'. xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:277:61: note: Function 'GetLocalDistanceFormat' argument 2 names different: declaration 'additionalData' definition 'data'. xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:213:9: style: Variable 'pLang' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:217:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:241:37: style: Parameter 'ptrDefault' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:241:55: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:259:41: style: Parameter 'ptrDefault' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:259:59: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:268:42: style: Parameter 'ptrDefault' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:268:60: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:277:43: style: Parameter 'ptrDefault' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:277:61: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:288:38: style: Parameter 'ptrDefault' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:288:56: style: Parameter 'additionalData' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/appdefaults.c:412:8: style: Unused variable: prefString [unusedVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:737:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:1142:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:1232:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:186:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:240:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:258:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:301:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:329:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:372:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:413:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:434:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:494:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:557:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:587:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:668:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:702:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:823:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:853:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:923:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:1013:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:1028:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:576:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:624:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:881:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:1035:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:1071:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cblock.c:183:9: style: Local variable 'changed' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:264:17: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cblock.c:183:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cblock.c:404:8: style: Local variable 'blockName' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cblock.c:103:13: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cblock.c:404:8: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cblock.c:67:34: style: Parameter 'd' can be declared as pointer to const. However it seems that 'NoDrawLine' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:84:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:67:34: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:844:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xtrkcad-source-5.3.0GA/app/bin/cblock.c:69:33: style: Parameter 'd' can be declared as pointer to const. However it seems that 'NoDrawArc' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:85:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:69:33: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:924:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xtrkcad-source-5.3.0GA/app/bin/cblock.c:72:37: style: Parameter 'd' can be declared as pointer to const. However it seems that 'NoDrawString' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:86:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:72:37: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:943:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xtrkcad-source-5.3.0GA/app/bin/cblock.c:72:67: style: Parameter 's' can be declared as pointer to const. However it seems that 'NoDrawString' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:86:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:72:67: note: Parameter 's' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cblock.c:74:37: style: Parameter 'd' can be declared as pointer to const. However it seems that 'NoDrawBitMap' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:87:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:74:37: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cblock.c:76:35: style: Parameter 'd' can be declared as pointer to const. However it seems that 'NoDrawPoly' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:88:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:76:35: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cblock.c:76:55: style: Parameter 'pts' can be declared as pointer to const. However it seems that 'NoDrawPoly' is a callback function, if 'pts' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:88:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:76:55: note: Parameter 'pts' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cblock.c:76:66: style: Parameter 'types' can be declared as pointer to const. However it seems that 'NoDrawPoly' is a callback function, if 'types' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:88:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:76:66: note: Parameter 'types' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cblock.c:78:41: style: Parameter 'd' can be declared as pointer to const. However it seems that 'NoDrawFillCircle' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:89:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:78:41: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cblock.c:80:40: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cblock.c:156:32: style: Parameter 't' can be declared as pointer to const. However it seems that 'DrawBlock' is a callback function, if 't' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:519:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:156:32: note: Parameter 't' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cblock.c:156:45: style: Parameter 'd' can be declared as pointer to const. However it seems that 'DrawBlock' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:519:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:156:45: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cblock.c:513:32: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'MoveBlock' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:525:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:513:32: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cblock.c:514:34: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'RotateBlock' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:526:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:514:34: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cblock.c:515:35: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'RescaleBlock' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cblock.c:527:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cblock.c:515:35: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cblock.c:552:37: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:115:20: style:inconclusive: Function 'D2R' argument 1 names different: declaration 'D' definition 'angle'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/utility.h:52:20: note: Function 'D2R' argument 1 names different: declaration 'D' definition 'angle'. xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:115:20: note: Function 'D2R' argument 1 names different: declaration 'D' definition 'angle'. xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:409:9: style: Local variable 'name' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:311:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:409:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:584:27: style: Parameter 'tp' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:652:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:676:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:1210:9: style: Variable 'contents' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cblock.c:281:10: style: Variable 'first' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cblock.c:285:9: style: Variable 'tcount' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cblock.c:355:18: style: Variable 'endPtOrig.x' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cblock.c:356:18: style: Variable 'endPtOrig.y' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:551:9: style: Unused variable: d [unusedVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:551:12: style: Unused variable: a [unusedVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:551:15: style: Unused variable: aa [unusedVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:551:19: style: Unused variable: aaa [unusedVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:751:10: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:754:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:841:10: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:844:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:940:10: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:943:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:673:9: style: Unused variable: a0 [unusedVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:673:13: style: Unused variable: a1 [unusedVariable] xtrkcad-source-5.3.0GA/app/bin/bdf2xtp.c:1114:6: style: Unused variable: len [unusedVariable] xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:203:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_ENTERED_STRING_TRUNCATED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:528:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:631:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable control_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:645:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable control_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:248:7: style: The if condition is the same as the previous if condition [duplicateCondition] xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:245:7: note: First condition xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:248:7: note: Second condition xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:182:9: style: Local variable 'changed' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:264:17: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:182:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:153:51: style: Parameter 'p' can be declared as pointer to const. However it seems that 'DistanceControl' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:386:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:153:51: note: Parameter 'p' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:368:36: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'RotateControl' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:392:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:368:36: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:372:37: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'RescaleControl' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:393:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/ccontrol.c:372:37: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/ccurve.c:126:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccurve.c:155:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccurve.c:451:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccurve.c:849:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccurve.c:1006:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccurve.c:1033:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curved_end_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccurve.c:1080:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCTL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:188:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:220:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wPolyLineStraight [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:490:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:520:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:561:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:588:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spiro_cp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:678:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPIRO_OPEN_CONTOUR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:964:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TRK_ALREADY_CONN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1125:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1936:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1966:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2369:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2861:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLDown [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2935:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:3159:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:3271:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable convert_to_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccurve.c:625:4: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] xtrkcad-source-5.3.0GA/app/bin/ccurve.c:598:25: style: Redundant condition: curveMode==3. 'curveMode!=3 || (curveMode==3 && !Da.trk)' is equivalent to 'curveMode!=3 || !Da.trk' [redundantCondition] xtrkcad-source-5.3.0GA/app/bin/ccurve.c:192:3: style: Variable 'tempSegs_da.cnt' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/ccurve.c:187:3: note: tempSegs_da.cnt is assigned xtrkcad-source-5.3.0GA/app/bin/ccurve.c:192:3: note: tempSegs_da.cnt is overwritten xtrkcad-source-5.3.0GA/app/bin/ccurve.c:251:20: style: Variable 'Da.create_state' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/ccurve.c:248:20: note: Da.create_state is assigned xtrkcad-source-5.3.0GA/app/bin/ccurve.c:251:20: note: Da.create_state is overwritten xtrkcad-source-5.3.0GA/app/bin/ccurve.c:57:8: style: struct member 'Anonymous15::end1' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:640:16: warning: Identical condition 'Da.state!=PICK_POINT', second condition is always false [identicalConditionAfterEarlyExit] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:639:16: note: If condition 'Da.state!=PICK_POINT' is true, the function will return/exit xtrkcad-source-5.3.0GA/app/bin/cbezier.c:640:16: note: Testing identical condition 'Da.state!=PICK_POINT' xtrkcad-source-5.3.0GA/app/bin/cbezier.c:708:18: style: Condition 'b==CUSP' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:705:9: note: Assuming that condition 'b==ENDS' is not redundant xtrkcad-source-5.3.0GA/app/bin/cbezier.c:708:18: note: Condition 'b==CUSP' is always false xtrkcad-source-5.3.0GA/app/bin/cbezier.c:716:18: style: Condition 'b==CUSP' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:713:18: note: Assuming that condition 'b==COINCIDENT' is not redundant xtrkcad-source-5.3.0GA/app/bin/cbezier.c:716:18: note: Condition 'b==CUSP' is always false xtrkcad-source-5.3.0GA/app/bin/cbezier.c:773:18: style: Condition 'b==CUSP' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:770:9: note: Assuming that condition 'b==ENDS' is not redundant xtrkcad-source-5.3.0GA/app/bin/cbezier.c:773:18: note: Condition 'b==CUSP' is always false xtrkcad-source-5.3.0GA/app/bin/cbezier.c:781:18: style: Condition 'b==CUSP' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:778:18: note: Assuming that condition 'b==COINCIDENT' is not redundant xtrkcad-source-5.3.0GA/app/bin/cbezier.c:781:18: note: Condition 'b==CUSP' is always false xtrkcad-source-5.3.0GA/app/bin/cbezier.c:366:24: style: Variable 't_e' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:384:39: style: Variable 'prev_good' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:438:13: style: Variable 't_e' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:442:12: style: Variable 'done' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:734:6: style: Variable 'ep' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:1110:12: style: Variable 'ep' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:1173:12: style: Variable 't' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/celev.c:70:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/celev.c:95:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/celev.c:112:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/celev.c:382:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/celev.c:542:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable elevation_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/celev.c:179:23: style: Local variable 'elevOldValue' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/celev.c:37:15: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/celev.c:179:23: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/celev.c:415:12: style: Local variable 'ep0' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/celev.c:378:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/celev.c:415:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/celev.c:165:13: style: Variable 'modeMap' can be declared as const array [constVariable] xtrkcad-source-5.3.0GA/app/bin/celev.c:249:35: style: Parameter 'junk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:130:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_LARGE_FONT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:339:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wPolyLineStraight [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:475:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:887:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OBJECT_TOO_SHORT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1604:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1630:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2076:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2222:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2558:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2902:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:3278:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:3451:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:3463:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionText [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:98:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:243:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:761:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:875:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:972:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable conflicts [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1156:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_GROUP_NONBLANK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1857:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:926:15: style: Condition 'ep1<0' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:919:11: note: Assuming that condition 'ep1<0' is not redundant xtrkcad-source-5.3.0GA/app/bin/cgroup.c:926:15: note: Condition 'ep1<0' is always false xtrkcad-source-5.3.0GA/app/bin/cgroup.c:927:15: style: Condition 'ep2<0' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:919:20: note: Assuming that condition 'ep2<0' is not redundant xtrkcad-source-5.3.0GA/app/bin/cgroup.c:927:15: note: Condition 'ep2<0' is always false xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1642:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:246:6: style: Local variable 'trackCount' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/track.h:40:17: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:246:6: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:263:10: style: Local variable 'pos' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:201:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:263:10: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:267:12: style: Local variable 'angle' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:202:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:267:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:268:12: style: Local variable 'trk1' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:197:16: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:268:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:437:12: style: Local variable 'trk1' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:197:16: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:437:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:576:13: style: Local variable 'trk1' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:197:16: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:576:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:613:13: style: Local variable 'trk1' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:197:16: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:613:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1243:13: style: Local variable 'inx' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1117:6: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1243:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1250:13: style: Local variable 'inx' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1117:6: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1250:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1308:14: style: Local variable 'inx' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1117:6: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1308:14: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1380:14: style: Local variable 'inx' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1117:6: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1380:14: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1382:13: style: Local variable 'trk1' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1122:15: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1382:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1406:14: style: Local variable 'inx' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1117:6: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1406:14: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1412:14: style: Local variable 'inx' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1117:6: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1412:14: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1419:22: style: Local variable 'cp' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1130:9: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1419:22: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1426:14: style: Local variable 'inx' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1117:6: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1426:14: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1427:12: style: Local variable 'pp' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1123:11: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1427:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1762:32: style: Local variable 'xx' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1115:30: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1762:32: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1737:13: style: Local variable 'trk1' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1122:15: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1737:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1770:13: style: Local variable 'trk1' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1122:15: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1770:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1684:13: style: Variable 'from_p' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:458:14: style: Variable 'trackCount' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:629:12: style: Variable 'trackCount' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:663:16: style: Variable 'oldTrackCount' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1722:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1724:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1792:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cgroup.c:1794:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:852:29: style: Redundant condition: Da.trk[0]. '!Da.trk[0] || (Da.trk[0] && QueryTrack(Da.trk[0],24))' is equivalent to '!Da.trk[0] || QueryTrack(Da.trk[0],24)' [redundantCondition] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:857:29: style: Redundant condition: Da.trk[1]. '!Da.trk[1] || (Da.trk[1] && QueryTrack(Da.trk[1],24))' is equivalent to '!Da.trk[1] || QueryTrack(Da.trk[1],24)' [redundantCondition] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2901:6: style: Variable 'rc' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2896:6: note: $symbol is assigned xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2901:6: note: $symbol is overwritten xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1373:8: style: Local variable 'sel' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1148:7: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1373:8: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1388:17: style: Local variable 'a' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1110:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1388:17: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1415:16: style: Local variable 'a' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1110:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1415:16: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1419:15: style: Local variable 'd' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1109:9: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1419:15: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1709:13: style: Local variable 'ep' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1111:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1709:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1723:15: style: Local variable 'a' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1110:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1723:15: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1811:16: style: Local variable 'cp' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1112:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1811:16: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2618:12: style: Local variable 'ep' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2553:11: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2618:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2803:14: style: Local variable 'i' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2792:11: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2803:14: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2830:14: style: Local variable 'i' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2792:11: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ccornu.c:2830:14: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ccornu.c:183:17: style: Parameter 'origP' can be declared as pointer to const. However it seems that 'CmdCornuHotBarProc' is a callback function, if 'origP' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:261:27: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/ccornu.c:183:17: note: Parameter 'origP' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/ccornu.c:558:59: style: Parameter 'type' can be declared as const array [constParameter] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:577:33: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:959:27: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:962:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:969:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/chndldto.c:67:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/chndldto.c:381:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable turnout_design_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:568:8: style: struct member 'points_t::pos' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1334:9: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1343:9: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1347:10: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1350:10: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1646:9: style: Variable 'p0' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1647:9: style: Variable 'p1' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ccornu.c:1704:6: style: Variable 'ep' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/chndldto.c:292:9: style: Variable 'dist' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/chndldto.c:155:9: note: dist is assigned xtrkcad-source-5.3.0GA/app/bin/chndldto.c:292:9: note: dist is overwritten xtrkcad-source-5.3.0GA/app/bin/chndldto.c:48:14: style: struct member 'Anonymous18::curveData' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:83:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isFixed [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:134:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:218:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:245:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WKEY_SHIFT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:276:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:306:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionText [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:416:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isFixed [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:518:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:582:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable turnbarl_bits [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:466:14: style: Expression is always true because 'else if' condition is opposite to previous condition at line 464. [multiCondition] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:464:7: note: first condition xtrkcad-source-5.3.0GA/app/bin/chotbar.c:466:14: note: else if condition is opposite to first condition xtrkcad-source-5.3.0GA/app/bin/chotbar.c:402:44: style: Parameter 'line' can be declared as pointer to const. However it seems that 'HotBarSelectPlayback' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:554:51: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/chotbar.c:402:44: note: Parameter 'line' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/chotbar.c:436:38: style: Parameter 'line' can be declared as pointer to const. However it seems that 'SetHotBarScale' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/chotbar.c:553:24: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/chotbar.c:436:38: note: Parameter 'line' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cjoin.c:95:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:198:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:311:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:405:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:498:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:908:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1577:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable join_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmisc.c:257:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_MOVE_OUT_OF_BOUNDS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmisc.c:321:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wCursorCross [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmisc.c:592:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmisc.c:691:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable describe_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmisc.c:408:13: style: Variable 'ddp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cmisc.c:448:24: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cmisc.c:327:16: style: struct member 'Anonymous15::pd_type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:140:16: warning: Logical conjunction always evaluates to false: k < 90.0 && k > 270.0. [incorrectLogicOperator] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:317:7: style: Condition '!JoinWithCurve(pc,Dj.inp[0].params.arcR,Dj.inp[0].params.ep,p1,normalAngle,&Dj.jRes)' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:317:21: note: Calling function 'JoinWithCurve' returns 1 xtrkcad-source-5.3.0GA/app/bin/cjoin.c:317:7: note: Condition '!JoinWithCurve(pc,Dj.inp[0].params.arcR,Dj.inp[0].params.ep,p1,normalAngle,&Dj.jRes)' is always false xtrkcad-source-5.3.0GA/app/bin/cjoin.c:331:7: style: Condition '!JoinWithStraight(p0,Dj.inp[0].params.angle,p1,Dj.inp[1].params.angle,&Dj.jRes)' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:331:24: note: Calling function 'JoinWithStraight' returns 1 xtrkcad-source-5.3.0GA/app/bin/cjoin.c:331:7: note: Condition '!JoinWithStraight(p0,Dj.inp[0].params.angle,p1,Dj.inp[1].params.angle,&Dj.jRes)' is always false xtrkcad-source-5.3.0GA/app/bin/cjoin.c:987:3: style: Variable 'tempSegs_da.cnt' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:980:3: note: tempSegs_da.cnt is assigned xtrkcad-source-5.3.0GA/app/bin/cjoin.c:987:3: note: tempSegs_da.cnt is overwritten xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1131:12: style: Local variable 'a' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:899:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1131:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1133:11: style: Local variable 'd' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:891:9: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1133:11: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1136:12: style: Local variable 'a' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:899:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1136:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1149:15: style: Local variable 'a1' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:899:13: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1149:15: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1183:14: style: Local variable 'a' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:899:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1183:14: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cjoin.c:59:11: style: struct member 'Anonymous16::ep' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:465:12: style: struct member 'Anonymous17::jRes' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:466:8: style: struct member 'Anonymous17::inp_pos' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:459:12: style: struct member 'Anonymous18::realType' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1062:17: style: Variable 'only_merge' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cjoin.c:1070:17: style: Variable 'only_merge' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:89:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:125:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:156:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:187:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:263:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLDrag [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:883:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extend_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:202:45: style: The if condition is the same as the previous if condition [duplicateCondition] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:198:45: note: First condition xtrkcad-source-5.3.0GA/app/bin/cmodify.c:202:45: note: Second condition xtrkcad-source-5.3.0GA/app/bin/cmodify.c:220:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:216:6: note: rc is assigned xtrkcad-source-5.3.0GA/app/bin/cmodify.c:220:6: note: rc is overwritten xtrkcad-source-5.3.0GA/app/bin/cmodify.c:312:3: style: Variable 'tempSegs_da.cnt' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:307:3: note: tempSegs_da.cnt is assigned xtrkcad-source-5.3.0GA/app/bin/cmodify.c:312:3: note: tempSegs_da.cnt is overwritten xtrkcad-source-5.3.0GA/app/bin/cmodify.c:554:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] xtrkcad-source-5.3.0GA/app/bin/cnote.c:90:8: style: Variable 'noteText' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:260:16: style: Local variable 'trackGauge' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/track.h:41:15: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cmodify.c:260:16: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cmodify.c:420:13: style: Local variable 'a' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:253:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cmodify.c:420:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cmodify.c:718:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cmodify.c:720:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cnvdsgn.c:64:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/command.c:98:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/command.c:149:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/command.c:210:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLDown [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/command.c:271:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionMove [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/command.c:379:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/command.c:441:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_COMMAND_DISABLED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/command.c:728:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:980:19: warning: Either the condition 'i<5' is redundant or the array 'drawData.endPt[4]' is accessed at index 4, which is out of bounds. [arrayIndexOutOfBoundsCond] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:979:9: note: Assuming that condition 'i<5' is not redundant xtrkcad-source-5.3.0GA/app/bin/cdraw.c:980:19: note: Array index out of bounds xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2092:4: error:inconclusive: Array 'xx->segs[0].u.l.pos[4]' accessed at index -1, which is out of bounds. [negativeIndex] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2090:14: note: Assignment 'i=0', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2092:4: note: Negative array index xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1330:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1411:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:680:6: style: Redundant assignment of 'segPtr->u.p.pts[i].pt' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:688:6: style: Redundant assignment of 'segPtr->u.l.pos[i]' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:693:5: style: Redundant assignment of 'segPtr->u.c.center' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:696:5: style: Redundant assignment of 'segPtr->u.t.pos' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:768:5: style: Redundant assignment of 'end0' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:769:5: style: Redundant assignment of 'end1' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1471:5: style: Redundant assignment of 'segPtr->u.p.pts[i].pt' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1479:5: style: Redundant assignment of 'segPtr->u.l.pos[i]' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1484:4: style: Redundant assignment of 'segPtr->u.c.center' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1487:4: style: Redundant assignment of 'segPtr->u.t.pos' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1950:5: style: Redundant assignment of 'segPtr->u.p.pts[i].pt' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1958:5: style: Redundant assignment of 'segPtr->u.l.pos[i]' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1963:4: style: Redundant assignment of 'segPtr->u.c.center' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1967:4: style: Redundant assignment of 'segPtr->u.t.pos' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2102:3: style: Redundant assignment of 'start' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2105:3: style: Redundant assignment of 'end' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2335:4: style: Redundant assignment of 'end' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2347:5: style: Redundant assignment of 'temp.u.p.pts[j].pt' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2352:5: style: Redundant assignment of 'temp.u.p.pts[j].pt' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2374:4: style: Redundant assignment of 'end' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2378:6: style: Redundant assignment of 'xx->segs[0].u.p.pts[i].pt' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2385:6: style: Redundant assignment of 'xx->segs[0].u.p.pts[i].pt' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2400:4: style: Redundant assignment of 'end' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2404:6: style: Redundant assignment of 'xx->segs[0].u.p.pts[i].pt' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2410:6: style: Redundant assignment of 'xx->segs[0].u.p.pts[i].pt' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/command.c:452:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/command.c:449:6: note: rc is assigned xtrkcad-source-5.3.0GA/app/bin/command.c:452:6: note: rc is overwritten xtrkcad-source-5.3.0GA/app/bin/command.c:504:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/command.c:473:6: note: rc is assigned xtrkcad-source-5.3.0GA/app/bin/command.c:504:5: note: rc is overwritten xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2486:6: style: Redundant assignment of 'newpts[j].pt' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/command.c:643:75: style: Parameter 'cmdMenus' can be declared as const array [constParameter] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:3029:14: style: Redundant assignment of 'lineColor' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2934:16: style: Variable 'controls[2]' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2933:16: note: controls[2] is assigned xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2934:16: note: controls[2] is overwritten xtrkcad-source-5.3.0GA/app/bin/command.c:222:14: style: Variable 'timeDelta' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/command.c:223:14: style: Variable 'distDelta' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:3443:22: style:inconclusive: Function 'MenuMode' argument 1 names different: declaration 'moveVP' definition 'modeVP'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/track.h:585:23: note: Function 'MenuMode' argument 1 names different: declaration 'moveVP' definition 'modeVP'. xtrkcad-source-5.3.0GA/app/bin/cdraw.c:3443:22: note: Function 'MenuMode' argument 1 names different: declaration 'moveVP' definition 'modeVP'. xtrkcad-source-5.3.0GA/app/bin/cdraw.c:642:10: style: Local variable 'off' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:631:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cdraw.c:642:10: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2142:10: style: Local variable 'back' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2059:9: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2142:10: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2162:11: style: Local variable 'start' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2060:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2162:11: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2162:17: style: Local variable 'end' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2060:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2162:17: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2795:10: style: Local variable 'p0' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2758:13: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2795:10: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2795:13: style: Local variable 'p1' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2758:16: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2795:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2893:16: style: Local variable 'infoSubst' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1561:15: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2893:16: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2234:32: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2235:32: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2236:32: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2237:32: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:494:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1904:11: style: Variable 'segPtr' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1994:16: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ReplayDraw' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2713:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cdraw.c:1994:16: note: Parameter 'data' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2009:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:3390:16: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2803:12: error: Uninitialized struct member: p1.x [uninitStructMember] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2803:12: error: Uninitialized struct member: p1.y [uninitStructMember] xtrkcad-source-5.3.0GA/app/bin/compound.c:451:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/compound.c:523:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/compound.c:588:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLUp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/compound.c:785:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_ENTERED_STRING_TRUNCATED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/compound.c:1664:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cparalle.c:75:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cparalle.c:301:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parallel_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:3192:9: style: struct member 'drawData_t::shortName' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/cparalle.c:120:10: style: Condition 'Dpa.anchor_Trk' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:3233:7: style: struct member 'drawStuff_t::acclKey' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:3235:6: style: struct member 'drawStuff_t::curr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2142:15: style: Variable 'back' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cdraw.c:2247:7: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cprint.c:262:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:396:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:457:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:660:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x0 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:752:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x0 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:888:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:987:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1028:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1170:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wCursorWait [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1312:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PRINT_NO_PAGES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1429:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1575:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doc_print_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:209:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:454:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:627:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:736:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:838:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trk [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:977:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:1023:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:1067:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PST_NOT_ON_PATH [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:1097:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PASSERT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:1261:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PASSERT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:1303:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:1433:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:1523:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable profile_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/compound.c:591:15: style: The if condition is the same as the previous if condition [duplicateCondition] xtrkcad-source-5.3.0GA/app/bin/compound.c:588:14: note: First condition xtrkcad-source-5.3.0GA/app/bin/compound.c:591:15: note: Second condition xtrkcad-source-5.3.0GA/app/bin/compound.c:1223:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/compound.c:76:20: warning: Either the condition 'paths!=NULL' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] xtrkcad-source-5.3.0GA/app/bin/compound.c:75:2: note: Assuming that condition 'paths!=NULL' is not redundant xtrkcad-source-5.3.0GA/app/bin/compound.c:76:13: note: Assignment 'pp=paths', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/compound.c:76:20: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/compound.c:805:12: style: Variable 'flipped' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/compound.c:792:11: note: flipped is assigned xtrkcad-source-5.3.0GA/app/bin/compound.c:805:12: note: flipped is overwritten xtrkcad-source-5.3.0GA/app/bin/compound.c:811:14: style: Variable 'ungrouped' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/compound.c:793:13: note: ungrouped is assigned xtrkcad-source-5.3.0GA/app/bin/compound.c:811:14: note: ungrouped is overwritten xtrkcad-source-5.3.0GA/app/bin/compound.c:817:10: style: Variable 'split' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/compound.c:794:9: note: split is assigned xtrkcad-source-5.3.0GA/app/bin/compound.c:817:10: note: split is overwritten xtrkcad-source-5.3.0GA/app/bin/compound.c:54:31: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/compound.c:153:31: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/compound.c:177:42: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/compound.c:279:8: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/compound.c:279:14: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/compound.c:372:49: style: Parameter 'scale' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/compound.c:372:63: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/compound.c:409:42: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/compound.c:1298:16: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/compound.c:1510:22: style: Variable 'toBest' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/compound.c:712:7: style: struct member 'Anonymous18::pathCnt' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/compound.c:305:7: style: Variable 'len' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/compound.c:349:12: style: Variable 'needSep' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:623:14: style: Variable 'screenRatio' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:620:14: note: screenRatio is assigned xtrkcad-source-5.3.0GA/app/bin/cprofile.c:623:14: note: screenRatio is overwritten xtrkcad-source-5.3.0GA/app/bin/cprofile.c:223:9: style: Local variable 'textsize' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:206:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cprofile.c:223:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cprofile.c:439:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:821:54: style: Parameter 'data' can be declared as pointer to const. However it seems that 'CloseProfileWindow' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:1443:68: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cprofile.c:821:54: note: Parameter 'data' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cprofile.c:872:23: style: Parameter 'junk' can be declared as pointer to const. However it seems that 'DoProfileChange' is a callback function, if 'junk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:704:15: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cprofile.c:872:23: note: Parameter 'junk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cprofile.c:879:34: style: Parameter 'junk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cprofile.c:896:40: style: Parameter 'junk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cpull.c:91:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trk [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cpull.c:500:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TOO_FAR_APART_DIVERGE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cpull.c:629:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cpull.c:744:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cpull.c:911:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionText [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cpull.c:919:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connect_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:369:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1066:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1068:4: note: Found duplicate branches for 'if' and 'else'. xtrkcad-source-5.3.0GA/app/bin/cprint.c:1066:2: note: Found duplicate branches for 'if' and 'else'. xtrkcad-source-5.3.0GA/app/bin/cprint.c:1084:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1086:4: note: Found duplicate branches for 'if' and 'else'. xtrkcad-source-5.3.0GA/app/bin/cprint.c:1084:2: note: Found duplicate branches for 'if' and 'else'. xtrkcad-source-5.3.0GA/app/bin/cprint.c:412:8: style: Variable 'p00.y' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/cprint.c:408:8: note: p00.y is assigned xtrkcad-source-5.3.0GA/app/bin/cprint.c:412:8: note: p00.y is overwritten xtrkcad-source-5.3.0GA/app/bin/cprint.c:1143:12: style: Local variable 'i' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1098:6: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cprint.c:1143:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cprint.c:1445:8: style: Local variable 'rc' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1424:11: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cprint.c:1445:8: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cprint.c:359:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cprint.c:432:16: style: Parameter 'corners' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cruler.c:104:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cruler.c:225:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cruler.c:290:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cruler.c:364:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cruler.c:392:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ruler_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cprint.c:818:7: style: Variable 'size' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1482:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1489:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1496:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cprint.c:1537:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/csensor.c:192:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_ENTERED_STRING_TRUNCATED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csensor.c:482:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csensor.c:586:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sensor_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csensor.c:600:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sensor_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csensor.c:456:3: warning:inconclusive: The buffer 'sensorEditName' may not be null-terminated after the call to strncpy(). [terminateStrncpy] xtrkcad-source-5.3.0GA/app/bin/csensor.c:457:3: warning:inconclusive: The buffer 'sensorEditScript' may not be null-terminated after the call to strncpy(). [terminateStrncpy] xtrkcad-source-5.3.0GA/app/bin/csensor.c:224:7: style: The if condition is the same as the previous if condition [duplicateCondition] xtrkcad-source-5.3.0GA/app/bin/csensor.c:221:7: note: First condition xtrkcad-source-5.3.0GA/app/bin/csensor.c:224:7: note: Second condition xtrkcad-source-5.3.0GA/app/bin/csensor.c:173:9: style: Local variable 'changed' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:264:17: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/csensor.c:173:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/csensor.c:146:50: style: Parameter 'p' can be declared as pointer to const. However it seems that 'DistanceSensor' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/csensor.c:351:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/csensor.c:146:50: note: Parameter 'p' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/csensor.c:332:35: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'RotateSensor' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/csensor.c:357:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/csensor.c:332:35: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/csensor.c:336:36: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'RescaleSensor' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/csensor.c:358:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/csensor.c:336:36: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cselect.c:121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:141:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:170:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:198:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:222:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:251:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wCursorNone [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:260:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:669:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_SEL_TRK_FROZEN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:685:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:711:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:769:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:780:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionText [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:868:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:888:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:906:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:924:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:960:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1015:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1060:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1078:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1260:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wCursorWait [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1393:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wCursorWait [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1555:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1725:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1967:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:2554:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:2744:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wCursorWait [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:2795:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:2856:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3022:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WKEY_CTRL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3138:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3150:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLDownDouble [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3174:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLDown [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3628:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable select_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3639:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bmendpt_bits [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3759:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delete_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3767:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ties_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3774:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tunnel_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3781:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bridge_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3788:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable roadbed_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3797:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable description_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3805:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable move_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:266:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_ENTERED_STRING_TRUNCATED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:334:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aspectName [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:356:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aspectName [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:402:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aspectName [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:566:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aspectName [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:617:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aspectName [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:638:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aspectName [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:670:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aspectName [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:709:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aspectName [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:750:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RECALLSIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:810:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:918:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable signal_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:932:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable signal_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csnap.c:190:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cross0_bits [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csnap.c:397:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csnap.c:433:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WKEY_ALT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csnap.c:591:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_GRID_ENABLE_SPACE_GTR_0 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csnap.c:621:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_GRID_SHOW_SPACE_GTR_0 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csnap.c:731:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csnap.c:816:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WALT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csnap.c:839:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable snap_curs_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csignal.c:670:3: warning:inconclusive: The buffer 'signalAspectEditName' may not be null-terminated after the call to strncpy(). [terminateStrncpy] xtrkcad-source-5.3.0GA/app/bin/csignal.c:671:3: warning:inconclusive: The buffer 'signalAspectEditScript' may not be null-terminated after the call to strncpy(). [terminateStrncpy] xtrkcad-source-5.3.0GA/app/bin/csignal.c:760:3: warning:inconclusive: The buffer 'signalEditName' may not be null-terminated after the call to strncpy(). [terminateStrncpy] xtrkcad-source-5.3.0GA/app/bin/csignal.c:249:9: style: Local variable 'changed' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:264:17: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/csignal.c:249:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/csignal.c:221:50: style: Parameter 'p' can be declared as pointer to const. However it seems that 'DistanceSignal' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/csignal.c:456:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/csignal.c:221:50: note: Parameter 'p' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/csignal.c:441:36: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'RescaleSignal' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/csignal.c:463:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/csignal.c:441:36: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/csignal.c:699:31: style: Parameter 'action' can be declared as pointer to const. However it seems that 'AspectAdd' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/csignal.c:525:21: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/csignal.c:699:31: note: Parameter 'action' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/csnap.c:569:38: style: Same expression 'grid.Horz.Division!=oldGrid.Horz.Division' found multiple times in chain of '||' operators. [duplicateExpression] xtrkcad-source-5.3.0GA/app/bin/csnap.c:108:17: style: Parameter 'size' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/csnap.c:142:17: style: Parameter 'size' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/csnap.c:479:41: style: Parameter 'gridP' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/csnap.c:820:36: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'SnapGridEnable' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/csnap.c:839:88: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/csnap.c:820:36: note: Parameter 'unused' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/csnap.c:827:34: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'SnapGridShow' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/csnap.c:841:101: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/csnap.c:827:34: note: Parameter 'unused' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/csnap.c:126:5: style: Variable 'r' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/csnap.c:128:5: style: Variable 'r' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/csplit.c:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csplit.c:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csplit.c:136:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csplit.c:306:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csplit.c:370:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csplit.c:506:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable split_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/csplit.c:453:10: style: Local variable 'pos1' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/csplit.c:401:9: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/csplit.c:453:10: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cstraigh.c:51:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstraigh.c:69:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstraigh.c:205:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable straight_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstraigh.c:111:3: style: Variable 'tempSegs_da.cnt' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/cstraigh.c:106:3: note: tempSegs_da.cnt is assigned xtrkcad-source-5.3.0GA/app/bin/cstraigh.c:111:3: note: tempSegs_da.cnt is overwritten xtrkcad-source-5.3.0GA/app/bin/cstraigh.c:135:11: style: Variable 'found' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cstraigh.c:148:10: style: Variable 'found' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:207:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paramFileIndex [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:300:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:616:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:644:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wIndex_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:686:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:705:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:740:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WKEY_ALT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:849:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:1028:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:1126:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:1177:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:1247:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable building_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cselect.c:2330:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/cselect.c:2344:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/cselect.c:2974:30: style: Condition 'add' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cselect.c:2307:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/cselect.c:2315:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3490:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3489:8: note: rc is assigned xtrkcad-source-5.3.0GA/app/bin/cselect.c:3490:8: note: rc is overwritten xtrkcad-source-5.3.0GA/app/bin/cselect.c:471:40: style:inconclusive: Function 'OrphanedTrackSelect' argument 1 names different: declaration 'unused' definition 'ptr'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/cselect.h:40:34: note: Function 'OrphanedTrackSelect' argument 1 names different: declaration 'unused' definition 'ptr'. xtrkcad-source-5.3.0GA/app/bin/cselect.c:471:40: note: Function 'OrphanedTrackSelect' argument 1 names different: declaration 'unused' definition 'ptr'. xtrkcad-source-5.3.0GA/app/bin/cselect.c:1025:6: style: Local variable 'mode' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cselect.c:107:28: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cselect.c:1025:6: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cselect.c:2146:12: style: Local variable 'pos1' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1957:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cselect.c:2146:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cselect.c:2327:9: style: Local variable 'message' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:37:13: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cselect.c:2327:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cselect.c:2425:6: style: Local variable 'mode' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cselect.c:107:28: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cselect.c:2425:6: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cselect.c:2546:13: style: Local variable 'mode' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cselect.c:107:28: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cselect.c:2546:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cselect.c:3084:15: style: Local variable 'max' shadows outer function [shadowFunction] xtrkcad-source-5.3.0GA/app/bin/utility.h:43:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cselect.c:3084:15: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cselect.c:3534:12: style: Local variable 'trk' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3166:17: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cselect.c:3534:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cselect.c:82:28: style: Parameter 'T' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cselect.c:523:17: style: Parameter 'trk_ignore' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1104:44: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1137:43: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3602:33: style: Parameter 'line' can be declared as pointer to const. However it seems that 'SetMoveMode' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3648:48: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cselect.c:3602:33: note: Parameter 'line' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cstruct.c:1093:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:256:18: style: Variable 'to' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:434:39: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'QueryStructure' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:489:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cstruct.c:434:39: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cstruct.c:451:30: style: Variable 'xx2' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:577:16: style: Variable 'lastScaleName' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:1121:17: style: Parameter 'origP' can be declared as pointer to const. However it seems that 'CmdStructureHotBarProc' is a callback function, if 'origP' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cstruct.c:1167:39: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cstruct.c:1121:17: note: Parameter 'origP' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cselect.c:232:6: style: Variable 'c.x' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cselect.c:1330:2: style: Variable 'cornu_segs.cnt' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cselect.c:2020:9: style: Variable 'pos1' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cselect.c:2095:22: style: Variable 'diff_angle' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cselect.c:3376:21: style: Variable 'AreaSelect' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:245:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:340:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:375:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:399:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:456:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:490:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:567:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:601:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:620:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:743:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:873:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable switch_motor_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:889:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable switch_motor_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctext.c:117:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctext.c:274:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctext.c:233:16: style: The statement 'if (Dt.state!=POSITION_TEXT) Dt.state=POSITION_TEXT' is logically equivalent to 'Dt.state=POSITION_TEXT'. [duplicateConditionalAssign] xtrkcad-source-5.3.0GA/app/bin/ctext.c:234:13: note: Assignment 'Dt.state=POSITION_TEXT' xtrkcad-source-5.3.0GA/app/bin/ctext.c:233:16: note: Condition 'Dt.state!=POSITION_TEXT' is redundant xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:766:2: warning:inconclusive: The buffer 'switchmotorEditName' may not be null-terminated after the call to strncpy(). [terminateStrncpy] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:767:2: warning:inconclusive: The buffer 'switchmotorEditNormal' may not be null-terminated after the call to strncpy(). [terminateStrncpy] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:768:2: warning:inconclusive: The buffer 'switchmotorEditReverse' may not be null-terminated after the call to strncpy(). [terminateStrncpy] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:769:2: warning:inconclusive: The buffer 'switchmotorEditPointSense' may not be null-terminated after the call to strncpy(). [terminateStrncpy] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:243:9: style: Local variable 'changed' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:264:17: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:243:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:156:30: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:194:30: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:508:38: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'MoveSwitchMotor' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:521:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:508:38: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:509:40: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'RotateSwitchMotor' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:522:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:509:40: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:510:41: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'RescaleSwitchMotor' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:523:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:510:41: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cswitchmotor.c:546:41: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:205:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_ENTERED_STRING_TRUNCATED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:777:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loco [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:842:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:929:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loco [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:1077:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loco [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:1198:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:1246:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wIndex_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:1480:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:1601:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:1659:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:1975:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2004:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2109:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2317:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2550:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CANT_MOVE_UNDER_TRAIN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2598:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:3037:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:3199:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zero_xpm [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:224:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paramFileIndex [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:323:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:678:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:728:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:928:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:986:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WKEY_SHIFT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1289:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1371:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1497:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1699:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_MOVED_BEFORE_END_TURNOUT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1922:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2084:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2116:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wIndex_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2161:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLDown [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2266:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2342:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2451:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trk [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2710:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2729:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2775:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2959:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:3064:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:3120:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:3191:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable turnout_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:1309:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TODSGN_NO_CONVERGE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:1344:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:1649:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:2750:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:2891:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TODSGN_REPLACE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:3178:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x0 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:3505:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_SEGMENTS_DIFFER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2027:18: style: The if condition is the same as the previous if condition [duplicateCondition] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2022:18: note: First condition xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2027:18: note: Second condition xtrkcad-source-5.3.0GA/app/bin/ctrain.c:204:7: style: Condition 'max_str' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:203:19: note: Assignment 'max_str=sizeof(carData.number)', assigned value is 256 xtrkcad-source-5.3.0GA/app/bin/ctrain.c:204:7: note: Condition 'max_str' is always true xtrkcad-source-5.3.0GA/app/bin/ctrain.c:928:47: style: Condition 'dlg->train' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:204:25: warning: Either the condition 'cp' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:207:7: note: Assuming that condition 'cp' is not redundant xtrkcad-source-5.3.0GA/app/bin/ctrain.c:204:25: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/ctrain.c:319:38: style:inconclusive: Function 'CheckCarTraverse' argument 1 names different: declaration 'trk' definition 'track'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/ctrain.h:82:32: note: Function 'CheckCarTraverse' argument 1 names different: declaration 'trk' definition 'track'. xtrkcad-source-5.3.0GA/app/bin/ctrain.c:319:38: note: Function 'CheckCarTraverse' argument 1 names different: declaration 'trk' definition 'track'. xtrkcad-source-5.3.0GA/app/bin/ctrain.c:248:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:319:38: style: Parameter 'track' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:348:26: style: Variable 'xx1' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:568:17: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'WriteCar' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:648:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/ctrain.c:568:17: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/ctrain.c:569:16: style: Parameter 'f' can be declared as pointer to const. However it seems that 'WriteCar' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:648:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/ctrain.c:569:16: note: Parameter 'f' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/ctrain.c:603:32: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'QueryCar' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:665:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/ctrain.c:603:32: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/ctrain.c:636:37: style: Parameter 'trk1' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:636:52: style: Parameter 'trk2' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:772:17: style: Parameter 'loco' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:1502:26: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:1614:10: style: Variable 'loco' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:1801:25: style: Parameter 'trvTrkP' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2313:39: style: Parameter 'line' can be declared as pointer to const. However it seems that 'TrainTimeDoPause' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:3246:48: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2313:39: note: Parameter 'line' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2516:17: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2520:26: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:3002:42: style: Parameter 'line' can be declared as pointer to const. However it seems that 'TrainStopGoPlayback' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:3245:49: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/ctrain.c:3002:42: note: Parameter 'line' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/ctrain.c:1393:8: style: struct member 'Anonymous20::pos0' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:154:2: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2007:11: style: Variable 'car_curr' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2014:6: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2544:2: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:2713:35: style: Variable 'xx1' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:3109:3: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:3113:3: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ctrain.c:3034:7: style: Unused variable: describe_str [unusedVariable] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:162:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_ROOM_BTW_TRKS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:454:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CANT_SPLIT_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:668:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:740:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TOO_FAR_APART_DIVERGE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:752:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_JOIN_TURNTABLE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:791:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_POINT_INSIDE_TURNTABLE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:1018:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:1091:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable turntable_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:944:16: style: Condition 'epfound>=0' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:935:13: note: Assuming that condition 'epfound>=0' is not redundant xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:944:16: note: Condition 'epfound>=0' is always true xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:944:31: style: Condition 'epfound!=xx->currEp' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:316:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:353:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:953:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:956:5: note: Found duplicate branches for 'if' and 'else'. xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:953:3: note: Found duplicate branches for 'if' and 'else'. xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:467:28: style: Redundant initialization for 'epCnt'. The initialized value is overwritten before it is read. [redundantInitialization] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:465:28: note: epCnt is initialized xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:467:28: note: epCnt is overwritten xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:133:31: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:179:31: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:201:31: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:245:31: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:314:31: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:338:38: style: Parameter 't' can be declared as pointer to const. However it seems that 'DeleteTurntable' is a callback function, if 't' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:974:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:338:38: note: Parameter 't' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:344:31: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:434:31: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:507:32: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:544:32: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:566:32: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:625:31: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:805:32: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:823:39: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'QueryTurntable' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:992:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:823:39: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:859:32: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:885:31: style: Variable 'xx1' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturntbl.c:887:31: style: Variable 'xx2' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:2928:8: style: Redundant assignment of 'flt' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:915:12: style: Local variable 'zero' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:39:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:915:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:1272:11: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:1370:14: style: Variable 'sub_seg' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:1404:8: style: Variable 'segOrder' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:2689:21: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:1105:11: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:1100:14: note: Assignment 'bitWidth=31', assigned value is 31 xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:1105:11: note: Shift xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:2415:25: error: Uninitialized variable: center [legacyUninitvar] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:2415:25: error: Uninitialized struct member: center.x [uninitStructMember] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:2415:25: error: Uninitialized struct member: center.y [uninitStructMember] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1924:23: style: Condition 'track' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1885:7: note: Assuming that condition 'track' is not redundant xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1924:23: note: Condition 'track' is always false xtrkcad-source-5.3.0GA/app/bin/cturnout.c:863:14: style: Variable 'dists[dir]' is assigned an expression that holds the same value. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:849:19: note: dists[dir] is assigned 'dist' here. xtrkcad-source-5.3.0GA/app/bin/cturnout.c:854:54: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/bin/cturnout.c:863:14: note: Variable 'dists[dir]' is assigned an expression that holds the same value. xtrkcad-source-5.3.0GA/app/bin/cturnout.c:216:25: style:inconclusive: Function 'DeleteTurnoutParams' argument 1 names different: declaration 'fileInx' definition 'fileIndex'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/compound.h:182:30: note: Function 'DeleteTurnoutParams' argument 1 names different: declaration 'fileInx' definition 'fileIndex'. xtrkcad-source-5.3.0GA/app/bin/cturnout.c:216:25: note: Function 'DeleteTurnoutParams' argument 1 names different: declaration 'fileInx' definition 'fileIndex'. xtrkcad-source-5.3.0GA/app/bin/cturnout.c:814:15: style:inconclusive: Function 'TurnoutPickEndPt' argument 1 names different: declaration 'p' definition 'epPos'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/compound.h:174:33: note: Function 'TurnoutPickEndPt' argument 1 names different: declaration 'p' definition 'epPos'. xtrkcad-source-5.3.0GA/app/bin/cturnout.c:814:15: note: Function 'TurnoutPickEndPt' argument 1 names different: declaration 'p' definition 'epPos'. xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1616:31: style: Local variable 'xx' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1543:30: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1616:31: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2465:13: style: Local variable 'j' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2412:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2465:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2566:12: style: Local variable 'a' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2410:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2566:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2569:13: style: Local variable 'a' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2566:12: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2569:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2632:12: style: Local variable 'd' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2409:9: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2632:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2634:14: style: Local variable 'a' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2410:10: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2634:14: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/cundo.c:199:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:205:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:234:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:260:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_UNDO_ASSERT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:318:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:347:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:387:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:431:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:505:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:618:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:685:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:797:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:902:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:936:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:995:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:1035:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:1068:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_UNDO [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:1155:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_REDO [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1606:53: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1664:53: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:279:18: style: Variable 'to' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:688:37: style: Parameter 'xx' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1950:30: style: Variable 'xx2' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:2045:15: style: Variable 'lastScaleName' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:3059:16: style: Parameter 'origP' can be declared as pointer to const. However it seems that 'CmdTurnoutHotBarProc' is a callback function, if 'origP' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:3101:38: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/cturnout.c:3059:16: note: Parameter 'origP' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:2205:11: style: Variable 'pathLen' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/ctodesgn.c:2612:10: style: Variable 'pathLen' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/cturnout.c:1576:8: style: Variable 'seg' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/custom.c:76:39: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dbench.c:186:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dbitmap.c:114:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dbitmap.c:149:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wCursorWait [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dbitmap.c:427:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_BITMAP_SIZE_WARNING [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dbitmap.c:313:12: style: Local variable 'message' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:37:13: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/dbitmap.c:313:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/dbitmap.c:331:12: style: Local variable 'message' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:37:13: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/dbitmap.c:331:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/dbench.c:57:10: style: struct member 'orientData_t::xpm' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:89:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:120:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:150:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable new [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:157:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:199:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:377:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:590:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable customInfo [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:628:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable turnout_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/cundo.c:119:19: style: Condition 'rbuff_record>=1' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cundo.c:1082:6: style: Condition '!redrawAll' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cundo.c:1081:14: note: Assignment 'redrawAll=!0', assigned value is 1 xtrkcad-source-5.3.0GA/app/bin/cundo.c:1082:6: note: Condition '!redrawAll' is always false xtrkcad-source-5.3.0GA/app/bin/cundo.c:1169:6: style: Condition '!redrawAll' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/cundo.c:1168:14: note: Assignment 'redrawAll=!0', assigned value is 1 xtrkcad-source-5.3.0GA/app/bin/cundo.c:1169:6: note: Condition '!redrawAll' is always false xtrkcad-source-5.3.0GA/app/bin/cundo.c:326:3: style: Unsigned expression 'binx' can't be negative so it is unnecessary to test it. [unsignedPositive] xtrkcad-source-5.3.0GA/app/bin/cundo.c:336:3: style: Unsigned expression 'binx' can't be negative so it is unnecessary to test it. [unsignedPositive] xtrkcad-source-5.3.0GA/app/bin/cundo.c:394:2: style: Unsigned expression 'cnt' can't be negative so it is unnecessary to test it. [unsignedPositive] xtrkcad-source-5.3.0GA/app/bin/cundo.c:443:2: style: Unsigned expression 'cnt' can't be negative so it is unnecessary to test it. [unsignedPositive] xtrkcad-source-5.3.0GA/app/bin/cundo.c:262:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/cundo.c:210:62: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/cundo.c:217:14: style: Variable 'zeros' can be declared as const array [constVariable] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:190:16: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:656:16: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:665:10: style: Variable 'itemContext' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:287:7: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:291:7: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/dcmpnd.c:296:7: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/dcontmgm.c:309:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RECALLSIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcontmgm.c:237:11: style: Variable 'context' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:162:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CUSTMGM_DELETE_CONFIRM [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:219:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CUSTMGM_CANT_WRITE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:284:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_UPDATE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:408:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RECALLSIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:281:34: style:inconclusive: Function 'CustomExport' argument 1 names different: declaration 'action' definition 'junk'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:37:34: note: Function 'CustomExport' argument 1 names different: declaration 'action' definition 'junk'. xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:281:34: note: Function 'CustomExport' argument 1 names different: declaration 'action' definition 'junk'. xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:138:34: style: Parameter 'action' can be declared as pointer to const. However it seems that 'CustomNewCar' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:56:17: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:138:34: note: Parameter 'action' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:84:8: style: Variable 'lcnt' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/dcustmgm.c:338:11: style: Variable 'context' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/dease.c:288:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ease_none_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dease.c:88:16: style: Parameter 'update' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/denum.c:154:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_SAVE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/denum.c:182:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xtrkcad-source-5.3.0GA/app/bin/denum.c:128:10: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] xtrkcad-source-5.3.0GA/app/bin/denum.c:63:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/denum.c:119:16: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/denum.c:120:16: style: Parameter 'indexes' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/denum.c:147:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/directory.c:42:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/directory.c:72:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:708:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paramFileIndex [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1074:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1140:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cnt [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1640:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wIndex_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:2187:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:2815:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:2903:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:3361:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:3681:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:3687:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:3754:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4245:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CARDESC_CHANGED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4287:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4600:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RESIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4662:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_CARPROTO [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4769:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4778:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_CARPROTO [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4842:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CARINV_DELETE_CONFIRM [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4894:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OPEN_FAIL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5026:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_SAVE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5093:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CARIMP_EOL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5150:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OPEN_FAIL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5322:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_LOAD [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5395:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OPEN_FAIL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5452:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_SAVE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5688:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RESIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5859:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable carpart_xpm [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/directory.c:95:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] xtrkcad-source-5.3.0GA/app/bin/doption.c:155:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wBool_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/doption.c:497:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CONN_PARAMS_TOO_SMALL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/doption.c:60:7: style: Local variable 'changed' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:264:17: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/doption.c:60:7: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/dlayer.c:336:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_LAYER_HIDE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:373:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_LAYER_SEL_FROZEN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1064:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_EMPTY_LAYER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1297:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_EMPTY_LAYER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1355:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_EMPTY_LAYER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1392:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_LAYER_FREEZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1597:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_EMPTY_LAYER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1702:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1787:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NOT_UNFROZEN_LAYER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2022:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wIndex_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2331:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable background_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dpricels.c:156:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wIndex_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:168:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:413:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable greydot [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:257:38: style:inconclusive: Function 'ParamFileFavorite' argument 1 names different: declaration 'favorite' definition 'setFavorite'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:59:38: note: Function 'ParamFileFavorite' argument 1 names different: declaration 'favorite' definition 'setFavorite'. xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:257:38: note: Function 'ParamFileFavorite' argument 1 names different: declaration 'favorite' definition 'setFavorite'. xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:407:26: style:inconclusive: Function 'DoParamFiles' argument 1 names different: declaration 'unused' definition 'junk'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/fileio.h:110:26: note: Function 'DoParamFiles' argument 1 names different: declaration 'unused' definition 'junk'. xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:407:26: note: Function 'DoParamFiles' argument 1 names different: declaration 'unused' definition 'junk'. xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:257:38: style: Parameter 'setFavorite' can be declared as pointer to const. However it seems that 'ParamFileFavorite' is a callback function, if 'setFavorite' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:77:17: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:257:38: note: Parameter 'setFavorite' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:378:16: style: Parameter 'valueP' can be declared as pointer to const. However it seems that 'ParamFileDlgUpdate' is a callback function, if 'valueP' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:432:71: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/dprmfile.c:378:16: note: Parameter 'valueP' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/draw.c:349:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:433:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:528:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:641:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawOptTransparent [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:983:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1008:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1034:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1073:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1102:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1246:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMBOBOX [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1452:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1472:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1511:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1594:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1646:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1720:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1797:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:1838:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:2160:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:2361:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:2383:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:2484:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:2560:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:2595:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WKEY_SHIFT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:2674:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:2849:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:3068:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLDown [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:3174:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionText [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:3214:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:3291:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BD_TICKS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:3354:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLDown [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:3520:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionText [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:3529:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pan_zoom_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1312:8: warning: Either the condition 'layer<=99' is redundant or the array 'layers[99]' is accessed at index 100, which is out of bounds. [arrayIndexOutOfBoundsCond] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1311:2: note: Assuming that condition 'layer<=99' is not redundant xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1312:8: note: Array index out of bounds xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1324:8: warning: Either the condition 'layer<=99' is redundant or the array 'layers[99]' is accessed at index 100, which is out of bounds. [arrayIndexOutOfBoundsCond] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1323:2: note: Assuming that condition 'layer<=99' is not redundant xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1324:8: note: Array index out of bounds xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1221:3: warning:inconclusive: The buffer 'layersSaved' may not be null-terminated after the call to strncpy(). [terminateStrncpy] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1222:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1286:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1694:9: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:184:39: style: Return value 'layer!=-1' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:184:16: note: Assuming that condition 'layer<=99' is not redundant xtrkcad-source-5.3.0GA/app/bin/dlayer.c:184:39: note: Return value 'layer!=-1' is always true xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2188:16: style: Condition 'n<100' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2139:20: note: Assuming that condition 'i<99' is not redundant xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2140:13: note: Assignment 'n=i+1', assigned value is less than 100 xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2188:16: note: Condition 'n<100' is always true xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1942:4: portability: %lu in format string (no. 12) requires 'unsigned long' but the argument type is 'SCALEINX_T {aka long}'. [invalidPrintfArgType_uint] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2342:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1699:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1018:29: style:inconclusive: Function 'FillLayerList' argument 1 names different: declaration 'layerList' definition 'listLayers'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/dlayer.h:60:28: note: Function 'FillLayerList' argument 1 names different: declaration 'layerList' definition 'listLayers'. xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1018:29: note: Function 'FillLayerList' argument 1 names different: declaration 'layerList' definition 'listLayers'. xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1309:41: style:inconclusive: Function 'IncrementLayerObjects' argument 1 names different: declaration 'index' definition 'layer'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/dlayer.h:66:41: note: Function 'IncrementLayerObjects' argument 1 names different: declaration 'index' definition 'layer'. xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1309:41: note: Function 'IncrementLayerObjects' argument 1 names different: declaration 'index' definition 'layer'. xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1321:41: style:inconclusive: Function 'DecrementLayerObjects' argument 1 names different: declaration 'index' definition 'layer'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/dlayer.h:65:41: note: Function 'DecrementLayerObjects' argument 1 names different: declaration 'index' definition 'layer'. xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1321:41: note: Function 'DecrementLayerObjects' argument 1 names different: declaration 'index' definition 'layer'. xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1764:15: style: Local variable 'layerLinkList' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:500:13: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1764:15: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2139:11: style: Local variable 'i' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2127:15: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2139:11: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2337:11: style: Local variable 'i' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2127:15: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2337:11: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2338:9: style: Local variable 'layerName' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:499:13: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2338:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/dlayer.c:300:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:424:38: style: Parameter 'line' can be declared as pointer to const. However it seems that 'PlaybackCurrLayer' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2354:34: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/dlayer.c:424:38: note: Parameter 'line' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/dlayer.c:602:54: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1075:41: style: Parameter 'prefName' can be declared as const array [constParameter] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1088:39: style: Parameter 'prefName' can be declared as const array [constParameter] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1182:41: style: Parameter 'prefName' can be declared as const array [constParameter] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:1195:39: style: Parameter 'prefName' can be declared as const array [constParameter] xtrkcad-source-5.3.0GA/app/bin/dlayer.c:2135:6: style: Variable 'dx_table' can be declared as const array [constVariable] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:55:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_POLY_SHAPES_3_SIDES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:104:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:134:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:166:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:212:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1072:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1084:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1103:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wCursorNone [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1130:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1180:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1221:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1255:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1837:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1864:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:2017:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/draw.c:2391:26: style: Redundant condition: mainD.scale==1.0. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] xtrkcad-source-5.3.0GA/app/bin/draw.c:2464:8: style: Condition '1!=(intptr_t)1' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/draw.c:1680:7: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/draw.c:1657:7: note: size is assigned xtrkcad-source-5.3.0GA/app/bin/draw.c:1680:7: note: size is overwritten xtrkcad-source-5.3.0GA/app/bin/draw.c:2378:30: style:inconclusive: Function 'DoZoomUp' argument 1 names different: declaration 'modeVP' definition 'mode'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/draw.h:269:22: note: Function 'DoZoomUp' argument 1 names different: declaration 'modeVP' definition 'mode'. xtrkcad-source-5.3.0GA/app/bin/draw.c:2378:30: note: Function 'DoZoomUp' argument 1 names different: declaration 'modeVP' definition 'mode'. xtrkcad-source-5.3.0GA/app/bin/draw.c:2420:35: style:inconclusive: Function 'DoZoomExtents' argument 1 names different: declaration 'modeVP' definition 'mode'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/draw.h:271:28: note: Function 'DoZoomExtents' argument 1 names different: declaration 'modeVP' definition 'mode'. xtrkcad-source-5.3.0GA/app/bin/draw.c:2420:35: note: Function 'DoZoomExtents' argument 1 names different: declaration 'modeVP' definition 'mode'. xtrkcad-source-5.3.0GA/app/bin/draw.c:2479:33: style:inconclusive: Function 'DoZoomDown' argument 1 names different: declaration 'modeVP' definition 'mode'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/draw.h:270:24: note: Function 'DoZoomDown' argument 1 names different: declaration 'modeVP' definition 'mode'. xtrkcad-source-5.3.0GA/app/bin/draw.c:2479:33: note: Function 'DoZoomDown' argument 1 names different: declaration 'modeVP' definition 'mode'. xtrkcad-source-5.3.0GA/app/bin/draw.c:2556:28: style:inconclusive: Function 'PanHere' argument 1 names different: declaration 'modeVP' definition 'mode'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/draw.h:272:21: note: Function 'PanHere' argument 1 names different: declaration 'modeVP' definition 'mode'. xtrkcad-source-5.3.0GA/app/bin/draw.c:2556:28: note: Function 'PanHere' argument 1 names different: declaration 'modeVP' definition 'mode'. xtrkcad-source-5.3.0GA/app/bin/draw.c:3516:34: style:inconclusive: Function 'PanMenuEnter' argument 1 names different: declaration 'modeVP' definition 'keyVP'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/draw.h:273:26: note: Function 'PanMenuEnter' argument 1 names different: declaration 'modeVP' definition 'keyVP'. xtrkcad-source-5.3.0GA/app/bin/draw.c:3516:34: note: Function 'PanMenuEnter' argument 1 names different: declaration 'modeVP' definition 'keyVP'. xtrkcad-source-5.3.0GA/app/bin/draw.c:399:9: style: Local variable 'min' shadows outer function [shadowFunction] xtrkcad-source-5.3.0GA/app/bin/utility.h:44:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/draw.c:399:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/draw.c:399:13: style: Local variable 'max' shadows outer function [shadowFunction] xtrkcad-source-5.3.0GA/app/bin/utility.h:43:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/draw.c:399:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/draw.c:797:20: style: Local variable 'd' shadows outer argument [shadowArgument] xtrkcad-source-5.3.0GA/app/bin/draw.c:780:19: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/draw.c:797:20: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/draw.c:797:23: style: Local variable 'a' shadows outer argument [shadowArgument] xtrkcad-source-5.3.0GA/app/bin/draw.c:785:17: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/draw.c:797:23: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/draw.c:1904:7: style: Local variable 'message' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:37:13: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/draw.c:1904:7: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/draw.c:2932:8: style: Local variable 'min' shadows outer function [shadowFunction] xtrkcad-source-5.3.0GA/app/bin/utility.h:44:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/draw.c:2932:8: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/draw.c:2961:7: style: Local variable 'rc' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/draw.c:2842:9: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/draw.c:2961:7: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/draw.c:682:16: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/draw.c:917:16: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/draw.c:976:19: style: Parameter 'd' can be declared as pointer to const. However it seems that 'TempSegLine' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/draw.c:1158:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/draw.c:976:19: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/draw.c:998:19: style: Parameter 'd' can be declared as pointer to const. However it seems that 'TempSegArc' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/draw.c:1159:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/draw.c:998:19: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/draw.c:1028:16: style: Parameter 's' can be declared as pointer to const. However it seems that 'TempSegString' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/draw.c:1160:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/draw.c:1028:16: note: Parameter 's' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/draw.c:1047:19: style: Parameter 'd' can be declared as pointer to const. However it seems that 'TempSegPoly' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/draw.c:1162:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/draw.c:1047:19: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/draw.c:1049:17: style: Parameter 'pts' can be declared as pointer to const. However it seems that 'TempSegPoly' is a callback function, if 'pts' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/draw.c:1162:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/draw.c:1049:17: note: Parameter 'pts' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/draw.c:1130:37: style: Parameter 'd' can be declared as pointer to const. However it seems that 'NoDrawBitMap' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/draw.c:1161:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/draw.c:1130:37: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/draw.c:1624:31: style: Parameter 'drawP' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/draw.c:2378:30: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/draw.c:2479:33: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/draw.c:2517:10: style: Variable 'pScale' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/draw.c:3151:37: style: Parameter 'line' can be declared as pointer to const. However it seems that 'PlaybackMain' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/draw.c:3327:45: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/draw.c:3151:37: note: Parameter 'line' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/draw.c:3171:36: style: Parameter 'line' can be declared as pointer to const. However it seems that 'PlaybackKey' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/draw.c:3328:43: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/draw.c:3171:36: note: Parameter 'line' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/draw.c:3221:28: style: Parameter 'pContex' can be declared as pointer to const. However it seems that 'MainLayoutCB' is a callback function, if 'pContex' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/draw.c:3293:35: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/draw.c:3221:28: note: Parameter 'pContex' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/draw.c:2447:22: warning: Uninitialized variable: top.x [uninitvar] xtrkcad-source-5.3.0GA/app/bin/draw.c:2431:23: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/bin/draw.c:2447:22: note: Uninitialized variable: top.x xtrkcad-source-5.3.0GA/app/bin/draw.c:2447:32: warning: Uninitialized variable: bot.x [uninitvar] xtrkcad-source-5.3.0GA/app/bin/draw.c:2431:23: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/bin/draw.c:2447:32: note: Uninitialized variable: bot.x xtrkcad-source-5.3.0GA/app/bin/draw.c:707:9: style: Variable 'size.y' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/draw.c:727:10: style: Variable 'size.y' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/dxfformat.c:113:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NaS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dxfformat.c:131:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NaS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dxfformat.c:149:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NaS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dxfformat.c:166:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NaS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dxfformat.c:344:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NaS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dxfformat.c:91:42: style:inconclusive: Function 'DxfLineStyle' argument 2 names different: declaration 'isDashed' definition 'style'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/dxfformat.h:35:42: note: Function 'DxfLineStyle' argument 2 names different: declaration 'isDashed' definition 'style'. xtrkcad-source-5.3.0GA/app/bin/dxfformat.c:91:42: note: Function 'DxfLineStyle' argument 2 names different: declaration 'isDashed' definition 'style'. xtrkcad-source-5.3.0GA/app/bin/dxfformat.c:186:23: style:inconclusive: Function 'DxfLineCommand' argument 4 names different: declaration 'yo' definition 'y0'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/dxfformat.h:37:69: note: Function 'DxfLineCommand' argument 4 names different: declaration 'yo' definition 'y0'. xtrkcad-source-5.3.0GA/app/bin/dxfformat.c:186:23: note: Function 'DxfLineCommand' argument 4 names different: declaration 'yo' definition 'y0'. xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:48:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NaS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:73:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NaS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:112:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NaS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:193:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NaS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:244:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_SAVE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1809:2: style: Redundant assignment of 'context->p0' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1813:2: style: Redundant assignment of 'context->p1' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1819:3: style: Redundant assignment of 'context->pm' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:567:5: style: Variable 'p' is assigned an expression that holds the same value. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:551:11: note: p is assigned 'pos' here. xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:567:5: note: Variable 'p' is assigned an expression that holds the same value. xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:639:17: style: Redundant initialization for 'last_point'. The initialized value is overwritten before it is read. [redundantInitialization] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:634:22: note: last_point is initialized xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:639:17: note: last_point is overwritten xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:46:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:46:59: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:71:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:71:59: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:126:19: style: Parameter 'd' can be declared as pointer to const. However it seems that 'DxfBitMap' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:177:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:126:19: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:136:17: style: Parameter 'pts' can be declared as pointer to const. However it seems that 'DxfPoly' is a callback function, if 'pts' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:178:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:136:17: note: Parameter 'pts' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:552:10: style: Local variable 'locked' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:199:16: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:552:10: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1363:13: style: Local variable 'inx' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1345:7: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1363:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:2082:14: style: Local variable 'inx' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:2012:6: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:2082:14: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:42:38: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:153:36: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:254:7: style: Variable 'a1' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1440:16: style: Variable 'last_inx' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/drawgeom.c:1890:9: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/file2uri.c:37:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_SEP_CHAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/file2uri.c:65:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_SEP_CHAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/file2uri.c:61:16: style: Redundant initialization for 'currentSource'. The initialized value is overwritten before it is read. [redundantInitialization] xtrkcad-source-5.3.0GA/app/bin/file2uri.c:58:22: note: currentSource is initialized xtrkcad-source-5.3.0GA/app/bin/file2uri.c:61:16: note: currentSource is overwritten xtrkcad-source-5.3.0GA/app/bin/file2uri.c:61:2: style: Variable 'currentSource' is assigned an expression that holds the same value. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/file2uri.c:58:22: note: currentSource is assigned 'encodedFileName' here. xtrkcad-source-5.3.0GA/app/bin/file2uri.c:61:2: note: Variable 'currentSource' is assigned an expression that holds the same value. xtrkcad-source-5.3.0GA/app/bin/file2uri.c:30:8: style: Variable 'currentSource' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/elev.c:236:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:259:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trk [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:325:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:391:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:465:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:511:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:620:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:695:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trk [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:795:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:823:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:866:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trk [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:922:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trk [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:984:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:1008:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:1057:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:1119:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trk [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:1132:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trk [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:1185:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_JOIN_DIFFER_ELEV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:1357:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/fileio.c:1327:25: error: There is an unknown macro here somewhere. Configuration is required. If FILE_SEP_CHAR is a macro then please configure it. [unknownMacro] xtrkcad-source-5.3.0GA/app/bin/filenoteui.c:134:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_LOAD [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/filenoteui.c:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_ERROR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/filenoteui.c:83:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/filenoteui.c:93:26: style: Parameter 'fileName' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/filenoteui.c:330:8: style: Variable 'tmpPtrText' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/helphelper.c:48:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/helphelper.c:93:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCFStringEncodingMacRoman [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/helphelper.c:114:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/elev.c:648:14: style: Variable 'trk1' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/elev.c:647:9: note: trk1 is assigned xtrkcad-source-5.3.0GA/app/bin/elev.c:648:14: note: trk1 is overwritten xtrkcad-source-5.3.0GA/app/bin/elev.c:142:16: style:inconclusive: Function 'ComputeElev' argument 3 names different: declaration 'on_path' definition 'onpath'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/track.h:356:53: note: Function 'ComputeElev' argument 3 names different: declaration 'on_path' definition 'onpath'. xtrkcad-source-5.3.0GA/app/bin/elev.c:142:16: note: Function 'ComputeElev' argument 3 names different: declaration 'on_path' definition 'onpath'. xtrkcad-source-5.3.0GA/app/bin/elev.c:143:17: style:inconclusive: Function 'ComputeElev' argument 4 names different: declaration 'elev' definition 'elevR'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/track.h:356:71: note: Function 'ComputeElev' argument 4 names different: declaration 'elev' definition 'elevR'. xtrkcad-source-5.3.0GA/app/bin/elev.c:143:17: note: Function 'ComputeElev' argument 4 names different: declaration 'elev' definition 'elevR'. xtrkcad-source-5.3.0GA/app/bin/elev.c:144:17: style:inconclusive: Function 'ComputeElev' argument 5 names different: declaration 'grade' definition 'gradeR'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/track.h:357:30: note: Function 'ComputeElev' argument 5 names different: declaration 'grade' definition 'gradeR'. xtrkcad-source-5.3.0GA/app/bin/elev.c:144:17: note: Function 'ComputeElev' argument 5 names different: declaration 'grade' definition 'gradeR'. xtrkcad-source-5.3.0GA/app/bin/elev.c:1231:9: style: Local variable 'changed' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:264:17: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/elev.c:1231:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/helphelper.c:63:14: style: Variable 'myBookName' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/helphelper.c:109:15: style: Variable 'numBytes' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/helphelper.c:110:16: style: Variable 'numBytes2' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/helphelper.c:105:7: style: Unused variable: issue [unusedVariable] xtrkcad-source-5.3.0GA/app/bin/elev.c:912:12: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/elev.c:1230:9: style: Variable 'oldStation' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/elev.c:732:8: warning: Uninitialized variable: e1 [uninitvar] xtrkcad-source-5.3.0GA/app/bin/elev.c:681:9: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/bin/elev.c:732:8: note: Uninitialized variable: e1 xtrkcad-source-5.3.0GA/app/bin/elev.c:737:7: style: Variable 'ep1' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/elev.c:1191:10: style: Variable 'mode1' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:39:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:29:24: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:29:24: note: Assignment 'cache=calloc(length,sizeof(unsigned long))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:39:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:51:15: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:29:24: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:29:24: note: Assignment 'cache=calloc(length,sizeof(unsigned long))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:51:15: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:53:4: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:29:24: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:29:24: note: Assignment 'cache=calloc(length,sizeof(unsigned long))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:53:4: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:65:9: warning: Uninitialized variable: result [uninitvar] xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:44:16: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/bin/levenshtein.c:65:9: note: Uninitialized variable: result xtrkcad-source-5.3.0GA/app/bin/layout.c:1065:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_LOAD [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/layout.c:1099:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_UPDATE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/layout.c:901:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/layout.c:655:9: style: Local variable 'noname' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/layout.c:522:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/layout.c:655:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/layout.c:160:35: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/layout.c:504:9: style: Variable 'f' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/layout.c:655:9: style: Variable 'noname' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/layout.c:776:8: style: Variable 'curr' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/layout.c:777:8: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/layout.c:1028:9: style: Variable 'pref' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/linknoteui.c:67:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/lprintf.c:53:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/lprintf.c:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/lprintf.c:97:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/lprintf.c:108:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/lprintf.c:117:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/lprintf.c:104:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1814:4: warning:inconclusive: The buffer 'newCarLabel1' may not be null-terminated after the call to strncpy(). [terminateStrncpy] xtrkcad-source-5.3.0GA/app/bin/manifest.c:114:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/manifest.c:136:21: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/manifest.c:123:10: style: Local variable 'name' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/manifest.c:108:9: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/manifest.c:123:10: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/manifest.c:49:28: style: Parameter 'nameOfLayout' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/manifest.c:143:11: style: Variable 'size' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/manifest.c:145:11: style: Variable 'posx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/manifest.c:146:11: style: Variable 'posy' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/manifest.c:151:11: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/manifest.c:153:11: style: Variable 'angle' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/manifest.c:75:10: style: Variable 'backg' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4720:55: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xtrkcad-source-5.3.0GA/app/bin/dcar.c:2909:20: style: Condition 'listTypeInx<0' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/dcar.c:2897:17: note: Assignment 'listTypeInx=-1', assigned value is -1 xtrkcad-source-5.3.0GA/app/bin/dcar.c:2908:24: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/bin/dcar.c:2909:20: note: Condition 'listTypeInx<0' is always true xtrkcad-source-5.3.0GA/app/bin/dcar.c:5335:8: warning: Either the condition 'str' is redundant or there is possible null pointer dereference: str. [nullPointerRedundantCheck] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5334:10: note: Assuming that condition 'str' is not redundant xtrkcad-source-5.3.0GA/app/bin/dcar.c:5335:8: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/dcar.c:5502:11: warning: Either the condition 'manuf' is redundant or there is possible null pointer dereference: manuf. [nullPointerRedundantCheck] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5514:6: note: Assuming that condition 'manuf' is not redundant xtrkcad-source-5.3.0GA/app/bin/dcar.c:5502:11: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/dcar.c:5508:11: warning: Either the condition 'road' is redundant or there is possible null pointer dereference: road. [nullPointerRedundantCheck] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5515:6: note: Assuming that condition 'road' is not redundant xtrkcad-source-5.3.0GA/app/bin/dcar.c:5508:11: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/dcar.c:4951:9: style: Variable 'width' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4946:9: note: width is assigned xtrkcad-source-5.3.0GA/app/bin/dcar.c:4951:9: note: width is overwritten xtrkcad-source-5.3.0GA/app/bin/dcar.c:5540:7: style: Variable 'rc' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5538:7: note: $symbol is assigned xtrkcad-source-5.3.0GA/app/bin/dcar.c:5540:7: note: $symbol is overwritten xtrkcad-source-5.3.0GA/app/bin/dcar.c:1704:30: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1709:30: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1714:30: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xtrkcad-source-5.3.0GA/app/bin/dcar.c:154:23: style: Parameter 'tab' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:166:23: style: Parameter 'tab' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:175:16: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:176:23: style: Parameter 'tab' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:293:16: style: Parameter 'elem' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:566:9: style: Variable 'key_val' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:628:15: style: Variable 'carProto' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:643:20: style: Parameter 'dim' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:919:14: style: Variable 'cmp_key' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:964:16: style: Parameter 'manufP' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:966:16: style: Parameter 'partnoP' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1050:19: style: Parameter 'dim' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1356:16: style: Variable 'carPart' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1500:19: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1781:17: style: Parameter 'origP' can be declared as pointer to const. However it seems that 'CarItemHotbarProc' is a callback function, if 'origP' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1896:22: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/dcar.c:1781:17: note: Parameter 'origP' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/dcar.c:1852:14: style: Variable 'item' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:1996:53: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:2037:19: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:2044:19: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:2101:25: style: Parameter 'trvTrk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:2225:19: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:3699:12: style: Variable 'item' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4885:9: style: Variable 'cp0' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5068:15: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5332:16: style: Parameter 'sep' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5356:16: style: Parameter 'sep' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5369:16: style: Parameter 'sep' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5463:8: style: Variable 'condition' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5464:8: style: Variable 'location' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/macro.c:136:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLDrag [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:166:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OPEN_FAIL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:274:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_SAVE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:374:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:452:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:500:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WKEY_SHIFT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:715:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:845:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:1007:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileName [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:1329:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OPEN_FAIL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:1353:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WKEY_SHIFT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:1404:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wIndex_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:1421:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_LOAD [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:1532:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:1563:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DEMO_BAD_NUM [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:1602:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable title [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/macro.c:1626:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arrow0_bits [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/menu.c:221:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/menu.c:378:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_WARNING [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/menu.c:489:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/menu.c:524:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/menu.c:608:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_INFORMATION [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/menu.c:700:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_ICON [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/menu.c:752:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable down_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/menu.c:1006:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCTL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/menu.c:1464:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doc_export_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/dcar.c:4951:9: style: Variable 'width' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/dcar.c:5134:12: style: Variable 'type' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/menu.c:152:44: warning: Either the condition 'inx<(sizeof(AllToolbarMasks)/sizeof(AllToolbarMasks[0]))' is redundant or the array 'AllToolbarMI[17]' is accessed at index 17, which is out of bounds. [arrayIndexOutOfBoundsCond] xtrkcad-source-5.3.0GA/app/bin/menu.c:151:2: note: Assuming that condition 'inx<(sizeof(AllToolbarMasks)/sizeof(AllToolbarMasks[0]))' is not redundant xtrkcad-source-5.3.0GA/app/bin/menu.c:152:44: note: Array index out of bounds xtrkcad-source-5.3.0GA/app/bin/menu.c:152:44: warning: Either the condition 'inx>=0' is redundant or the array 'AllToolbarMI[17]' is accessed at index -1, which is out of bounds. [negativeIndex] xtrkcad-source-5.3.0GA/app/bin/menu.c:151:2: note: Assuming that condition 'inx>=0' is not redundant xtrkcad-source-5.3.0GA/app/bin/menu.c:152:44: note: Negative array index xtrkcad-source-5.3.0GA/app/bin/menu.c:74:66: style: Parameter 'data' can be declared as pointer to const. However it seems that 'DoMenuTrace' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/menu.c:93:27: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/menu.c:74:66: note: Parameter 'data' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/menu.c:426:39: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'MagneticSnapToggle' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/menu.c:1224:48: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/menu.c:426:39: note: Parameter 'unused' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/menu.c:432:31: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'SelectFont' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/menu.c:1334:21: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/menu.c:432:31: note: Parameter 'unused' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/menu.c:600:26: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/menu.c:600:31: style: Variable 'msgSrc' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/misc.c:161:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/misc.c:199:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/misc.c:244:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/misc.c:270:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/misc.c:489:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_ERROR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/misc.c:536:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/misc.c:637:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_INFORMATION [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/misc.c:936:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WKEY_SHIFT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/misc.c:1045:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/misc.c:547:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: htmlFile [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/misc.c:543:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/misc.c:543:19: note: Assignment 'htmlFile=malloc(strlen(directory)+strlen(topic)+6)', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/misc.c:547:14: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/misc.c:134:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/misc.c:284:29: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/misc.c:734:40: style: Parameter 'unused' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/misc.c:828:60: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/macro.c:1597:14: style: Redundant condition: The condition '*cp' is redundant since '*cp == ' '' is sufficient. [redundantCondition] xtrkcad-source-5.3.0GA/app/bin/macro.c:801:7: style: Condition 'snapshotMouse' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/macro.c:1008:23: warning: If memory allocation fails, then there is a possible null pointer dereference: demoFileName [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/macro.c:1007:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/macro.c:1007:25: note: Assignment 'demoFileName=strdup((((struct demoList_t*)(demoList_da).ptr)[curDemo]).fileName)', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/macro.c:1008:23: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/macro.c:1017:28: warning: If memory allocation fails, then there is a possible null pointer dereference: demoFileName [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/macro.c:1007:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/macro.c:1007:25: note: Assignment 'demoFileName=strdup((((struct demoList_t*)(demoList_da).ptr)[curDemo]).fileName)', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/macro.c:1009:19: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/bin/macro.c:1017:28: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/macro.c:516:6: style: Variable 'bm' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] xtrkcad-source-5.3.0GA/app/bin/macro.c:509:6: note: $symbol is assigned xtrkcad-source-5.3.0GA/app/bin/macro.c:516:6: note: $symbol is overwritten xtrkcad-source-5.3.0GA/app/bin/macro.c:543:6: style: Variable 'bm' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] xtrkcad-source-5.3.0GA/app/bin/macro.c:536:6: note: $symbol is assigned xtrkcad-source-5.3.0GA/app/bin/macro.c:543:6: note: $symbol is overwritten xtrkcad-source-5.3.0GA/app/bin/macro.c:850:63: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/macro.c:1603:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/macro.c:1348:34: style:inconclusive: Function 'DoDemoButton' argument 1 names different: declaration 'context' definition 'command'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/macro.c:681:34: note: Function 'DoDemoButton' argument 1 names different: declaration 'context' definition 'command'. xtrkcad-source-5.3.0GA/app/bin/macro.c:1348:34: note: Function 'DoDemoButton' argument 1 names different: declaration 'context' definition 'command'. xtrkcad-source-5.3.0GA/app/bin/macro.c:133:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/macro.c:432:19: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/macro.c:712:37: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/param.c:645:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:787:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_ENTERED_STRING_TRUNCATED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:1433:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable action [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:1497:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:1521:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:1613:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:1668:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:1819:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:1838:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:1978:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:1996:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:2144:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PLAYBACK_LISTENTRY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:2414:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OPEN_FAIL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:2586:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_READONLY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:2662:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_CHARUNITS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:2768:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:2984:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wClose_e [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:3034:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_CENTER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:3096:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:66:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deleted [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:86:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:92:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable contents [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:97:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deleted [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:102:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable favorite [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:107:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deleted [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:112:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable favorite [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:147:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trackState [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:183:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:205:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable valid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:258:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OPEN_FAIL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:110:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:236:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PRMFIL_NO_MAP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:309:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable valid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:396:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable valid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:458:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OPEN_FAIL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:559:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:146:7: style: Condition 'cp' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:96:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:128:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:256:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:429:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:162:14: style: Variable 'prevContents' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/paramfilelist.c:445:25: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:240:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:242:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:308:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:95:29: style:inconclusive: Function 'IsParamFileDeleted' argument 1 names different: declaration 'fileInx' definition 'inx'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/include/paramfile.h:13:29: note: Function 'IsParamFileDeleted' argument 1 names different: declaration 'fileInx' definition 'inx'. xtrkcad-source-5.3.0GA/app/bin/paramfile.c:95:29: note: Function 'IsParamFileDeleted' argument 1 names different: declaration 'fileInx' definition 'inx'. xtrkcad-source-5.3.0GA/app/bin/paramfile.c:100:30: style:inconclusive: Function 'IsParamFileFavorite' argument 1 names different: declaration 'fileInx' definition 'inx'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/include/paramfile.h:14:30: note: Function 'IsParamFileFavorite' argument 1 names different: declaration 'fileInx' definition 'inx'. xtrkcad-source-5.3.0GA/app/bin/paramfile.c:100:30: note: Function 'IsParamFileFavorite' argument 1 names different: declaration 'fileInx' definition 'inx'. xtrkcad-source-5.3.0GA/app/bin/paramfile.c:78:23: style: Parameter 'fullPath' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/paramfile.c:115:31: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:466:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable funnel_xpm [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:202:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _tmp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:298:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:430:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:483:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:855:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sSingleResult [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:998:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:1071:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:135:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:144:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:441:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:280:37: style:inconclusive: Function 'SearchUiDoSearch' argument 1 names different: declaration 'junk' definition 'ptr'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:42:36: note: Function 'SearchUiDoSearch' argument 1 names different: declaration 'junk' definition 'ptr'. xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:280:37: note: Function 'SearchUiDoSearch' argument 1 names different: declaration 'junk' definition 'ptr'. xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:457:28: style:inconclusive: Function 'DoSearchParams' argument 1 names different: declaration 'unused' definition 'junk'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/fileio.h:159:28: note: Function 'DoSearchParams' argument 1 names different: declaration 'unused' definition 'junk'. xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:457:28: note: Function 'DoSearchParams' argument 1 names different: declaration 'unused' definition 'junk'. xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:135:12: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:144:12: style: Variable 'scale' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:332:27: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'SearchUiClearFilter' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:63:15: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:332:27: note: Parameter 'ptr' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:437:8: style: Variable 'params_pref' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/paramfilesearch_ui.c:131:42: error: Uninitialized variable: catalogEntry->files [uninitvar] xtrkcad-source-5.3.0GA/app/bin/paths.c:107:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_SEP_CHAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paths.c:181:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_SEP_CHAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/paths.c:229:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_SEP_CHAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/param.c:1805:22: style:inconclusive: Function 'ParamCheckInputs' argument 1 names different: declaration 'pg' definition 'group'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/param.h:254:40: note: Function 'ParamCheckInputs' argument 1 names different: declaration 'pg' definition 'group'. xtrkcad-source-5.3.0GA/app/bin/param.c:1805:22: note: Function 'ParamCheckInputs' argument 1 names different: declaration 'pg' definition 'group'. xtrkcad-source-5.3.0GA/app/bin/param.c:104:16: style: Variable 'lc' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/param.c:390:16: style: Parameter 'unitFmt' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/param.c:395:9: style: Variable 'space' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/param.c:1479:24: style: Variable 'irangeP' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/param.c:1561:22: style: Variable 'frangeP' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/param.c:2195:13: style: Variable 'valF1' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/paths.c:76:10: warning: If memory allocation fails, then there is a possible null pointer dereference: tableEntry [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/paths.c:74:22: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/paths.c:74:22: note: Assignment 'tableEntry=malloc(sizeof(struct pathTable))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/paths.c:76:10: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/paths.c:81:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tableEntry [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/paths.c:74:22: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/paths.c:74:22: note: Assignment 'tableEntry=malloc(sizeof(struct pathTable))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/paths.c:81:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/paths.c:107:17: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/paths.c:106:15: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/paths.c:106:15: note: Assignment 'copy=strdup(fileName)', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/paths.c:107:17: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:290:9: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:407:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:436:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:858:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:868:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:986:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:990:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:1029:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:1033:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:1044:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:1054:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:427:6: warning: If memory allocation fails, then there is a possible null pointer dereference: searchEntry->references [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:426:38: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:426:38: note: Assignment 'searchEntry->references=calloc(1,sizeof(struct dynArr_t))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:427:6: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:427:6: warning: If memory allocation fails, then there is a possible null pointer dereference: searchEntry->references [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:426:38: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:426:38: note: Assignment 'searchEntry->references=calloc(1,sizeof(struct dynArr_t))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:427:6: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:427:6: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:442:2: warning: Possible null pointer dereference: index [nullPointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:442:2: note: Assignment 'index=NULL', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:442:2: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:442:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:295:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:537:30: style:inconclusive: Function 'DestroyLibrary' argument 1 names different: declaration 'tracklib' definition 'library'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/include/partcatalog.h:97:35: note: Function 'DestroyLibrary' argument 1 names different: declaration 'tracklib' definition 'library'. xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:537:30: note: Function 'DestroyLibrary' argument 1 names different: declaration 'tracklib' definition 'library'. xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:554:36: style:inconclusive: Function 'CreateCatalogFromDir' argument 1 names different: declaration 'trackLib' definition 'paramLib'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/include/partcatalog.h:98:41: note: Function 'CreateCatalogFromDir' argument 1 names different: declaration 'trackLib' definition 'paramLib'. xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:554:36: note: Function 'CreateCatalogFromDir' argument 1 names different: declaration 'trackLib' definition 'paramLib'. xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:624:34: style:inconclusive: Function 'CreateLibraryIndex' argument 1 names different: declaration 'trackLib' definition 'parameterLib'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/include/partcatalog.h:99:43: note: Function 'CreateLibraryIndex' argument 1 names different: declaration 'trackLib' definition 'parameterLib'. xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:624:34: note: Function 'CreateLibraryIndex' argument 1 names different: declaration 'trackLib' definition 'parameterLib'. xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:841:29: style:inconclusive: Function 'SearchLibrary' argument 3 names different: declaration 'totalResult' definition 'results'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/include/partcatalog.h:101:38: note: Function 'SearchLibrary' argument 3 names different: declaration 'totalResult' definition 'results'. xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:841:29: note: Function 'SearchLibrary' argument 3 names different: declaration 'totalResult' definition 'results'. xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:895:24: style: Local variable 'i' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:849:11: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:895:24: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:920:25: style: Local variable 'i' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:849:11: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:920:25: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:174:30: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:174:47: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:245:47: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:245:59: style: Parameter 'contents' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:245:75: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:325:21: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:404:9: style: Variable 'word' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:799:27: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:891:20: style: Variable 'foundEntry' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:909:21: style: Variable 'foundEntry' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:974:31: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:1015:29: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/partcatalog.c:331:22: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:240:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:340:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:388:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:478:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/problemrepui.c:58:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_CENTER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/problemrepui.c:96:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_WARNING [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/problemrepui.c:66:30: style:inconclusive: Function 'ProblemrepUpdateW' argument 1 names different: declaration 'text' definition 'fmt'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/include/problemrep.h:33:30: note: Function 'ProblemrepUpdateW' argument 1 names different: declaration 'text' definition 'fmt'. xtrkcad-source-5.3.0GA/app/bin/problemrepui.c:66:30: note: Function 'ProblemrepUpdateW' argument 1 names different: declaration 'text' definition 'fmt'. xtrkcad-source-5.3.0GA/app/bin/problemrep.c:345:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:353:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:369:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:390:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:397:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:399:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:439:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:551:16: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:271:20: style: Condition 'name' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:272:20: style: Condition 'value' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:590:6: style: Condition 'ret' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:586:24: note: Calling function 'PickupLayoutFile' returns 1 xtrkcad-source-5.3.0GA/app/bin/problemrep.c:586:24: note: Assignment 'ret=PickupLayoutFile(tempDirectory)', assigned value is 1 xtrkcad-source-5.3.0GA/app/bin/problemrep.c:590:6: note: Condition 'ret' is always true xtrkcad-source-5.3.0GA/app/bin/problemrep.c:106:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:104:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/problemrep.c:104:13: note: Assignment 'fh=fopen(fileName,"w")', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/problemrep.c:106:11: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/problemrep.c:107:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:104:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/problemrep.c:104:13: note: Assignment 'fh=fopen(fileName,"w")', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/problemrep.c:107:11: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/problemrep.c:112:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:104:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/problemrep.c:104:13: note: Assignment 'fh=fopen(fileName,"w")', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/problemrep.c:112:11: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/problemrep.c:115:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:104:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/problemrep.c:104:13: note: Assignment 'fh=fopen(fileName,"w")', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/problemrep.c:115:10: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/problemrep.c:287:29: warning:inconclusive: Either the condition '!lineptr' is redundant or there is possible null pointer dereference: lineptr. [nullPointerRedundantCheck] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:278:10: note: Assuming that condition '!lineptr' is not redundant xtrkcad-source-5.3.0GA/app/bin/problemrep.c:287:29: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/problemrep.c:101:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:520:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:521:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:556:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:588:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:602:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:612:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:338:8: style: Variable 'token' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:437:8: style: Variable 'token' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:546:13: style: Variable 'currentTime' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/problemrep.c:569:8: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/shortentext.c:82:19: style: Array index 'position' is used before limits check. [arrayIndexThenCheck] xtrkcad-source-5.3.0GA/app/bin/shortentext.c:36:26: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/smalldlg.c:73:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_CENTER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/smalldlg.c:208:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xtc_xpm [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/shrtpath.c:64:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/shrtpath.c:130:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trk [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/shrtpath.c:153:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/shrtpath.c:262:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/smalldlg.c:76:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/scale.c:124:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/scale.c:253:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/scale.c:274:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/scale.c:359:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gauge [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/scale.c:527:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/scale.c:559:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ratio [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/scale.c:765:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/scale.c:789:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scale [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/scale.c:823:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cnt [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/scale.c:948:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_RESCALE_TOO_BIG [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/stringxtc.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/stringxtc.c:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/stringxtc.c:79:12: style: Checking if unsigned expression 'count' is less than zero. [unsignedLessThanZero] xtrkcad-source-5.3.0GA/app/bin/svgformat.c:81:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _tmp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/svgformat.c:124:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _tmp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/svgformat.c:470:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_NO_PARENT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/svgformat.c:495:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_NO_PARENT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/svgformat.c:609:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_WS_BEFORE_OPEN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/svgformat.c:81:2: warning: If memory allocation fails, then there is a possible null pointer dereference: style [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/svgformat.c:75:16: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/svgformat.c:75:16: note: Assignment 'style=malloc(sizeof(struct sCssStyle))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/svgformat.c:81:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/svgformat.c:110:2: warning: If memory allocation fails, then there is a possible null pointer dereference: style [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/svgformat.c:109:16: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/svgformat.c:109:16: note: Assignment 'style=malloc(sizeof(struct sCssStyle))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/svgformat.c:110:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/svgformat.c:568:10: style: Variable 'xmlData' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/svgformat.c:565:10: note: xmlData is assigned xtrkcad-source-5.3.0GA/app/bin/svgformat.c:568:10: note: xmlData is overwritten xtrkcad-source-5.3.0GA/app/bin/svgformat.c:237:76: style:inconclusive: Function 'SvgLineCommand' argument 8 names different: declaration 'lineOpt' definition 'lineStyle'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/include/svgformat.h:35:48: note: Function 'SvgLineCommand' argument 8 names different: declaration 'lineOpt' definition 'lineStyle'. xtrkcad-source-5.3.0GA/app/bin/svgformat.c:237:76: note: Function 'SvgLineCommand' argument 8 names different: declaration 'lineOpt' definition 'lineStyle'. xtrkcad-source-5.3.0GA/app/bin/svgformat.c:266:36: style:inconclusive: Function 'SvgRectCommand' argument 7 names different: declaration 'linestyle' definition 'lineStyle'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/include/svgformat.h:39:41: note: Function 'SvgRectCommand' argument 7 names different: declaration 'linestyle' definition 'lineStyle'. xtrkcad-source-5.3.0GA/app/bin/svgformat.c:266:36: note: Function 'SvgRectCommand' argument 7 names different: declaration 'linestyle' definition 'lineStyle'. xtrkcad-source-5.3.0GA/app/bin/svgformat.c:537:33: style:inconclusive: Function 'SvgDestroyDocument' argument 1 names different: declaration 'svg' definition 'xml'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/include/svgformat.h:53:38: note: Function 'SvgDestroyDocument' argument 1 names different: declaration 'svg' definition 'xml'. xtrkcad-source-5.3.0GA/app/bin/svgformat.c:537:33: note: Function 'SvgDestroyDocument' argument 1 names different: declaration 'svg' definition 'xml'. xtrkcad-source-5.3.0GA/app/bin/svgformat.c:559:26: style:inconclusive: Function 'SvgPrologue' argument 1 names different: declaration 'result' definition 'parent'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/include/svgformat.h:49:37: note: Function 'SvgPrologue' argument 1 names different: declaration 'result' definition 'parent'. xtrkcad-source-5.3.0GA/app/bin/svgformat.c:559:26: note: Function 'SvgPrologue' argument 1 names different: declaration 'result' definition 'parent'. xtrkcad-source-5.3.0GA/app/bin/svgformat.c:104:31: style: Parameter 'styleDef' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/svgformat.c:295:53: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/svgformat.c:661:37: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/shrtpath.c:247:10: style: Variable 'pinx' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/scale.c:621:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xtrkcad-source-5.3.0GA/app/bin/scale.c:664:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xtrkcad-source-5.3.0GA/app/bin/scale.c:1025:13: style: Redundant initialization for 'bOkActive'. The initialized value is overwritten before it is read. [redundantInitialization] xtrkcad-source-5.3.0GA/app/bin/scale.c:1022:20: note: bOkActive is initialized xtrkcad-source-5.3.0GA/app/bin/scale.c:1025:13: note: bOkActive is overwritten xtrkcad-source-5.3.0GA/app/bin/scale.c:960:10: style: Local variable 'size' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/scale.c:908:16: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/scale.c:960:10: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/scale.c:551:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/scale.c:612:16: style: Parameter 'line' can be declared as pointer to const. However it seems that 'AddScale' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/scale.c:1147:22: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/scale.c:612:16: note: Parameter 'line' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/scale.c:658:16: style: Parameter 'line' can be declared as pointer to const. However it seems that 'AddScaleFit' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/scale.c:1148:24: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/scale.c:658:16: note: Parameter 'line' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/scale.c:695:70: style: Parameter 'scale1' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/scale.c:696:47: style: Parameter 'scale2' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/scale.c:763:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/scale.c:1045:8: style: Variable 'scaleName' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineDash [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:431:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NaS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:484:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_SAVE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:258:3: warning: If memory allocation fails, then there is a possible null pointer dereference: points [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assignment 'points=malloc((cnt+1)*2*sizeof(double))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:258:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:259:3: warning: If memory allocation fails, then there is a possible null pointer dereference: points [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assignment 'points=malloc((cnt+1)*2*sizeof(double))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:259:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:263:3: warning: If memory allocation fails, then there is a possible null pointer dereference: points [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assignment 'points=malloc((cnt+1)*2*sizeof(double))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:263:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:263:19: warning: If memory allocation fails, then there is a possible null pointer dereference: points [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assignment 'points=malloc((cnt+1)*2*sizeof(double))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:263:19: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:264:3: warning: If memory allocation fails, then there is a possible null pointer dereference: points [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assignment 'points=malloc((cnt+1)*2*sizeof(double))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:264:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:264:23: warning: If memory allocation fails, then there is a possible null pointer dereference: points [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assignment 'points=malloc((cnt+1)*2*sizeof(double))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:264:23: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:66:31: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:194:16: style: Parameter 's' can be declared as pointer to const. However it seems that 'SvgDrawString' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:321:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:194:16: note: Parameter 's' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:225:19: style: Parameter 'd' can be declared as pointer to const. However it seems that 'SvgDrawBitmap' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:322:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:225:19: note: Parameter 'd' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:344:21: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:402:8: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:431:20: style: Variable 'command' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:431:12: style: Variable 'command' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:244:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:960:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1581:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:213:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:887:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1331:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1504:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1763:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1778:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:67:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:115:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:257:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:436:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_RADIUS_GTR_0 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:816:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1008:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CANT_SPLIT_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1175:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CANT_TRIM_HELIX [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1300:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1448:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CANT_EXTEND_HELIX [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1580:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1689:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1856:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:2003:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:606:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:725:52: style:inconclusive: Function 'GetCornuParmsNear' argument 3 names different: declaration 'pos' definition 'pos2'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/tcornu.h:67:52: note: Function 'GetCornuParmsNear' argument 3 names different: declaration 'pos' definition 'pos2'. xtrkcad-source-5.3.0GA/app/bin/tcornu.c:725:52: note: Function 'GetCornuParmsNear' argument 3 names different: declaration 'pos' definition 'pos2'. xtrkcad-source-5.3.0GA/app/bin/tcornu.c:726:34: style:inconclusive: Function 'GetCornuParmsNear' argument 5 names different: declaration 'angle' definition 'angle2'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/tcornu.h:68:34: note: Function 'GetCornuParmsNear' argument 5 names different: declaration 'angle' definition 'angle2'. xtrkcad-source-5.3.0GA/app/bin/tcornu.c:726:34: note: Function 'GetCornuParmsNear' argument 5 names different: declaration 'angle' definition 'angle2'. xtrkcad-source-5.3.0GA/app/bin/tcornu.c:69:39: style: Parameter 'trk' can be declared as const array [constParameter] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:920:28: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1056:28: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1067:17: style: Parameter 'trk0' can be declared as pointer to const. However it seems that 'MergeCornu' is a callback function, if 'trk0' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1528:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1067:17: note: Parameter 'trk0' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1069:17: style: Parameter 'trk1' can be declared as pointer to const. However it seems that 'MergeCornu' is a callback function, if 'trk1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1528:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1069:17: note: Parameter 'trk1' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1092:15: style: Variable 'bez_p' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1236:29: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1314:41: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1314:55: style: Parameter 'seg_p' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1487:27: style: Variable 'xx1' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:1489:27: style: Variable 'xx2' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:219:8: style: struct member 'pos_angle_t::pos' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:220:10: style: struct member 'pos_angle_t::angle' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:312:11: style: struct member 'Anonymous15::segs' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/tcornu.c:313:7: style: struct member 'Anonymous15::lineWidth' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:590:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:601:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:887:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:780:9: style: Local variable 'trackGauge' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/track.h:41:15: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/tcurve.c:780:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/tcurve.c:837:9: style: Local variable 'options' shadows outer argument [shadowArgument] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:778:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/tcurve.c:837:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/tcurve.c:912:8: style: Local variable 'descriptionOff' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/track.h:58:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/tcurve.c:912:8: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/tcurve.c:58:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:81:77: style: Parameter 'xx' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:135:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:142:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:153:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:695:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:710:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:869:34: style: Parameter 't' can be declared as pointer to const. However it seems that 'DeleteCurve' is a callback function, if 't' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1632:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tcurve.c:869:34: note: Parameter 't' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tcurve.c:875:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1044:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1173:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1214:27: style: Variable 'xx0' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1215:27: style: Variable 'xx1' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1477:54: style: Parameter 'ep' can be declared as pointer to const. However it seems that 'MoveEndPtCurve' is a callback function, if 'ep' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1649:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1477:54: note: Parameter 'ep' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1559:28: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1614:28: style: Variable 'ed1' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tcurve.c:1616:28: style: Variable 'ed2' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:329:16: style: Variable 'updateEndPts' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:322:16: note: $symbol is assigned xtrkcad-source-5.3.0GA/app/bin/tbezier.c:329:16: note: $symbol is overwritten xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1304:5: style: Variable 'a2' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1303:5: note: a2 is assigned xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1304:5: note: a2 is overwritten xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1223:43: style:inconclusive: Function 'GetTracksFromBezierSegment' argument 3 names different: declaration 'old' definition 'trk'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/tbezier.h:50:43: note: Function 'GetTracksFromBezierSegment' argument 3 names different: declaration 'old' definition 'trk'. xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1223:43: note: Function 'GetTracksFromBezierSegment' argument 3 names different: declaration 'old' definition 'trk'. xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1042:13: style: Local variable 'segPtr' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1021:11: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1042:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1059:12: style: Local variable 'back' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1008:9: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1059:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1241:13: style: Local variable 'i' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1228:11: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1241:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/tbezier.c:2018:9: style: Local variable 'max' shadows outer function [shadowFunction] xtrkcad-source-5.3.0GA/app/bin/utility.h:43:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/tbezier.c:2018:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1592:61: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:944:17: style: Parameter 'trk0' can be declared as pointer to const. However it seems that 'MergeBezier' is a callback function, if 'trk0' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1459:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tbezier.c:944:17: note: Parameter 'trk0' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tbezier.c:946:17: style: Parameter 'trk1' can be declared as pointer to const. However it seems that 'MergeBezier' is a callback function, if 'trk1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1459:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tbezier.c:946:17: note: Parameter 'trk1' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tbezier.c:958:29: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1121:29: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1229:12: style: Variable 'seg' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1365:28: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/textnoteui.c:67:16: style: Parameter 'valueP' can be declared as pointer to const. However it seems that 'TextDlgUpdate' is a callback function, if 'valueP' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/textnoteui.c:140:33: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/textnoteui.c:67:16: note: Parameter 'valueP' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tbezier.c:276:11: style: struct member 'Anonymous15::segs' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:622:4: style: Variable 's.bezSegs.max' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:622:4: style: Variable 's.bezSegs.cnt' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/tbezier.c:1561:20: style: Variable 'backwards' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/tease.c:290:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tease.c:464:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tease.c:926:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tease.c:1249:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tease.c:1594:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tease.c:1745:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tease.c:1916:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/trkendpt.c:353:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/trkendpt.c:479:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLUp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/trkendpt.c:294:7: style: Condition '!bCacheElev' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/trkendpt.c:218:35: style: Parameter 'station' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:126:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable activate [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:239:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_CANT_MODIFY_FROZEN_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:282:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enumerate [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:672:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_UNCONN_EP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:771:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:803:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rotate [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:819:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rescale [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:860:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flip [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:918:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable makeParallel [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:928:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rebuildSegs [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:939:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable replayData [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:950:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable storeData [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1013:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1096:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1124:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1298:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compare [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1344:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OPEN_FAIL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1458:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1478:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NO_SELECTED_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1521:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable top_xpm3 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1579:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1785:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OPEN_FAIL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1815:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getLength [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:1848:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2011:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2102:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getAngle [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2122:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable split [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2258:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable traverse [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2294:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getLength [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2325:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trim [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2337:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable merge [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2367:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2499:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2542:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable modify [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2554:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getTrackParams [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2565:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable moveEndPt [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2576:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2592:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ungroup [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2600:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2626:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getLength [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2651:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getLength [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2943:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drawPositionIndicator [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:2966:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable advancePositionIndicator [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:3205:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable redraw [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:3309:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/track.c:3353:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/trknote.c:525:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wActionLast [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/trknote.c:589:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable note_bits [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/trknote.c:369:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/trknote.c:376:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/bin/trknote.c:131:47: style: Parameter 'p' can be declared as pointer to const. However it seems that 'DistanceNote' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/trknote.c:477:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/trknote.c:131:47: note: Parameter 'p' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/trknote.c:133:26: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/trknote.c:466:26: style: Variable 'xx1' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/trknote.c:467:26: style: Variable 'xx2' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/trknote.c:41:9: style: struct member 'trknoteData_t::shortName' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/bin/trknote.c:522:10: style: Unused variable: trk [unusedVariable] xtrkcad-source-5.3.0GA/app/bin/tease.c:1596:26: style: Condition 'track' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/bin/tease.c:1573:7: note: Assuming that condition 'track' is not redundant xtrkcad-source-5.3.0GA/app/bin/tease.c:1596:26: note: Condition 'track' is always false xtrkcad-source-5.3.0GA/app/bin/tease.c:580:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/tease.c:1000:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/tease.c:1552:4: style: Variable 'R' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/tease.c:1548:4: note: R is assigned xtrkcad-source-5.3.0GA/app/bin/tease.c:1552:4: note: R is overwritten xtrkcad-source-5.3.0GA/app/bin/tease.c:1027:8: style: Local variable 'descriptionOff' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/track.h:58:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/tease.c:1027:8: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/tease.c:400:26: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:480:26: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:494:26: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:577:26: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:702:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:968:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:977:17: style: Parameter 't' can be declared as pointer to const. However it seems that 'DeleteJoint' is a callback function, if 't' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tease.c:1656:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tease.c:977:17: note: Parameter 't' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tease.c:989:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:1115:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:1337:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:1391:26: style: Variable 'xx1' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:1459:54: style: Parameter 'ep' can be declared as pointer to const. However it seems that 'MoveEndPtJoint' is a callback function, if 'ep' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tease.c:1673:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tease.c:1459:54: note: Parameter 'ep' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tease.c:1467:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:1635:26: style: Variable 'xx1' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:1637:26: style: Variable 'xx2' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:1988:27: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tease.c:1549:5: style: Variable 'dl' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1699:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_HELV [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:125:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OBJECT_TOO_SHORT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:462:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:835:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:909:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_MOVED_BEYOND_END_TRK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:970:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:211:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:547:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:55:46: style:inconclusive: Function 'AdjustStraightEndPt' argument 2 names different: declaration 'ep' definition 'inx'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/cstraigh.h:28:46: note: Function 'AdjustStraightEndPt' argument 2 names different: declaration 'ep' definition 'inx'. xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:55:46: note: Function 'AdjustStraightEndPt' argument 2 names different: declaration 'ep' definition 'inx'. xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:425:9: style: Local variable 'trackGauge' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/track.h:41:15: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:425:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:482:9: style: Local variable 'options' shadows outer argument [shadowArgument] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:422:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:482:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:566:8: style: Local variable 'descriptionOff' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/track.h:58:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:566:8: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:644:31: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:645:31: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:527:37: style: Parameter 't' can be declared as pointer to const. However it seems that 'DeleteStraight' is a callback function, if 't' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:1004:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:527:37: note: Parameter 't' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:535:30: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:615:38: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'RescaleStraight' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:1009:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:615:38: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:904:57: style: Parameter 'ep' can be declared as pointer to const. However it seems that 'MoveEndPtStraight' is a callback function, if 'ep' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:1021:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:904:57: note: Parameter 'ep' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:918:38: style: Parameter 'trk' can be declared as pointer to const. However it seems that 'QueryStraight' is a callback function, if 'trk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:1022:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:918:38: note: Parameter 'trk' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:993:42: style: Parameter 'trk1' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/tstraigh.c:993:57: style: Parameter 'trk2' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:454:2: warning: Either the condition '!trk->extraData' is redundant or there is possible null pointer dereference: trk->extraData. [nullPointerRedundantCheck] xtrkcad-source-5.3.0GA/app/bin/track.c:453:2: note: Assuming that condition '!trk->extraData' is not redundant xtrkcad-source-5.3.0GA/app/bin/track.c:454:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/track.c:2214:8: style: Variable 'ep0' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/track.c:2210:8: note: ep0 is assigned xtrkcad-source-5.3.0GA/app/bin/track.c:2214:8: note: ep0 is overwritten xtrkcad-source-5.3.0GA/app/bin/track.c:3287:7: style: Variable 'pos' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/bin/track.c:3285:6: note: pos is assigned xtrkcad-source-5.3.0GA/app/bin/track.c:3287:7: note: pos is overwritten xtrkcad-source-5.3.0GA/app/bin/track.c:1313:63: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/track.c:1781:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/track.c:1304:40: style:inconclusive: Function 'CheckRegressionResult' argument 1 names different: declaration 'regressionVersion' definition 'regressVersion'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/track.h:341:37: note: Function 'CheckRegressionResult' argument 1 names different: declaration 'regressionVersion' definition 'regressVersion'. xtrkcad-source-5.3.0GA/app/bin/track.c:1304:40: note: Function 'CheckRegressionResult' argument 1 names different: declaration 'regressionVersion' definition 'regressVersion'. xtrkcad-source-5.3.0GA/app/bin/track.c:3016:9: style: Local variable 'trackGauge' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/track.h:41:15: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/track.c:3016:9: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/track.c:163:55: style: Parameter 't' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:370:38: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:381:40: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:394:42: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:424:41: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:478:33: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:511:39: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:586:36: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:591:35: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:607:41: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:738:60: style: Parameter 'me' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:748:67: style: Parameter 'me' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:974:38: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:1304:62: style: Parameter 'sFileName' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:2598:39: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:2717:39: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:2830:55: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/track.c:2134:7: style: Variable 'trk0' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/track.c:2151:9: style: Variable 'd' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/track.c:2170:17: style: Variable 'd' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/track.c:3386:2: style: Variable 'pos_array.max' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/track.c:3386:2: style: Variable 'pos_array.cnt' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1980:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tempPts [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1976:27: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1976:27: note: Assignment 'tempPts=malloc(sizeof(struct coOrd)*segPtr->u.p.cnt)', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1980:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1981:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tempTypes [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1977:27: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1977:27: note: Assignment 'tempTypes=malloc(sizeof(int)*segPtr->u.p.cnt)', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1981:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/trkseg.c:2107:31: style:inconclusive: Function 'CopyPoly' argument 1 names different: declaration 'seg_p' definition 'p'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/trkseg.h:250:24: note: Function 'CopyPoly' argument 1 names different: declaration 'seg_p' definition 'p'. xtrkcad-source-5.3.0GA/app/bin/trkseg.c:2107:31: note: Function 'CopyPoly' argument 1 names different: declaration 'seg_p' definition 'p'. xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1051:10: style: Local variable 'max' shadows outer function [shadowFunction] xtrkcad-source-5.3.0GA/app/bin/utility.h:43:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1051:10: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1051:15: style: Local variable 'min' shadows outer function [shadowFunction] xtrkcad-source-5.3.0GA/app/bin/utility.h:44:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1051:15: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1899:12: style: Local variable 'j' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1763:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1899:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/trkseg.c:1502:8: style: Variable 'trackText' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/bin/trkseg.c:2094:14: style: Variable 't.u.p.cnt' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/unittest/defaultstest.c:31:22: style:inconclusive: Function 'MakeFullpath' argument 1 names different: declaration 'str' definition 'result'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/paths.h:33:26: note: Function 'MakeFullpath' argument 1 names different: declaration 'str' definition 'result'. xtrkcad-source-5.3.0GA/app/bin/unittest/defaultstest.c:31:22: note: Function 'MakeFullpath' argument 1 names different: declaration 'str' definition 'result'. xtrkcad-source-5.3.0GA/app/bin/unittest/defaultstest.c:113:26: style: Local variable 'tests' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/unittest/defaultstest.c:16:19: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/unittest/defaultstest.c:113:26: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/unittest/defaultstest.c:99:15: style: Variable 'value' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/unittest/defaultstest.c:99:9: style: Variable 'value' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/turnout.c:165:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/bin/unittest/dxfformattest.c:117:62: error: There is an unknown macro here somewhere. Configuration is required. If DXF_INDENT is a macro then please configure it. [unknownMacro] xtrkcad-source-5.3.0GA/app/bin/unittest/shortentest.c:120:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/unittest/shortentest.c:108:23: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/unittest/shortentest.c:108:23: note: Assignment 'result=malloc(sizeof("The strrchr() function in C/C++ locates the last occurrence of a character in a string. It returns a pointer to the last occurrence in the string. The terminating null character is considered part of the C string. ... str : specifies the pointer to the null terminated string to be searched for."))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/unittest/shortentest.c:120:9: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/unittest/shortentest.c:131:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/unittest/shortentest.c:128:23: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/unittest/shortentest.c:128:23: note: Assignment 'result=malloc(sizeof("The strrchr() function in C/C++ locates the last occurrence of a character in a string. It returns a pointer to the last occurrence in the string. The terminating null character is considered part of the C string. ... str : specifies the pointer to the null terminated string to be searched for."))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/unittest/shortentest.c:131:9: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/bin/utf8convert.c:83:26: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/bin/utility.c:260:43: style:inconclusive: Function 'FindArcAndLineIntersections' argument 1 names different: declaration 'Pc1' definition 'intersection1'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/utility.h:62:44: note: Function 'FindArcAndLineIntersections' argument 1 names different: declaration 'Pc1' definition 'intersection1'. xtrkcad-source-5.3.0GA/app/bin/utility.c:260:43: note: Function 'FindArcAndLineIntersections' argument 1 names different: declaration 'Pc1' definition 'intersection1'. xtrkcad-source-5.3.0GA/app/bin/utility.c:260:65: style:inconclusive: Function 'FindArcAndLineIntersections' argument 2 names different: declaration 'Pc2' definition 'intersection2'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/utility.h:62:56: note: Function 'FindArcAndLineIntersections' argument 2 names different: declaration 'Pc2' definition 'intersection2'. xtrkcad-source-5.3.0GA/app/bin/utility.c:260:65: note: Function 'FindArcAndLineIntersections' argument 2 names different: declaration 'Pc2' definition 'intersection2'. xtrkcad-source-5.3.0GA/app/bin/utility.c:261:52: style:inconclusive: Function 'FindArcAndLineIntersections' argument 4 names different: declaration 'r' definition 'radius'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/utility.h:62:77: note: Function 'FindArcAndLineIntersections' argument 4 names different: declaration 'r' definition 'radius'. xtrkcad-source-5.3.0GA/app/bin/utility.c:261:52: note: Function 'FindArcAndLineIntersections' argument 4 names different: declaration 'r' definition 'radius'. xtrkcad-source-5.3.0GA/app/bin/utility.c:262:42: style:inconclusive: Function 'FindArcAndLineIntersections' argument 5 names different: declaration 'p0' definition 'point1'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/utility.h:63:43: note: Function 'FindArcAndLineIntersections' argument 5 names different: declaration 'p0' definition 'point1'. xtrkcad-source-5.3.0GA/app/bin/utility.c:262:42: note: Function 'FindArcAndLineIntersections' argument 5 names different: declaration 'p0' definition 'point1'. xtrkcad-source-5.3.0GA/app/bin/utility.c:262:56: style:inconclusive: Function 'FindArcAndLineIntersections' argument 6 names different: declaration 'p1' definition 'point2'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/utility.h:63:53: note: Function 'FindArcAndLineIntersections' argument 6 names different: declaration 'p1' definition 'point2'. xtrkcad-source-5.3.0GA/app/bin/utility.c:262:56: note: Function 'FindArcAndLineIntersections' argument 6 names different: declaration 'p1' definition 'point2'. xtrkcad-source-5.3.0GA/app/bin/utility.c:383:43: style:inconclusive: Function 'FindIntersection' argument 2 names different: declaration 'P00' definition 'P0'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/utility.h:61:40: note: Function 'FindIntersection' argument 2 names different: declaration 'P00' definition 'P0'. xtrkcad-source-5.3.0GA/app/bin/utility.c:383:43: note: Function 'FindIntersection' argument 2 names different: declaration 'P00' definition 'P0'. xtrkcad-source-5.3.0GA/app/bin/utility.c:383:64: style:inconclusive: Function 'FindIntersection' argument 4 names different: declaration 'P10' definition 'P1'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/utility.h:61:62: note: Function 'FindIntersection' argument 4 names different: declaration 'P10' definition 'P1'. xtrkcad-source-5.3.0GA/app/bin/utility.c:383:64: note: Function 'FindIntersection' argument 4 names different: declaration 'P10' definition 'P1'. xtrkcad-source-5.3.0GA/app/bin/utility.c:723:17: style:inconclusive: Function 'FindArcCenter' argument 1 names different: declaration 'c' definition 'pos'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/utility.h:74:30: note: Function 'FindArcCenter' argument 1 names different: declaration 'c' definition 'pos'. xtrkcad-source-5.3.0GA/app/bin/utility.c:723:17: note: Function 'FindArcCenter' argument 1 names different: declaration 'c' definition 'pos'. xtrkcad-source-5.3.0GA/app/bin/utility.c:726:16: style:inconclusive: Function 'FindArcCenter' argument 4 names different: declaration 'r' definition 'radius'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/bin/utility.h:74:58: note: Function 'FindArcCenter' argument 4 names different: declaration 'r' definition 'radius'. xtrkcad-source-5.3.0GA/app/bin/utility.c:726:16: note: Function 'FindArcCenter' argument 4 names different: declaration 'r' definition 'radius'. xtrkcad-source-5.3.0GA/app/bin/utility.c:446:12: style: Local variable 'zero' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:39:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/utility.c:446:12: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/utility.c:505:13: style: Local variable 'zero' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/bin/misc.h:39:14: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/bin/utility.c:505:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/bin/utility.c:174:4: style: Variable 'r' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/bin/unittest/pathstest.c:97:27: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/bin/unittest/pathstest.c:117:27: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xtrkcad-source-5.3.0GA/app/cJSON/cJSON.c:541:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:74:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trkSeg_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trkSeg_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:139:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trkSeg_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:202:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trkSeg_t [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:187:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:187:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:188:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:188:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:189:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:189:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:191:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:191:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:192:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:192:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:193:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:193:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:194:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:194:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:195:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:195:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:196:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:196:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:197:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:197:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:198:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:198:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:199:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:199:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:200:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:200:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:202:29: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:185:30: note: Assignment 'result=(struct bezctx_xtrkcad*)malloc(sizeof(struct bezctx_xtrkcad)*1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:202:29: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:183:31: style:inconclusive: Function 'new_bezctx_xtrkcad' argument 1 names different: declaration 'segs' definition 'segArray'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.h:1:40: note: Function 'new_bezctx_xtrkcad' argument 1 names different: declaration 'segs' definition 'segArray'. xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:183:31: note: Function 'new_bezctx_xtrkcad' argument 1 names different: declaration 'segs' definition 'segArray'. xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:208:37: style:inconclusive: Function 'bezctx_xtrkcad_close' argument 1 names different: declaration 'bc' definition 'z'. [funcArgNamesDifferent] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.h:4:37: note: Function 'bezctx_xtrkcad_close' argument 1 names different: declaration 'bc' definition 'z'. xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:208:37: note: Function 'bezctx_xtrkcad_close' argument 1 names different: declaration 'bc' definition 'z'. xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:183:45: style: Parameter 'ends' can be declared as const array [constParameter] xtrkcad-source-5.3.0GA/app/cornu/bezctx_xtrkcad.c:209:18: style: Variable 'bc' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:169:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:206:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:242:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KT_SELECTED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:293:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOTION_MODE_SELECT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:349:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_RGB_DITHER_NONE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:500:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:552:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOTION_MODE_MOVE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:565:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOTION_MODE_SELECT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:595:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_Left [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:656:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSE_MODE_SELECT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:665:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSE_MODE_ADD_CURVE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:675:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSE_MODE_ADD_CORNER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:684:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSE_MODE_ADD_LEFT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:693:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSE_MODE_ADD_RIGHT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:702:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSE_MODE_ADD_CORNU [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:774:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ps_prolog [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:799:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ACCEL_VISIBLE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:820:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:801:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:823:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:826:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:880:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:882:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:884:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:886:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:893:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:774:22: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:771:20: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:771:20: note: Assignment 'f=fopen("/tmp/foo.ps","w")', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:774:22: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:780:23: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:771:20: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:771:20: note: Assignment 'f=fopen("/tmp/foo.ps","w")', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:780:23: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:781:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:771:20: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:771:20: note: Assignment 'f=fopen("/tmp/foo.ps","w")', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:781:12: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:65:22: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'quit_func' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:841:47: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:65:22: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:65:39: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'quit_func' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:841:47: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:65:39: note: Parameter 'dummy' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:240:9: style: Variable 'kt' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:291:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:485:55: style: Parameter 'event' can be declared as pointer to const. However it seems that 'data_button_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:881:26: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:485:55: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:515:54: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:530:56: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:575:43: style: Parameter 'event' can be declared as pointer to const. However it seems that 'key_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:887:25: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:575:43: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/cornu/ppedit_gtk1.c:565:17: style: Variable 'need_redraw' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/cJSON/cJSON.c:827:45: style: Condition '(input_end-input_pointer)<1' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/cJSON/cJSON.c:817:26: note: Assuming that condition 'input_pointer=0x100000' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf7.c:184:12: note: Assuming that condition 'input_chr>=0x110000' is not redundant xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf7.c:201:52: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf7.c:238:2: note: Compound assignment '-=', assigned value is 1048576 xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf7.c:239:16: note: Condition 'input_chr>=0x100000' is always false xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf7.c:47:5: style: Redundant assignment of 'charset' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf7.c:273:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf7.c:47:5: style: Variable 'charset' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf8.c:24:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf8.c:207:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf8.c:81:26: style: Condition 'input_chr>=0x80' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf8.c:59:19: note: Assuming that condition 'input_chr<0x80' is not redundant xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf8.c:81:26: note: Condition 'input_chr>=0x80' is always true xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf8.c:24:5: style: Redundant assignment of 'charset' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf8.c:207:5: style: Redundant assignment of 'charset' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf8.c:208:5: style: Redundant assignment of 'state' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf8.c:24:5: style: Variable 'charset' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf8.c:207:5: style: Variable 'charset' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/tools/halibut/charset/utf8.c:208:5: style: Variable 'state' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/tools/halibut/contents.c:50:43: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/tools/halibut/error.c:352:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1958:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTSIDEBLK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:2053:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FINALSPIN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/error.c:17:10: style: Local variable 'error' shadows outer function [shadowFunction] xtrkcad-source-5.3.0GA/app/tools/halibut/halibut.h:221:6: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/tools/halibut/error.c:17:10: note: Shadow variable xtrkcad-source-5.3.0GA/app/tools/halibut/error.c:21:14: style: Variable 'wsp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/error.c:21:20: style: Variable 'wsp2' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/error.c:22:27: style: Variable 'fposp' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/help.c:52:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_NONE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:15:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/in_pf.c:70:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/in_pf.c:124:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/in_pf.c:178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/in_pf.c:404:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/in_pf.c:416:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/in_pf.c:429:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/in_pf.c:442:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:43:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:71:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:84:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:91:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:99:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:106:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:112:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:118:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:124:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:130:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:136:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:142:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:148:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:155:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:168:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:171:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:178:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:186:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:192:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:208:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:210:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:233:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:244:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:249:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:250:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:251:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:129:38: style: Condition 'strcmp(key,"CapHeight")==0' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:258:13: style: Condition 'l==-1' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:256:23: note: Assignment 'l=glyph_intern(nl)', assigned value is greater than -1 xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:258:13: note: Condition 'l==-1' is always false xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:258:24: style: Condition 'r==-1' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:257:23: note: Assignment 'r=glyph_intern(nr)', assigned value is greater than -1 xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:258:24: note: Condition 'r==-1' is always false xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:97:10: style: Local variable 'i' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:54:12: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:97:10: note: Shadow variable xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:154:19: style: Local variable 'i' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:54:12: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:154:19: note: Shadow variable xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:231:18: style: Local variable 'i' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:54:12: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:231:18: note: Shadow variable xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:43:11: style: Variable 'key' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:246:13: style: Variable 'nl' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/in_afm.c:246:18: style: Variable 'nr' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/index.c:31:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/index.c:31:36: style: Variable 'b' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/index.c:36:14: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/index.c:37:15: style: Variable 'b' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/index.c:168:14: style: Variable 'fa' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/keywords.c:10:24: style: Parameter 'av' can be declared as pointer to const. However it seems that 'kwcmp' is a callback function, if 'av' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/tools/halibut/keywords.c:43:27: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/tools/halibut/keywords.c:10:24: note: Parameter 'av' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/tools/halibut/keywords.c:10:34: style: Parameter 'bv' can be declared as pointer to const. However it seems that 'kwcmp' is a callback function, if 'bv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/tools/halibut/keywords.c:43:27: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/tools/halibut/keywords.c:10:34: note: Parameter 'bv' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/tools/halibut/keywords.c:17:35: style: Parameter 'bv' can be declared as pointer to const. However it seems that 'kwfind' is a callback function, if 'bv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/tools/halibut/keywords.c:25:35: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/tools/halibut/keywords.c:17:35: note: Parameter 'bv' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:121:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:410:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:551:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:1124:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stack_nop [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:1623:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable charset_init_state [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/main.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1125:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1129:28: style: Condition 'rptseen_quote' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:789:25: note: sitem->seen_quote is assigned xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:791:21: note: sitem->seen_quote is overwritten xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:725:28: style: Local variable 'sitem' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:625:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:725:28: note: Shadow variable xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:799:28: style: Local variable 'sitem' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:625:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:799:28: note: Shadow variable xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:898:25: style: Local variable 'sitem' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:625:8: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:898:25: note: Shadow variable xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:18:46: style: Parameter 'pos' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:58:19: style: Parameter 'pos' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:331:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:349:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:725:36: style: Variable 'stop' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:1311:19: style: Variable 'broken' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:1330:19: style: Variable 'broken' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:414:13: error: Uninitialized variables: ret.cmd, ret.aux [uninitvar] xtrkcad-source-5.3.0GA/app/tools/halibut/input.c:561:12: error: Uninitialized variables: ret.cmd, ret.aux [uninitvar] xtrkcad-source-5.3.0GA/app/tools/halibut/ustring.c:26:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_INIT_STATE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/ustring.c:68:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_INIT_STATE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/ustring.c:94:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_INIT_STATE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/ustring.c:346:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ASCII [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/ustring.c:450:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_INIT_STATE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/ustring.c:476:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_ASCII [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/ustring.c:52:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] xtrkcad-source-5.3.0GA/app/tools/halibut/wcwidth.c:142:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_INIT_STATE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/halibut/wcwidth.c:170:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_INIT_STATE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/listxtp.c:130:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:101:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:211:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:240:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:426:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:589:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIF_PNG [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:713:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/tools/listxtp.c:119:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] xtrkcad-source-5.3.0GA/app/tools/listxtp.c:56:8: style: Variable 'str1' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/listxtp.c:57:8: style: Variable 'str2' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/listxtp.c:69:17: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/bitmap.c:35:2: style: struct member 'wBitmap_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/bitmap.c:35:2: style: struct member 'wBitmap_t::maximize_initially' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/bitmap.c:35:2: style: struct member 'wBitmap_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/bitmap.c:35:2: style: struct member 'wBitmap_t::repaintProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/bitmap.c:35:2: style: struct member 'wBitmap_t::label' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/bitmap.c:35:2: style: struct member 'wBitmap_t::doneProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/bitmap.c:35:2: style: struct member 'wBitmap_t::data' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:449:4: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:448:9: note: c is initialized xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:449:4: note: c is overwritten xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:461:12: style: Checking if unsigned expression 'count' is less than zero. [unsignedLessThanZero] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:169:26: style: Parameter 'cube' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:189:29: style: Parameter 'cube' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:216:26: style: Parameter 'cube' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:371:23: style: Parameter 'cube' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:486:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:556:19: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:648:26: style: Parameter 'argv' can be declared as const array [constParameter] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:655:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:655:15: style: Variable 'j' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:655:6: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:655:13: style: Variable 'j' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/gtklib/boxes.c:107:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_LINE_CAP_BUTT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/boxes.c:39:2: style: struct member 'wBox_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/boxes.c:39:2: style: struct member 'wBox_t::maximize_initially' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/boxes.c:39:2: style: struct member 'wBox_t::option' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/boxes.c:39:2: style: struct member 'wBox_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/boxes.c:39:2: style: struct member 'wBox_t::label' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/boxes.c:39:2: style: struct member 'wBox_t::doneProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/boxes.c:39:2: style: struct member 'wBox_t::data' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/browserhelp.c:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_ERROR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:170:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:452:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BB_DEFAULT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:94:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_ICON [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:172:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:242:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:283:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:344:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_ICON [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:547:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:585:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wBoxBelow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:621:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_NOBORDER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:728:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_NOBORDER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:430:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:429:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:429:13: note: Assignment 'cd=malloc(sizeof(struct colorData_t))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:430:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:431:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:429:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:429:13: note: Assignment 'cd=malloc(sizeof(struct colorData_t))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:431:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:432:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:429:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:429:13: note: Assignment 'cd=malloc(sizeof(struct colorData_t))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:432:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:433:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:429:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:429:13: note: Assignment 'cd=malloc(sizeof(struct colorData_t))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:433:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:434:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:429:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:429:13: note: Assignment 'cd=malloc(sizeof(struct colorData_t))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:434:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:231:16: style: Variable 'cm_p' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:272:15: style: Variable 'colorMap_e' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/color.c:190:54: warning: Division by result of sizeof(). g_array_sized_new() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:644:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:646:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:750:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:752:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:721:15: style: Parameter 'valueP' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:401:2: style: struct member 'wChoice_t::maximize_initially' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:401:2: style: struct member 'wChoice_t::label' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/button.c:401:2: style: struct member 'wChoice_t::doneProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/control.c:177:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_MENUBAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/control.c:195:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_MENUBAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/control.c:283:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/control.c:313:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/control.c:322:7: style: Condition 'b->widget' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/wlib/gtklib/droplist.c:198:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BL_NONE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/droplist.c:383:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BL_EDITABLE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/filesel.c:185:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_PICTURES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/filesel.c:258:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_LOAD [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/font.c:88:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_APPLY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/font.c:130:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/font.c:215:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/font.c:283:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_MOUSE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/font.c:409:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/filesel.c:93:20: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/filesel.c:325:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pattern [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/filesel.c:323:28: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/filesel.c:323:28: note: Assignment 'pattern=strdup(nameOfFilter)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/filesel.c:325:37: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/filesel.c:308:10: style: Variable 'namePart' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/filesel.c:324:12: style: Variable 'extension' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:139:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawOptTemp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:378:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:425:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:491:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:526:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawOptTransparent [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:564:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:617:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:736:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:759:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:776:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:847:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:926:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1036:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1102:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1218:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1265:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1295:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wModKey_None [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1327:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wAccelKey_None [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1466:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BD_NOFOCUS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1549:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_ERROR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1632:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/ixhelp.c:260:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_START [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/ixhelp.c:289:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/ixhelp.c:415:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/ixhelp.c:344:14: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/ixhelp.c:193:37: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'home_button_clicked' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/ixhelp.c:244:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/ixhelp.c:193:37: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/ixhelp.c:193:54: style: Parameter 'data' can be declared as pointer to const. However it seems that 'home_button_clicked' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/ixhelp.c:244:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/ixhelp.c:193:54: note: Parameter 'data' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/ixhelp.c:371:27: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1448:2: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1450:2: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1452:2: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1454:2: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1456:2: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1458:2: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1464:2: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1079:18: style: Condition 'drawVerbose>=2' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1135:19: style: Condition 'drawVerbose>=2' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1174:19: style: Condition 'drawVerbose>=2' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1231:19: style: Condition 'drawVerbose>=2' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1276:18: style: Condition 'drawVerbose>=2' is always false [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:606:4: error: Common realloc mistake: 'points' nulled but not freed upon failure [memleakOnRealloc] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:276:5: style: Redundant assignment of 'x0' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:278:5: style: Redundant assignment of 'x1' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:421:4: style: Redundant assignment of 'x' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:561:4: style: Redundant assignment of 'x' to itself. [selfAssignment] xtrkcad-source-5.3.0GA/app/wlib/gtklib/lines.c:75:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_LINE_CAP_BUTT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/lines.c:129:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x0 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:222:13: style: Variable 'gcolor' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:437:18: style: Variable 'gcolor' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:532:14: style: Variable 'gcolor' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:922:29: style: Parameter 'redraw' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1052:20: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'draw_configure_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1451:38: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1052:20: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1053:28: style: Parameter 'event' can be declared as pointer to const. However it seems that 'draw_configure_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1451:38: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1053:28: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1093:25: style: Parameter 'event' can be declared as pointer to const. However it seems that 'draw_scroll_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1459:38: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1093:25: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1187:20: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'draw_leave_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1465:38: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1187:20: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1188:20: style: Parameter 'event' can be declared as pointer to const. However it seems that 'draw_leave_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1465:38: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1188:20: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1203:25: style: Parameter 'event' can be declared as pointer to const. However it seems that 'draw_button_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1457:38: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1203:25: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1290:22: style: Parameter 'event' can be declared as pointer to const. However it seems that 'draw_char_release_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1463:44: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:1290:22: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/lines.c:47:2: style: struct member 'wLine_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/lines.c:47:2: style: struct member 'wLine_t::maximize_initially' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/lines.c:47:2: style: struct member 'wLine_t::option' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/lines.c:47:2: style: struct member 'wLine_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/lines.c:47:2: style: struct member 'wLine_t::label' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/lines.c:47:2: style: struct member 'wLine_t::doneProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/lines.c:47:2: style: struct member 'wLine_t::data' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/gtkdraw-cairo.c:58:14: style: struct member 'wDrawBitMap_t::mask' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/list.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/liststore.c:158:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_TYPE_PIXBUF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/liststore.c:191:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/liststore.c:188:26: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/liststore.c:188:26: note: Assignment 'convertedLabels=strdup(wlibConvertInput(labels))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/liststore.c:189:10: note: Assignment 'start=convertedLabels', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/liststore.c:191:24: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/liststore.c:181:68: style: Parameter 'labels' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/list.c:242:7: style: Redundant initialization for 'inx'. The initialized value is overwritten before it is read. [redundantInitialization] xtrkcad-source-5.3.0GA/app/wlib/gtklib/list.c:231:15: note: inx is initialized xtrkcad-source-5.3.0GA/app/wlib/gtklib/list.c:242:7: note: inx is overwritten xtrkcad-source-5.3.0GA/app/wlib/gtklib/list.c:242:7: style: Variable 'inx' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/gtklib/main.c:80:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:274:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:523:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:960:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_ICON [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:1035:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_EXPOSURE_MASK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/message.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMBOBOX [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/message.c:179:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BM_LARGE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/message.c:45:2: style: struct member 'wMessage_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/message.c:45:2: style: struct member 'wMessage_t::maximize_initially' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/message.c:45:2: style: struct member 'wMessage_t::option' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/message.c:45:2: style: struct member 'wMessage_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/message.c:45:2: style: struct member 'wMessage_t::repaintProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/message.c:45:2: style: struct member 'wMessage_t::label' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/message.c:45:2: style: struct member 'wMessage_t::doneProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/message.c:45:2: style: struct member 'wMessage_t::data' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:475:13: style: Variable 'mi' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:478:13: style: Variable 'mitem' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:97:2: style: struct member 'wMenuRadio_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:97:2: style: struct member 'wMenuRadio_t::maximize_initially' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:97:2: style: struct member 'wMenuRadio_t::repaintProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:97:2: style: struct member 'wMenuRadio_t::label' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:97:2: style: struct member 'wMenuRadio_t::doneProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/menu.c:661:12: style: Variable 'found' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/gtklib/notice.c:117:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/notice.c:188:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:89:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:132:3: error: Memory leak: buffer.page [memleak] xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:58:9: warning: If memory allocation fails, then there is a possible null pointer dereference: childProgram [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:57:23: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:57:23: note: Assignment 'childProgram=malloc(strlen(parentProgram)+sizeof("helphelper")+1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:58:9: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:59:28: warning: If memory allocation fails, then there is a possible null pointer dereference: childProgram [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:57:23: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:57:23: note: Assignment 'childProgram=malloc(strlen(parentProgram)+sizeof("helphelper")+1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:59:28: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/notice.c:196:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/notice.c:201:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/notice.c:220:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:52:30: style: Parameter 'parentProgram' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:77:15: style: Variable 'directory' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:101:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:77:15: style: Unused variable: directory [unusedVariable] xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:78:9: style: Unused variable: htmlFile [unusedVariable] xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:101:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/gtklib/notice.c:303:15: warning: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/notice.c:301:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/notice.c:301:13: note: Assignment 'cp=strdup(label)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/notice.c:303:15: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/notice.c:296:30: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:121:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_ERROR_NOENT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:198:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:434:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawOptTemp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:478:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawOptTemp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:547:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawOptTemp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:585:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawOptTemp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:678:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawOptTemp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:767:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ALIGN_LEFT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:992:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:1122:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:76:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_IGNFOCUS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:148:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:194:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:205:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:215:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:231:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:242:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:251:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:260:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:270:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:280:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:289:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:360:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_READONLY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:191:19: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'stringChanged' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:379:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:191:19: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:202:19: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'stringPreeditChanged' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:381:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:202:19: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:227:19: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'stringFocusInEvent' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:385:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:227:19: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:228:20: style: Parameter 'event' can be declared as pointer to const. However it seems that 'stringFocusInEvent' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:385:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:228:20: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:238:19: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'stringLeaveNotifyEvent' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:387:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:238:19: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:239:20: style: Parameter 'event' can be declared as pointer to const. However it seems that 'stringLeaveNotifyEvent' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:387:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:239:20: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:248:19: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'stringEventAfter' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:390:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:248:19: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:257:19: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'stringEvent' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:389:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:257:19: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:266:19: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'stringKeyPressEvent' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:392:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:266:19: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:267:20: style: Parameter 'event' can be declared as pointer to const. However it seems that 'stringKeyPressEvent' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:392:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:267:20: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:276:19: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'stringStateChanged' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:394:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:276:19: note: Parameter 'widget' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:48:2: style: struct member 'wString_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:48:2: style: struct member 'wString_t::maximize_initially' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:48:2: style: struct member 'wString_t::repaintProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:48:2: style: struct member 'wString_t::label' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:48:2: style: struct member 'wString_t::doneProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/single.c:55:6: style: struct member 'wString_t::count' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:492:13: error: Array 'n->kids[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:478:2: note: After for loop, kcount has value 4 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:490:13: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:492:13: note: Array index out of bounds xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:625:14: style: Redundant condition: type. '!type || (type && type[0]==wPolyLineStraight)' is equivalent to '!type || type[0]==wPolyLineStraight' [redundantCondition] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:638:20: style: Redundant condition: type. '!type || (type && type[inx]==wPolyLineStraight)' is equivalent to '!type || type[inx]==wPolyLineStraight' [redundantCondition] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:643:8: style: Condition 'type' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:225:3: error: Memory pointed to by 'err' is freed twice. [doubleFree] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:202:3: note: Memory pointed to by 'err' is freed twice. xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:225:3: note: Memory pointed to by 'err' is freed twice. xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:404:18: style: Variable 'gcolor' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:571:21: style: Parameter 'type' can be declared as const array [constParameter] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:716:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:1034:10: style: Variable 'sEnvScale' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/print.c:1035:10: style: Variable 'sEnvTextScale' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:65:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:63:20: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:63:20: note: Assignment 'ret=(struct tree234*)malloc(sizeof(struct tree234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:65:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:66:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:63:20: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:63:20: note: Assignment 'ret=(struct tree234*)malloc(sizeof(struct tree234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:66:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:191:6: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:191:6: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:202:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:202:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:202:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:202:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:203:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:203:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:204:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:204:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:204:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:204:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:205:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:205:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:206:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:206:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:206:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:206:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:212:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:212:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:212:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:212:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:213:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:213:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:214:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:214:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:214:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:214:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:215:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:215:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:216:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:216:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:216:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:216:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:222:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:222:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:222:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:222:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:223:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:223:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:224:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:224:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:224:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:224:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:225:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:225:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:226:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:226:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:226:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:226:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:232:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:232:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:232:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:232:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:233:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:233:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:234:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:234:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:234:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:234:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:235:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:235:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:236:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:236:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:236:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:236:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:242:6: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:242:6: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:243:6: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:243:6: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:244:6: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:244:6: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:245:10: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:245:10: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:246:10: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:246:10: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:247:10: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:247:10: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:287:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *root [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:286:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:286:12: note: Assignment '(*root)=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:287:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:318:23: warning: If memory allocation fails, then there is a possible null pointer dereference: t->root [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:317:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:317:12: note: Assignment 't->root=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:318:23: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1044:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1044:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1044:31: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1044:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1045:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1045:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1046:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1046:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1046:31: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1046:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1047:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1047:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1048:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1048:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1048:31: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1048:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1049:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1049:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1050:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1050:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1050:31: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1050:31: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1051:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1051:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1240:6: warning: If memory allocation fails, then there is a possible null pointer dereference: sib [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1218:8: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1218:8: note: Assignment 'sib=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1240:6: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1245:6: warning: If memory allocation fails, then there is a possible null pointer dereference: sib [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1218:8: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1218:8: note: Assignment 'sib=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1245:6: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1275:5: warning: Possible null pointer dereference: lparent [nullPointer] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1185:23: note: Assignment 'lparent=rparent=NULL', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1186:12: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1275:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1275:28: warning: If memory allocation fails, then there is a possible null pointer dereference: rparent [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1218:8: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1218:8: note: Assignment 'sib=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1248:12: note: Assignment 'rparent=sib', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1186:12: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1275:28: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1276:5: warning: Possible null pointer dereference: lparent [nullPointer] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1185:23: note: Assignment 'lparent=rparent=NULL', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1186:12: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1276:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1276:26: warning: If memory allocation fails, then there is a possible null pointer dereference: rparent [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1218:8: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1218:8: note: Assignment 'sib=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1248:12: note: Assignment 'rparent=sib', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1186:12: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1276:26: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1292:12: warning: Either the condition 'halves[half]' is redundant or there is possible null pointer dereference: halves[half]. [nullPointerRedundantCheck] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1288:15: note: Assuming that condition 'halves[half]' is not redundant xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1292:12: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1434:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n2 [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1418:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1418:19: note: Assignment 'n2=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1434:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/splash.c:57:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/splash.c:70:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/splash.c:51:36: style: Parameter 'appVer' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/splash.c:121:22: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:919:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:385:47: warning: Uninitialized variable: ki [uninitvar] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:330:12: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:385:47: note: Uninitialized variable: ki xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1288:26: warning: Uninitialized variable: halves.parent [uninitvar] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1186:12: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1288:26: note: Uninitialized variable: halves.parent xtrkcad-source-5.3.0GA/app/wlib/gtklib/statusbar.c:104:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_INSENSITIVE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/statusbar.c:159:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMBOBOX [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/sysinfo.c:83:15: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/sysinfo.c:79:17: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/sysinfo.c:79:17: note: Assignment 'buffer=malloc(bufferSize)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/sysinfo.c:83:15: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/sysinfo.c:83:35: warning: If resource allocation fails, then there is a possible null pointer dereference: pPipe [nullPointerOutOfResources] xtrkcad-source-5.3.0GA/app/wlib/gtklib/sysinfo.c:81:15: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/sysinfo.c:81:15: note: Assignment 'pPipe=popen("uname -sr","r")', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/sysinfo.c:83:35: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/statusbar.c:42:2: style: struct member 'wStatus_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/statusbar.c:42:2: style: struct member 'wStatus_t::maximize_initially' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/statusbar.c:42:2: style: struct member 'wStatus_t::option' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/statusbar.c:42:2: style: struct member 'wStatus_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/statusbar.c:42:2: style: struct member 'wStatus_t::repaintProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/statusbar.c:42:2: style: struct member 'wStatus_t::label' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/statusbar.c:42:2: style: struct member 'wStatus_t::doneProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/statusbar.c:42:2: style: struct member 'wStatus_t::data' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/timer.c:125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:81:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_READONLY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:115:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_TOP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:174:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_ERROR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:252:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:366:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:439:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_READONLY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:575:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_CHARUNITS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/tooltip.c:166:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_POPUP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:356:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:355:15: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:355:15: note: Assignment 'data=malloc(sizeof(struct PrintData))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:356:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:357:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:355:15: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:355:15: note: Assignment 'data=malloc(sizeof(struct PrintData))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:357:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:61:2: style: struct member 'wText_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:61:2: style: struct member 'wText_t::maximize_initially' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:61:2: style: struct member 'wText_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:61:2: style: struct member 'wText_t::repaintProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:61:2: style: struct member 'wText_t::label' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:61:2: style: struct member 'wText_t::doneProc' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/text.c:61:2: style: struct member 'wText_t::data' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/gtklib/tooltip.c:239:8: style: Variable 'wAppName' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/treeview.c:492:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BL_MANY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/treeview.c:456:21: style: Parameter 'colWidths' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:245:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_MENUBAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:290:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_AUTOSIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:400:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wCursorQuestion [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:668:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:129:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RESIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:164:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RECALLSIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:186:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RECALLPOS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:236:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RECALLPOS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:266:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_MENUBAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:284:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_MENUBAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:312:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:465:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WATCH [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:516:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:560:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BB_CANCEL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:642:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:683:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debugWindow [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:754:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_MAXIMIZED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:784:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WKEY_SHIFT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:827:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_RELEASE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:854:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_HINT_MIN_SIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:925:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_MENUBAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:77:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:163:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:223:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_ERROR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:298:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:536:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:111:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pixmapData [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:110:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:110:15: note: Assignment 'pixmapData=(char**)malloc((3+ip->h)*sizeof(*pixmapData))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:111:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:116:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pixmapData [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:110:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:110:15: note: Assignment 'pixmapData=(char**)malloc((3+ip->h)*sizeof(*pixmapData))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:116:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:117:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pixmapData [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:110:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:110:15: note: Assignment 'pixmapData=(char**)malloc((3+ip->h)*sizeof(*pixmapData))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:117:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:121:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pixmapData [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:110:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:110:15: note: Assignment 'pixmapData=(char**)malloc((3+ip->h)*sizeof(*pixmapData))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:121:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:130:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pixmapData [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:110:30: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:110:15: note: Assignment 'pixmapData=(char**)malloc((3+ip->h)*sizeof(*pixmapData))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:130:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:286:3: style: Variable 'b->parent' is assigned an expression that holds the same value. [redundantAssignment] xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:275:13: note: win is assigned 'b->parent' here. xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:286:3: note: Variable 'b->parent' is assigned an expression that holds the same value. xtrkcad-source-5.3.0GA/app/wlib/gtklib/util.c:663:23: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/writebitmap.c:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_ERROR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:132:9: style: Redundant initialization for 'w'. The initialized value is overwritten before it is read. [redundantInitialization] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:121:8: note: w is initialized xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:132:9: note: w is overwritten xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:133:9: style: Redundant initialization for 'h'. The initialized value is overwritten before it is read. [redundantInitialization] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:122:8: note: h is initialized xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:133:9: note: h is overwritten xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:626:26: style: Parameter 'event' can be declared as pointer to const. However it seems that 'fixed_expose_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:996:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:626:26: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:675:29: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_configure_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:998:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:675:29: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:745:30: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_state_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:1000:2: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:745:30: note: Parameter 'event' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:776:21: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:777:22: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:778:16: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/window.c:1087:8: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/mswlib/backgnd.c:43:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIF_UNKNOWN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/backgnd.c:71:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIF_UNKNOWN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/backgnd.c:167:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILTER_BILINEAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/backgnd.c:71:24: style: Variable 'fif' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/checksum.c:13:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/getline/getline.c:26:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/getopt.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:91:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALE_SISO639LANGNAME [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:137:10: warning: If memory allocation fails, then there is a possible null pointer dereference: loc [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:135:14: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:135:14: note: Assignment 'loc=malloc(strlen(iso639)+strlen(iso3166)+(script?strlen(script):0)+2)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:137:10: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:138:10: warning: If memory allocation fails, then there is a possible null pointer dereference: loc [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:135:14: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:135:14: note: Assignment 'loc=malloc(strlen(iso639)+strlen(iso3166)+(script?strlen(script):0)+2)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:138:10: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:139:10: warning: If memory allocation fails, then there is a possible null pointer dereference: loc [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:135:14: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:135:14: note: Assignment 'loc=malloc(strlen(iso639)+strlen(iso3166)+(script?strlen(script):0)+2)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:139:10: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/gwin32.c:71:8: style: Variable 'ev' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:607:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:608:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:609:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:269:13: warning: If memory allocation fails, then there is a possible null pointer dereference: profileFile [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:268:23: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:268:23: note: Assignment 'profileFile=malloc(length+sizeof(NULL))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:269:13: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:274:21: warning: If memory allocation fails, then there is a possible null pointer dereference: profileFile [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:273:23: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:273:23: note: Assignment 'profileFile=malloc(length+sizeof(NULL))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:274:21: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:110:9: style: Variable 'dir1' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:111:9: style: Variable 'dir2' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:112:9: style: Variable 'beta' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:164:9: style: Variable 'homeDir' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:216:8: style: Variable 'homeDir' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:260:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:548:33: error: Uninitialized variable: tmp [uninitvar] xtrkcad-source-5.3.0GA/app/wlib/gtklib/wpref.c:274:10: style: Variable 'length' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbox.c:66:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R2_WHITE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbox.c:17:2: style: struct member 'wBox_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbox.c:17:2: style: struct member 'wBox_t::option' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbox.c:17:2: style: struct member 'wBox_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbox.c:17:2: style: struct member 'wBox_t::helpStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbox.c:17:2: style: struct member 'wBox_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbox.c:17:2: style: struct member 'wBox_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbox.c:17:2: style: struct member 'wBox_t::data' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:101:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_BTNHIGHLIGHT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:166:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_DISABLED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:199:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_ICON [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:281:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_ICON [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:319:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_ID [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:401:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_ICON [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:150:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BITMAPINFO [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:271:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:351:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:468:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rgbBlue [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:505:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS_OWNERDRAW [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswchoic.c:50:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BM_SETCHECK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswchoic.c:76:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BM_SETCHECK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswchoic.c:111:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_NOBORDER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswchoic.c:131:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BC_NOBORDER [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswchoic.c:154:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_ID [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswchoic.c:202:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BM_SETCHECK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswchoic.c:306:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BS_CHECKBOX [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswchoic.c:29:2: style: struct member 'wChoice_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswchoic.c:29:2: style: struct member 'wChoice_t::helpStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswchoic.c:29:2: style: struct member 'wChoice_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswchoic.c:29:2: style: struct member 'wChoice_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:166:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:168:4: note: Found duplicate branches for 'if' and 'else'. xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:166:9: note: Found duplicate branches for 'if' and 'else'. xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:267:19: style: Variable 'di' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:50:2: style: struct member 'wButton_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:50:2: style: struct member 'wButton_t::helpStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:50:2: style: struct member 'wButton_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:50:2: style: struct member 'wButton_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:165:7: style: Variable 'offw' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbutt.c:165:15: style: Variable 'offh' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:64:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RASTERCAPS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:92:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable peRed [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:145:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RASTERCAPS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:167:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rgbBlue [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:181:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable peRed [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:226:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable peRed [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:283:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC_RGBINIT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:351:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_ICON [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:381:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:384:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:86:7: style: Mismatching assignment and comparison, comparison 'byt==1' is always false. [assignIfError] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:84:7: note: Mismatching assignment and comparison, comparison 'byt==1' is always false. xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:86:7: note: Mismatching assignment and comparison, comparison 'byt==1' is always false. xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:381:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:373:15: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:373:15: note: Assignment 'ptr=strdup(pm[col+1])', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:381:20: note: Null pointer addition xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:265:23: style: Variable 'revbits' can be declared as const array [constVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:72:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:70:11: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:70:11: note: Assignment 'f=fopen("palette.txt","w")', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:72:11: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:75:9: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:70:11: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:70:11: note: Assignment 'f=fopen("palette.txt","w")', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:75:9: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:345:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assignment 'cd=malloc(sizeof(*cd))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:345:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:346:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assignment 'cd=malloc(sizeof(*cd))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:346:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:347:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assignment 'cd=malloc(sizeof(*cd))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:347:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:348:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assignment 'cd=malloc(sizeof(*cd))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:348:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:349:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assignment 'cd=malloc(sizeof(*cd))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:349:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:350:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assignment 'cd=malloc(sizeof(*cd))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:350:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:353:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: cd [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:344:13: note: Assignment 'cd=malloc(sizeof(*cd))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:353:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswcolor.c:150:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:75:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_ID [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:114:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_SETTEXT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:127:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWND_TOP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:136:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_GETTEXT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:151:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EM_LINELENGTH [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:209:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EM_GETMODIFY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:267:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_READONLY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:155:4: warning: If memory allocation fails, then there is a possible null pointer dereference: (WORD*)tmpBuffer [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:154:21: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:154:21: note: Assignment 'tmpBuffer=malloc(chars>sizeof(WORD)?chars+1:sizeof(WORD)+1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:155:4: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:160:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpBuffer [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:159:21: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:159:21: note: Assignment 'tmpBuffer=malloc(2)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:160:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:161:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpBuffer [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:159:21: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:159:21: note: Assignment 'tmpBuffer=malloc(2)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:161:3: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlines.c:35:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_SOLID [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:33:2: style: struct member 'wString_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:33:2: style: struct member 'wString_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:33:2: style: struct member 'wString_t::helpStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:33:2: style: struct member 'wString_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:33:2: style: struct member 'wString_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:113:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:113:7: style: Variable 'len' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:127:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlines.c:17:2: style: struct member 'wLine_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlines.c:17:2: style: struct member 'wLine_t::option' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlines.c:17:2: style: struct member 'wLine_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlines.c:17:2: style: struct member 'wLine_t::helpStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlines.c:17:2: style: struct member 'wLine_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlines.c:17:2: style: struct member 'wLine_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlines.c:17:2: style: struct member 'wLine_t::data' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:138:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCCOPY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:169:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineType_e [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:243:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:484:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AD_CLOCKWISE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:573:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:742:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_FACESIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:759:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_SCREENFONTS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:866:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:918:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TIMES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:968:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawOptTransparent [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1112:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawOptTransparent [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1286:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCCOPY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1296:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCCOPY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1305:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WHITENESS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1320:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WHITENESS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1332:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWND_TOP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1542:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1603:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_ID [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1856:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MK_SHIFT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1910:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLACK_PEN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1970:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCCOPY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:2009:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_VISIBLE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:2067:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_ERROR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:2102:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLACK_PEN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:2135:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIF_UNKNOWN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LB_RESETCONTENT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:84:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWND_TOP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:113:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BL_MANY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:174:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_SETTEXT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:189:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETLBTEXT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:212:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_GETTEXT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:263:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BL_MANY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:296:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_DELETESTRING [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:316:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LB_SETSEL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:339:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETCOUNT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:352:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETITEMDATA [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:366:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETITEMDATA [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:405:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_ADDSTRING [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:465:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_HIDE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:490:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWND_TOP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:531:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_BTNFACE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:646:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BL_DBLCLICK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:1014:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_ID [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:1048:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_ID [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:1119:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_CHILD [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:1189:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LBS_NOTIFY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:1251:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BL_EDITABLE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:1279:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CBS_SIMPLE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:340:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wAccelKey_Numpad_Subtract [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:381:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_MENU [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:526:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCTL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:580:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_BYCOMMAND [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:613:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCTL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:652:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_BYCOMMAND [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:671:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_STRING [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:682:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_SEPARATOR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:775:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_BYPOSITION [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:823:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_BYPOSITION [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:866:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_BYPOSITION [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:908:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCTL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:952:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_BYCOMMAND [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:962:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_BYCOMMAND [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:973:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_BYCOMMAND [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:994:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWND_TOP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:1009:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TPM_LEFTALIGN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:1027:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BM_ICON [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:1072:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_STRING [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:1111:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TPM_LEFTALIGN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:1159:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:140:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:139:22: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:139:9: note: Assignment 'ret=(char*)malloc(strlen(str)+1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:140:11: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:230:2: warning: If memory allocation fails, then there is a possible null pointer dereference: mi [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:229:26: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:229:7: note: Assignment 'mi=(struct wMenuItem_twMenuItem_p)calloc(1,size)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:230:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:232:2: warning: If memory allocation fails, then there is a possible null pointer dereference: mi [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:229:26: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:229:7: note: Assignment 'mi=(struct wMenuItem_twMenuItem_p)calloc(1,size)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:232:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:233:2: warning: If memory allocation fails, then there is a possible null pointer dereference: mi [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:229:26: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:229:7: note: Assignment 'mi=(struct wMenuItem_twMenuItem_p)calloc(1,size)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:233:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:242:2: warning: If memory allocation fails, then there is a possible null pointer dereference: mi [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:229:26: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:229:7: note: Assignment 'mi=(struct wMenuItem_twMenuItem_p)calloc(1,size)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:242:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:243:2: warning: If memory allocation fails, then there is a possible null pointer dereference: mi [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:229:26: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:229:7: note: Assignment 'mi=(struct wMenuItem_twMenuItem_p)calloc(1,size)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:243:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:607:9: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:594:22: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:594:22: note: Assignment 'label=malloc(strlen(labelStr)+30)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:607:9: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:609:30: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:594:22: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:594:22: note: Assignment 'label=malloc(strlen(labelStr)+30)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:609:30: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:558:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:554:5: note: rc is assigned xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:558:5: note: rc is overwritten xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1727:7: style: Condition 'doSetFocus' is always true [knownConditionTrueFalse] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:2068:3: error: Memory leak: d [memleak] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:2074:3: error: Memory leak: d [memleak] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:2080:3: error: Memory leak: d [memleak] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:67:2: style: struct member 'wMenu_t::option' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:67:2: style: struct member 'wMenu_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:67:2: style: struct member 'wMenu_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:67:2: style: struct member 'wMenu_t::mtype' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:78:2: style: struct member 'wMenuPush_t::option' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:78:2: style: struct member 'wMenuPush_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:78:2: style: struct member 'wMenuPush_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:78:2: style: struct member 'wMenuPush_t::mtype' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:86:2: style: struct member 'wMenuRadio_t::option' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:86:2: style: struct member 'wMenuRadio_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:86:2: style: struct member 'wMenuRadio_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:86:2: style: struct member 'wMenuRadio_t::mtype' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:93:2: style: struct member 'wMenuToggle_t::option' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:93:2: style: struct member 'wMenuToggle_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:93:2: style: struct member 'wMenuToggle_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:93:2: style: struct member 'wMenuToggle_t::mtype' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:102:2: style: struct member 'wMenuList_t::option' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:102:2: style: struct member 'wMenuList_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:102:2: style: struct member 'wMenuList_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:102:2: style: struct member 'wMenuList_t::mtype' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:260:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ldp [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:259:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:259:8: note: Assignment 'ldp=(struct listData*)malloc(sizeof(*ldp))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:260:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:261:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ldp [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:259:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:259:8: note: Assignment 'ldp=(struct listData*)malloc(sizeof(*ldp))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:261:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:262:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ldp [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:259:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:259:8: note: Assignment 'ldp=(struct listData*)malloc(sizeof(*ldp))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:262:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:396:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ldp [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:395:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:395:8: note: Assignment 'ldp=(struct listData*)malloc(sizeof(*ldp))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:396:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:397:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ldp [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:395:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:395:8: note: Assignment 'ldp=(struct listData*)malloc(sizeof(*ldp))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:397:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:398:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ldp [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:395:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:395:8: note: Assignment 'ldp=(struct listData*)malloc(sizeof(*ldp))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:398:2: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:865:13: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:558:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:576:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:641:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:671:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:682:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:1175:21: style: Parameter 'colWidths' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:803:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:844:9: style: Variable 'origin' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:942:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:1072:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:1086:18: style: Variable 'buttOption' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:1086:7: style: Variable 'buttOption' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:22:2: style: struct member 'wList_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:22:2: style: struct member 'wList_t::helpStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:22:2: style: struct member 'wList_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:22:2: style: struct member 'wList_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1079:21: style: Parameter 'type' can be declared as const array [constParameter] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:84:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:89:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:819:12: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswlist.c:1184:13: style: Variable 'dbu' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:2141:49: error: Uninitialized variable: bm [uninitvar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswdraw.c:1216:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmsg.c:57:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_GUI_FONT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmsg.c:104:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hWnd [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmsg.c:125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BM_LARGE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmsg.c:166:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_READONLY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmsg.c:24:2: style: struct member 'wMessage_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmsg.c:24:2: style: struct member 'wMessage_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmsg.c:24:2: style: struct member 'wMessage_t::helpStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmsg.c:24:2: style: struct member 'wMessage_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmsg.c:24:2: style: struct member 'wMessage_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmsg.c:24:2: style: struct member 'wMessage_t::data' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswpref.c:29:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswpref.c:93:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSIDL_APPDATA [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswpref.c:117:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSIDL_PERSONAL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:42:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETPHYSPAGESIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:87:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PD_RETURNDC [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:190:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PD_RETURNDC [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:244:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PD_RETURNDC [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:260:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_COMMAND [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:277:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPMSG [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:305:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_ICONHAND [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:345:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDM_PRINTPAGE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:366:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPMSG [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:42:56: error: Uninitialized variable: dims [uninitvar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:46:58: error: Uninitialized variable: offs [uninitvar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:277:29: error: Uninitialized variable: msg [uninitvar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:366:29: error: Uninitialized variable: msg [uninitvar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:57:9: style: Variable 'size_w' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:58:9: style: Variable 'size_h' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:276:6: style: Variable 'msg' is not assigned a value. [unassignedVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswprint.c:365:6: style: Variable 'msg' is not assigned a value. [unassignedVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswpref.c:335:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswpref.c:337:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswpref.c:338:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswsplash.c:80:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCCOPY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswsplash.c:143:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:65:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EM_SETREADONLY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:130:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_READONLY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:149:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hWnd [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:183:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hWnd [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:242:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EM_GETMODIFY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:302:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_READONLY [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:319:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWND_TOP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:339:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SM_CXVSCROLL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:363:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EM_LINESCROLL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:399:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ES_MULTILINE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswsplash.c:132:22: style: Parameter 'appname' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswsplash.c:132:37: style: Parameter 'appver' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswsplash.c:158:44: error: Uninitialized variable: bmp [uninitvar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:286:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:281:23: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:281:23: note: Assignment 'buffer=malloc(s)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:282:14: note: Assignment 'ptr=buffer', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:286:10: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswsplash.c:230:7: style: Variable 'lpw' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:66:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:65:5: note: rc is assigned xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:66:5: note: rc is overwritten xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:67:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:66:5: note: rc is assigned xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:67:5: note: rc is overwritten xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:56:2: style: struct member 'wText_t::type' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:56:2: style: struct member 'wText_t::labelStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:56:2: style: struct member 'wText_t::helpStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:56:2: style: struct member 'wText_t::tipStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:56:2: style: struct member 'wText_t::errStr' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:56:2: style: struct member 'wText_t::data' is never used. [unusedStructMember] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:67:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:70:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswtext.c:363:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:251:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:272:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_TASKMODAL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:289:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:304:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_BTNFACE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:335:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:348:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:445:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_AUTOSIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:510:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_AUTOSIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:539:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_NOTAB [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:583:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_SHOWNORMAL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:737:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CW_USEDEFAULT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:886:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_ERROR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:931:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_POPUP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:986:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWND_TOP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1003:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wAccelKey_None [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1110:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_KEYDOWN [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1213:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_MENUBAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1254:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RECALLPOS [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1296:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWND_TOP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1416:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_BYPOSITION [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1461:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BB_CANCEL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1573:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_HIDE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1601:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BO_DISABLED [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1700:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWND_TOP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1768:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_GEOMETRIC [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1812:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R2_WHITE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1836:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_ERROR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1850:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2031:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_OK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2056:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_ICONINFORMATION [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2083:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_TASKMODAL [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2106:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_ICONWARNING [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2135:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD_PTR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2162:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD_PTR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2285:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWND_TOPMOST [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2337:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_HIDE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2368:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_SHIFT [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2470:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_PICTURES [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2601:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _HEAPOK [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2653:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2719:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:3316:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_BTNFACE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:3392:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SM_CYCAPTION [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/sysinfo.c:54:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/sysinfo.c:130:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSIDL_PROFILE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/utf8conv.c:49:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CP_ACP [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/mswlib/utf8conv.c:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CP_UTF8 [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/test/btest.c:124:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawColorRed [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/test/btest.c:140:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_MENUBAR [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/test/btest.c:36:13: style: Local variable 'd' shadows outer variable [shadowVariable] xtrkcad-source-5.3.0GA/app/wlib/test/btest.c:15:13: note: Shadowed declaration xtrkcad-source-5.3.0GA/app/wlib/test/btest.c:36:13: note: Shadow variable xtrkcad-source-5.3.0GA/app/wlib/test/btest.c:20:28: style: Parameter 'data' can be declared as pointer to const. However it seems that 'doExit' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/test/btest.c:197:47: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/test/btest.c:20:28: note: Parameter 'data' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/test/colortst.c:25:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/test/colortst.c:50:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/test/draw.c:16:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawLineSolid [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/test/draw.c:33:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wDrawOptTemp [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/test/draw.c:77:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_AUTOSIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/test/draw.c:50:35: style: Parameter 'data' can be declared as pointer to const. However it seems that 'doRedraw' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/test/draw.c:80:64: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/test/draw.c:50:35: note: Parameter 'data' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/test/fred.c:117:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_AUTOSIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/test/fred.c:72:41: style: Parameter 'name' can be declared as pointer to const. However it seems that 'doMList1' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/test/fred.c:146:54: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/test/fred.c:72:41: note: Parameter 'name' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/test/fred.c:72:54: style: Parameter 'data' can be declared as pointer to const. However it seems that 'doMList1' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtrkcad-source-5.3.0GA/app/wlib/test/fred.c:146:54: note: You might need to cast the function pointer here xtrkcad-source-5.3.0GA/app/wlib/test/fred.c:72:54: note: Parameter 'data' can be declared as pointer to const xtrkcad-source-5.3.0GA/app/wlib/test/fred.c:118:12: style: Variable 'popupW' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/test/fred.c:159:11: style: Variable 'draw1' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/test/listtest.c:58:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_AUTOSIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/test/testapp.c:73:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RESIZE [valueFlowBailoutIncompleteVar] xtrkcad-source-5.3.0GA/app/wlib/test/testapp.c:109:11: style: Variable 'menu2' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1292:18: style: The if condition is the same as the previous if condition [duplicateCondition] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1288:18: note: First condition xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:1292:18: note: Second condition xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:817:12: warning: If memory allocation fails, then there is a possible null pointer dereference: appName [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:816:29: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:816:15: note: Assignment 'appName=(char*)malloc(strlen(_appName)+1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:817:12: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:863:16: warning: If memory allocation fails, then there is a possible null pointer dereference: configName [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:862:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:862:22: note: Assignment 'configName=(char*)malloc(strlen(name)+1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:863:16: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:867:16: warning: If memory allocation fails, then there is a possible null pointer dereference: configName [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:866:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:866:23: note: Assignment 'configName=(char*)malloc(strlen(name)+1)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:867:16: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2428:16: warning: If memory allocation fails, then there is a possible null pointer dereference: current [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2421:26: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2421:26: note: Assignment 'filter=malloc(2048)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2422:21: note: Assignment 'current=filter', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2428:16: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2478:12: warning: If memory allocation fails, then there is a possible null pointer dereference: selFileName [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2477:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2477:25: note: Assignment 'selFileName=malloc(8*1024)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2478:12: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2537:9: warning: If memory allocation fails, then there is a possible null pointer dereference: fileName [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2533:22: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2533:22: note: Assignment 'fileName=malloc(sizeof(nextFileName)*cntFiles)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2537:9: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2538:16: warning: If memory allocation fails, then there is a possible null pointer dereference: fileName [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2533:22: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2533:22: note: Assignment 'fileName=malloc(sizeof(nextFileName)*cntFiles)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2538:16: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2539:16: warning: If memory allocation fails, then there is a possible null pointer dereference: fileName [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2533:22: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2533:22: note: Assignment 'fileName=malloc(sizeof(nextFileName)*cntFiles)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2539:16: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2540:16: warning: If memory allocation fails, then there is a possible null pointer dereference: fileName [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2533:22: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2533:22: note: Assignment 'fileName=malloc(sizeof(nextFileName)*cntFiles)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2540:16: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2547:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fileName [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2533:22: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2533:22: note: Assignment 'fileName=malloc(sizeof(nextFileName)*cntFiles)', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2547:14: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2569:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:11: note: Assignment 'ret=(struct wFilSel_t*)malloc(sizeof(*ret))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2569:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2570:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:11: note: Assignment 'ret=(struct wFilSel_t*)malloc(sizeof(*ret))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2570:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2571:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:11: note: Assignment 'ret=(struct wFilSel_t*)malloc(sizeof(*ret))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2571:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2572:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:11: note: Assignment 'ret=(struct wFilSel_t*)malloc(sizeof(*ret))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2572:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2574:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:11: note: Assignment 'ret=(struct wFilSel_t*)malloc(sizeof(*ret))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2574:5: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2575:12: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:11: note: Assignment 'ret=(struct wFilSel_t*)malloc(sizeof(*ret))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2575:12: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2577:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2568:11: note: Assignment 'ret=(struct wFilSel_t*)malloc(sizeof(*ret))', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2577:13: note: Null pointer dereference xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:441:6: style: Variable 'b->parent' is assigned an expression that holds the same value. [redundantAssignment] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:429:14: note: w is assigned 'b->parent' here. xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:441:6: note: Variable 'b->parent' is assigned an expression that holds the same value. xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:814:25: style: Parameter '_appName' can be declared as pointer to const [constParameterPointer] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:855:11: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2423:11: style: Variable 'message' can be declared as pointer to const [constVariablePointer] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2732:13: style: Variable 'inx' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2923:29: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2943:29: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:2966:29: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmisc.c:3016:19: style: Variable 'hWnd2' is assigned a value that is never used. [unreadVariable] diff: 2.17.0 xtrkcad-source-5.3.0GA/app/bin/cbezier.c:458:36: warning: Uninitialized variables: prev_arc.curveData, prev_arc.start, prev_arc.pos0, prev_arc.pos1 [uninitvar] xtrkcad-source-5.3.0GA/app/bin/cbezier.c:418:7: note: Assuming condition is false xtrkcad-source-5.3.0GA/app/bin/cbezier.c:458:36: note: Uninitialized variables: prev_arc.curveData, prev_arc.start, prev_arc.pos0, prev_arc.pos1 head xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:46:59: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] head xtrkcad-source-5.3.0GA/app/bin/dxfoutput.c:71:59: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] head xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:263:19: warning: If memory allocation fails, then there is a possible null pointer dereference: points [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assignment 'points=malloc((cnt+1)*2*sizeof(double))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:263:19: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:264:23: warning: If memory allocation fails, then there is a possible null pointer dereference: points [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:252:25: note: Assignment 'points=malloc((cnt+1)*2*sizeof(double))', assigned value is 0 xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:264:23: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/bin/svgoutput.c:431:12: style: Variable 'command' is assigned a value that is never used. [unreadVariable] head xtrkcad-source-5.3.0GA/app/bin/unittest/defaultstest.c:99:9: style: Variable 'value' is assigned a value that is never used. [unreadVariable] head xtrkcad-source-5.3.0GA/app/cornu/spiro.c:510:27: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/spiro.c:492:39: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/spiro.c:492:20: note: Assignment 'r=(struct spiro_seg*)malloc((n_seg+1)*sizeof(struct spiro_seg))', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/spiro.c:510:27: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/cornu/spiro.c:511:27: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/spiro.c:492:39: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/spiro.c:492:20: note: Assignment 'r=(struct spiro_seg*)malloc((n_seg+1)*sizeof(struct spiro_seg))', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/spiro.c:511:27: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/cornu/spiro.c:518:24: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/spiro.c:492:39: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/spiro.c:492:20: note: Assignment 'r=(struct spiro_seg*)malloc((n_seg+1)*sizeof(struct spiro_seg))', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/spiro.c:518:24: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/cornu/spiro.c:518:42: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/cornu/spiro.c:492:39: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/cornu/spiro.c:492:20: note: Assignment 'r=(struct spiro_seg*)malloc((n_seg+1)*sizeof(struct spiro_seg))', assigned value is 0 xtrkcad-source-5.3.0GA/app/cornu/spiro.c:518:42: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1559:20: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assignment 'out=(struct deflate_compress_ctx*)malloc(sizeof(struct deflate_compress_ctx))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1559:20: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1566:21: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assignment 'out=(struct deflate_compress_ctx*)malloc(sizeof(struct deflate_compress_ctx))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1566:21: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1587:32: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assignment 'out=(struct deflate_compress_ctx*)malloc(sizeof(struct deflate_compress_ctx))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1587:32: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1588:32: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assignment 'out=(struct deflate_compress_ctx*)malloc(sizeof(struct deflate_compress_ctx))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1588:32: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1589:27: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assignment 'out=(struct deflate_compress_ctx*)malloc(sizeof(struct deflate_compress_ctx))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1589:27: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1590:25: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assignment 'out=(struct deflate_compress_ctx*)malloc(sizeof(struct deflate_compress_ctx))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1590:25: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1592:28: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assignment 'out=(struct deflate_compress_ctx*)malloc(sizeof(struct deflate_compress_ctx))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1592:28: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1593:26: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1557:11: note: Assignment 'out=(struct deflate_compress_ctx*)malloc(sizeof(struct deflate_compress_ctx))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1593:26: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1959:26: warning: If memory allocation fails, then there is a possible null pointer dereference: dctx [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1936:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1936:36: note: Assignment 'dctx=(struct deflate_decompress_ctx*)malloc(sizeof(struct deflate_decompress_ctx))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1959:26: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1959:48: warning: If memory allocation fails, then there is a possible null pointer dereference: dctx [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1936:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1936:36: note: Assignment 'dctx=(struct deflate_decompress_ctx*)malloc(sizeof(struct deflate_decompress_ctx))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1959:48: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1967:21: warning: If memory allocation fails, then there is a possible null pointer dereference: dctx [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1936:36: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1936:36: note: Assignment 'dctx=(struct deflate_decompress_ctx*)malloc(sizeof(struct deflate_decompress_ctx))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/deflate.c:1967:21: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1044:31: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1044:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1046:31: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1046:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1048:31: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1048:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1050:31: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1043:12: note: Assignment 'newroot=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:1050:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:202:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:202:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:204:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:204:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:206:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:206:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:212:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:212:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:214:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:214:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:216:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:216:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:222:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:222:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:224:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:224:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:226:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:226:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:232:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:232:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:234:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:234:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:236:31: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:190:19: note: Assignment 'm=(struct node234*)malloc(sizeof(struct node234))', assigned value is 0 xtrkcad-source-5.3.0GA/app/tools/halibut/tree234.c:236:31: note: Null pointer dereference head xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:655:13: style: Variable 'j' is assigned a value that is never used. [unreadVariable] head xtrkcad-source-5.3.0GA/app/tools/pngtoxpm/pngtoxpm.c:655:6: style: Variable 'i' is assigned a value that is never used. [unreadVariable] head xtrkcad-source-5.3.0GA/app/wlib/gtklib/osxhelp.c:101:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] 2.17.0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:381:20: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:373:15: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:373:15: note: Assignment 'ptr=strdup(pm[col+1])', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:381:20: note: Null pointer addition head xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:381:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:373:15: note: Assuming allocation function fails xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:373:15: note: Assignment 'ptr=strdup(pm[col+1])', assigned value is 0 xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswbitmap.c:381:20: note: Null pointer addition head xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswedit.c:113:7: style: Variable 'len' is assigned a value that is never used. [unreadVariable] head xtrkcad-source-5.3.0GA/app/wlib/mswlib/mswmenu.c:1086:7: style: Variable 'buttOption' is assigned a value that is never used. [unreadVariable] DONE