2025-07-10 19:27 ftp://ftp.de.debian.org/debian/pool/main/p/pcb/pcb_4.2.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=cairo --library=opengl --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-63-generic-x86_64-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: 8f3d36a (2025-07-08 11:07:56 +0200) count: 2813 2781 elapsed-time: 31.9 31.6 head-timing-info: old-timing-info: head results: pcb-4.2.2/gts/bbtree.c:122:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/bbtree.c:209:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/bbtree.c:484:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/bbtree.c:931:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/bbtree.c:970:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/bbtree.c:895:13: style: Local variable 'min' shadows outer variable [shadowVariable] pcb-4.2.2/gts/bbtree.c:883:11: note: Shadowed declaration pcb-4.2.2/gts/bbtree.c:895:13: note: Shadow variable pcb-4.2.2/gts/bbtree.c:117:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:153:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:153:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:184:45: style: Parameter 'p' can be declared as pointer to const. However it seems that 'bbox_foreach_vertex' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/gts/bbtree.c:212:50: note: You might need to cast the function pointer here pcb-4.2.2/gts/bbtree.c:184:45: note: Parameter 'p' can be declared as pointer to const pcb-4.2.2/gts/bbtree.c:228:13: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:260:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:262:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:299:48: style: Parameter 'bb1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/bbtree.c:299:63: style: Parameter 'bb2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/bbtree.c:331:39: style: Parameter 'bb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/bbtree.c:351:31: style: Parameter 'bb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/bbtree.c:397:42: style: Parameter 'bb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/bbtree.c:397:57: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/bbtree.c:444:41: style: Parameter 'bb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/bbtree.c:444:56: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/bbtree.c:470:48: style: Parameter 'bb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/bbtree.c:473:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:473:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:473:26: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:504:47: style: Parameter 'bb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/bbtree.c:507:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:507:26: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:549:13: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:549:19: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:1096:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:1096:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:1134:13: style: Variable 'delta' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/bbtree.c:1211:13: style: Variable 'delta' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/gts.h:268:17: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/gts.h:292:16: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/boolean.c:45:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:233:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:256:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:325:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:377:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:473:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:749:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:761:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:775:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:789:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:807:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:842:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:980:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1000:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1027:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1073:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1207:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1221:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1286:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1406:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1458:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1479:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1503:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1603:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1625:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1650:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v2 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1696:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1812:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1882:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:1988:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/boolean.c:838:5: style: Redundant initialization for 'i'. The initialized value is overwritten before it is read. [redundantInitialization] pcb-4.2.2/gts/boolean.c:835:14: note: i is initialized pcb-4.2.2/gts/boolean.c:838:5: note: i is overwritten pcb-4.2.2/gts/boolean.c:838:3: style: Variable 'i' is assigned an expression that holds the same value. [redundantAssignment] pcb-4.2.2/gts/boolean.c:835:14: note: i is assigned 'interior' here. pcb-4.2.2/gts/boolean.c:838:3: note: Variable 'i' is assigned an expression that holds the same value. pcb-4.2.2/gts/boolean.c:1754:14: style: Local variable 'data' shadows outer variable [shadowVariable] pcb-4.2.2/gts/boolean.c:1736:12: note: Shadowed declaration pcb-4.2.2/gts/boolean.c:1754:14: note: Shadow variable pcb-4.2.2/gts/boolean.c:770:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:784:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:856:15: style: Variable 'next' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:856:23: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:925:15: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/boolean.c:1476:56: style: Parameter 'next' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/boolean.c:1510:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:1645:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:1650:15: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:1689:12: style: Variable 'j' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:1901:18: style: Variable 's1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:1902:18: style: Variable 's2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:1903:18: style: Variable 's3' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:293:11: style: Variable 'ev2' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/gts/boolean.c:1661:19: style: Variable 'o2' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/gts/cdt.c:136:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/cdt.c:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/cdt.c:248:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/cdt.c:276:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/cdt.c:457:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/cdt.c:542:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/cdt.c:985:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/cdt.c:1145:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable points [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/cdt.c:1153:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/cdt.c:136:16: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/cdt.c:173:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/cdt.c:248:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/cdt.c:656:45: style: Parameter 'poly' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/cdt.c:661:15: style: Variable 'v1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/cdt.c:661:28: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/cdt.c:926:15: style: Variable 'o1' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/gts/cdt.c:928:8: style: Variable 'o2' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/gts/container.c:69:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:79:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:105:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:128:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable containers [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:141:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable containers [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:146:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remove_container [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:188:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:199:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:205:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:212:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:236:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:277:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:287:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:298:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:306:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:315:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:325:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable frozen [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:334:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable frozen [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:357:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable frozen [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:365:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:370:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable add [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:409:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:419:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable frozen [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:430:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable frozen [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:444:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:455:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:460:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable add [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/container.c:453:51: style: Parameter 'c' can be declared as pointer to const. However it seems that 'slist_container_size' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/gts/container.c:463:39: note: You might need to cast the function pointer here pcb-4.2.2/gts/container.c:453:51: note: Parameter 'c' can be declared as pointer to const pcb-4.2.2/gts/curvature.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/curvature.c:39:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/curvature.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/curvature.c:71:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/curvature.c:98:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/curvature.c:167:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/curvature.c:249:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/curvature.c:466:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/curvature.c:408:15: style: Local variable 'e' shadows outer variable [shadowVariable] pcb-4.2.2/gts/curvature.c:351:7: note: Shadowed declaration pcb-4.2.2/gts/curvature.c:408:15: note: Shadow variable pcb-4.2.2/gts/edge.c:37:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/edge.c:42:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clone [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/edge.c:176:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable surfaces [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/edge.c:232:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segments [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/edge.c:288:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v2 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/edge.c:353:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/edge.c:415:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/edge.c:438:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/edge.c:461:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v2 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/edge.c:284:15: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/edge.c:353:15: style: Variable 'v1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/edge.c:412:18: style: Parameter 'e1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/edge.c:415:15: style: Variable 'v1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/edge.c:416:15: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/eheap.c:61:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/eheap.c:304:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/eheap.c:230:18: style: Variable 'pair' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/face.c:37:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/face.c:42:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clone [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/face.c:49:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clone [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/face.c:144:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangles [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/face.c:177:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/face.c:210:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/face.c:249:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/face.c:294:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/face.c:111:65: style: Parameter 's' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/face.c:113:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/fifo.c:49:11: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/fifo.c:125:32: style: Parameter 'fifo' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/fifo.c:151:39: style: Parameter 'fifo' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/graph.c:30:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parent_class [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:41:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remove_container [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:111:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:141:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:166:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:194:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXFLOAT [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:229:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:288:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable weight [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:293:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable weight [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:351:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:414:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:483:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:502:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:521:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remove_container [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:597:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:607:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:686:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable weight [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:691:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable weight [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:762:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:783:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_class [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1015:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1061:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1111:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1182:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1312:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1505:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1517:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1558:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable weight [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1568:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parent_class [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1573:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable weight [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1580:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable weight [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1633:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXFLOAT [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1649:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1664:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1701:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1721:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1749:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:1768:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/graph.c:495:11: style: Condition 'n2' is always true [knownConditionTrueFalse] pcb-4.2.2/gts/graph.c:498:11: style: Condition 'n1' is always true [knownConditionTrueFalse] pcb-4.2.2/gts/graph.c:610:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pcb-4.2.2/gts/graph.c:885:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pcb-4.2.2/gts/graph.c:896:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pcb-4.2.2/gts/graph.c:1428:10: style: Checking if unsigned expression 'nn' is less than zero. [unsignedLessThanZero] pcb-4.2.2/gts/graph.c:670:19: style:inconclusive: Function 'gts_pgedge_new' argument 2 names different: declaration 'n1' definition 'g1'. [funcArgNamesDifferent] pcb-4.2.2/gts/gts.h:2302:20: note: Function 'gts_pgedge_new' argument 2 names different: declaration 'n1' definition 'g1'. pcb-4.2.2/gts/graph.c:670:19: note: Function 'gts_pgedge_new' argument 2 names different: declaration 'n1' definition 'g1'. pcb-4.2.2/gts/graph.c:671:19: style:inconclusive: Function 'gts_pgedge_new' argument 3 names different: declaration 'n2' definition 'g2'. [funcArgNamesDifferent] pcb-4.2.2/gts/gts.h:2303:20: note: Function 'gts_pgedge_new' argument 3 names different: declaration 'n2' definition 'g2'. pcb-4.2.2/gts/graph.c:671:19: note: Function 'gts_pgedge_new' argument 3 names different: declaration 'n2' definition 'g2'. pcb-4.2.2/gts/graph.c:735:19: style:inconclusive: Function 'gts_wgedge_new' argument 2 names different: declaration 'n1' definition 'g1'. [funcArgNamesDifferent] pcb-4.2.2/gts/gts.h:2332:20: note: Function 'gts_wgedge_new' argument 2 names different: declaration 'n1' definition 'g1'. pcb-4.2.2/gts/graph.c:735:19: note: Function 'gts_wgedge_new' argument 2 names different: declaration 'n1' definition 'g1'. pcb-4.2.2/gts/graph.c:736:19: style:inconclusive: Function 'gts_wgedge_new' argument 3 names different: declaration 'n2' definition 'g2'. [funcArgNamesDifferent] pcb-4.2.2/gts/gts.h:2333:20: note: Function 'gts_wgedge_new' argument 3 names different: declaration 'n2' definition 'g2'. pcb-4.2.2/gts/graph.c:736:19: note: Function 'gts_wgedge_new' argument 3 names different: declaration 'n2' definition 'g2'. pcb-4.2.2/gts/graph.c:412:37: style: Parameter 'n' can be declared as pointer to const. However it seems that 'fnode_write' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/gts/graph.c:419:18: note: You might need to cast the function pointer here pcb-4.2.2/gts/graph.c:412:37: note: Parameter 'n' can be declared as pointer to const pcb-4.2.2/gts/graph.c:486:70: style: Parameter 'c' can be declared as pointer to const. However it seems that 'gedge_remove_container' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/gts/graph.c:521:51: note: You might need to cast the function pointer here pcb-4.2.2/gts/graph.c:486:70: note: Parameter 'c' can be declared as pointer to const pcb-4.2.2/gts/graph.c:507:70: style: Parameter 'c' can be declared as pointer to const. However it seems that 'gedge_is_contained' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/gts/graph.c:522:47: note: You might need to cast the function pointer here pcb-4.2.2/gts/graph.c:507:70: note: Parameter 'c' can be declared as pointer to const pcb-4.2.2/gts/graph.c:758:14: style: Variable 'graph' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/graph.c:949:14: style: Variable 'u' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/graph.c:1077:14: style: Variable 'n' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/heap.c:54:20: debug: Scope::checkVariable found variable 'child' with varid 0. [varid0] pcb-4.2.2/gts/heap.c:90:24: debug: Scope::checkVariable found variable 'right_child' with varid 0. [varid0] pcb-4.2.2/gts/heap.c:90:37: debug: Scope::checkVariable found variable 'child' with varid 0. [varid0] pcb-4.2.2/gts/heap.c:90:44: debug: Scope::checkVariable found variable 'parent' with varid 0. [varid0] pcb-4.2.2/gts/heap.c:54:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/heap.c:90:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable right_child [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/hsurface.c:76:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/hsurface.c:156:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_POST_ORDER [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/hsurface.c:256:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/hsurface.c:319:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LEVEL_ORDER [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/hsurface.c:354:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRE_ORDER [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/hsurface.c:363:19: style: Local variable 'hs' shadows outer variable [shadowVariable] pcb-4.2.2/gts/hsurface.c:348:15: note: Shadowed declaration pcb-4.2.2/gts/hsurface.c:363:19: note: Shadow variable pcb-4.2.2/gts/hsurface.c:372:19: style: Local variable 'hs' shadows outer variable [shadowVariable] pcb-4.2.2/gts/hsurface.c:348:15: note: Shadowed declaration pcb-4.2.2/gts/hsurface.c:372:19: note: Shadow variable pcb-4.2.2/gts/hsurface.c:68:64: style: Parameter 'vs' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/iso.c:349:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/gts.h:270:20: style: Local variable 'c' shadows outer variable [shadowVariable] pcb-4.2.2/gts/iso.c:35:14: note: Shadowed declaration pcb-4.2.2/gts/gts.h:270:20: note: Shadow variable pcb-4.2.2/gts/gts.h:294:20: style: Local variable 'c' shadows outer variable [shadowVariable] pcb-4.2.2/gts/iso.c:35:14: note: Shadowed declaration pcb-4.2.2/gts/gts.h:294:20: note: Shadow variable pcb-4.2.2/gts/iso.c:350:19: style: Variable 'ne' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/isotetra.c:159:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/isotetra.c:710:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtsCartesianGrid [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/isotetra.c:790:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtsCartesianGrid [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/isotetra.c:114:30: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/isotetra.c:176:27: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/kdtree.c:111:36: style:inconclusive: Function 'gts_kdtree_range' argument 1 names different: declaration 'tree' definition 'tree_3d'. [funcArgNamesDifferent] pcb-4.2.2/gts/gts.h:842:63: note: Function 'gts_kdtree_range' argument 1 names different: declaration 'tree' definition 'tree_3d'. pcb-4.2.2/gts/kdtree.c:111:36: note: Function 'gts_kdtree_range' argument 1 names different: declaration 'tree' definition 'tree_3d'. pcb-4.2.2/gts/kdtree.c:26:7: style: Variable 'pp1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/kdtree.c:27:7: style: Variable 'pp2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/kdtree.c:35:7: style: Variable 'pp1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/kdtree.c:36:7: style: Variable 'pp2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/kdtree.c:44:7: style: Variable 'pp1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/kdtree.c:45:7: style: Variable 'pp2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/misc.c:175:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/misc.c:190:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/misc.c:274:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/misc.c:323:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/misc.c:429:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/misc.c:344:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/misc.c:595:21: style: Variable 'var' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/named.c:29:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/named.c:86:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/named.c:141:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/named.c:150:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/named.c:36:16: style: Variable 'nv' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/named.c:92:14: style: Variable 'ne' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/named.c:147:14: style: Variable 'nf' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/object.c:159:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/object.c:189:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/object.c:295:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/object.c:45:32: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/object.c:100:58: style: Parameter 'object' can be declared as pointer to const. However it seems that 'object_clone' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/gts/object.c:108:18: note: You might need to cast the function pointer here pcb-4.2.2/gts/object.c:100:58: note: Parameter 'object' can be declared as pointer to const pcb-4.2.2/gts/oocs.c:31:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/oocs.c:70:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/oocs.c:138:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/oocs.c:152:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/oocs.c:168:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/oocs.c:174:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/oocs.c:253:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/oocs.c:34:53: style: Parameter 'p' can be declared as pointer to const. However it seems that 'cluster_add' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/gts/oocs.c:67:16: note: You might need to cast the function pointer here pcb-4.2.2/gts/oocs.c:34:53: note: Parameter 'p' can be declared as pointer to const pcb-4.2.2/gts/oocs.c:268:47: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/oocs.c:269:18: style: Parameter 'bb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/partition.c:108:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXFLOAT [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:191:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:277:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:355:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:376:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:385:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:403:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:418:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:497:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXFLOAT [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:609:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXFLOAT [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:702:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:762:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:822:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:830:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:937:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/partition.c:555:11: style: The if condition is the same as the previous if condition [duplicateCondition] pcb-4.2.2/gts/partition.c:553:11: note: First condition pcb-4.2.2/gts/partition.c:555:11: note: Second condition pcb-4.2.2/gts/partition.c:653:11: style: The if condition is the same as the previous if condition [duplicateCondition] pcb-4.2.2/gts/partition.c:651:11: note: First condition pcb-4.2.2/gts/partition.c:653:11: note: Second condition pcb-4.2.2/gts/partition.c:88:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pcb-4.2.2/gts/partition.c:443:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pcb-4.2.2/gts/partition.c:318:18: style: Local variable 'g1' shadows outer variable [shadowVariable] pcb-4.2.2/gts/partition.c:279:14: note: Shadowed declaration pcb-4.2.2/gts/partition.c:318:18: note: Shadow variable pcb-4.2.2/gts/partition.c:319:18: style: Local variable 'seed' shadows outer variable [shadowVariable] pcb-4.2.2/gts/partition.c:276:14: note: Shadowed declaration pcb-4.2.2/gts/partition.c:319:18: note: Shadow variable pcb-4.2.2/gts/partition.c:331:13: style: Local variable 'g1' shadows outer variable [shadowVariable] pcb-4.2.2/gts/partition.c:279:14: note: Shadowed declaration pcb-4.2.2/gts/partition.c:331:13: note: Shadow variable pcb-4.2.2/gts/partition.c:332:13: style: Local variable 'seed' shadows outer variable [shadowVariable] pcb-4.2.2/gts/partition.c:276:14: note: Shadowed declaration pcb-4.2.2/gts/partition.c:332:13: note: Shadow variable pcb-4.2.2/gts/partition.c:760:16: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/gts/partition.c:725:17: note: Shadowed declaration pcb-4.2.2/gts/partition.c:760:16: note: Shadow variable pcb-4.2.2/gts/partition.c:806:16: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/gts/partition.c:724:14: note: Shadowed declaration pcb-4.2.2/gts/partition.c:806:16: note: Shadow variable pcb-4.2.2/gts/partition.c:977:16: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/gts/partition.c:889:14: note: Shadowed declaration pcb-4.2.2/gts/partition.c:977:16: note: Shadow variable pcb-4.2.2/gts/pgraph.c:29:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable containers [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/pgraph.c:45:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/pgraph.c:117:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/pgraph.c:154:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/pgraph.c:200:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/pgraph.c:251:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/pgraph.c:279:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/pgraph.c:284:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/pgraph.c:325:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/pgraph.c:410:13: style: Condition 'matching=maximal_matching(g)' is always false [knownConditionTrueFalse] pcb-4.2.2/gts/pgraph.c:354:19: note: Assignment 'list=NULL', assigned value is 0 pcb-4.2.2/gts/pgraph.c:410:32: note: Calling function 'maximal_matching' returns 0 pcb-4.2.2/gts/pgraph.c:410:13: note: Condition 'matching=maximal_matching(g)' is always false pcb-4.2.2/gts/pgraph.c:114:14: style: Variable 'n1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/pgraph.c:115:14: style: Variable 'n2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/pgraph.c:163:13: style: Variable 'n4' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/pgraph.c:199:14: style: Variable 'n2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/pgraph.c:509:47: style: Parameter 'pg' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/point.c:30:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/point.c:73:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/point.c:610:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/point.c:765:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bounded [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/point.c:71:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/point.c:161:40: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/point.c:161:55: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/point.c:177:41: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/point.c:177:56: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/point.c:394:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/point.c:756:13: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/predicates.c:709:56: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:710:28: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:795:53: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:843:38: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:881:33: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:881:43: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:881:53: style: Parameter 'pc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:1035:33: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:1035:43: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:1035:53: style: Parameter 'pc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:1035:63: style: Parameter 'pd' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:1513:33: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:1513:43: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:1513:53: style: Parameter 'pc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:1513:63: style: Parameter 'pd' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:2164:33: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:2164:43: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:2164:53: style: Parameter 'pc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:2164:63: style: Parameter 'pd' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:2164:73: style: Parameter 'pe' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/predicates.c:1430:51: style: Variable 'finother' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/gts/predicates.c:2078:53: style: Variable 'finother' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/gts/psurface.c:42:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/psurface.c:92:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/psurface.c:158:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/psurface.c:169:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/psurface.c:175:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/psurface.c:268:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/psurface.c:404:53: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/refine.c:39:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/refine.c:102:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/refine.c:124:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/refine.c:160:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/refine.c:202:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/refine.c:299:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/refine.c:312:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/refine.c:344:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/refine.c:380:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/refine.c:33:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/refine.c:33:19: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/refine.c:33:25: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/refine.c:194:16: style: Variable 'add_vertex_returned' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/refine.c:391:16: style: Variable 'add_vertex_returned' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/segment.c:29:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/segment.c:204:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segments [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/segment.c:231:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/segment.c:112:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/segment.c:113:15: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/segment.c:177:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/segment.c:177:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/split.c:147:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:234:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:311:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:350:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:415:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:442:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:628:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:820:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:1053:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LEVEL_ORDER [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:1206:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncf [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:1285:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:1408:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:1713:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/split.c:1388:17: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] pcb-4.2.2/gts/split.c:1387:15: note: outer condition: f->type==GTS_STRING pcb-4.2.2/gts/split.c:1388:17: note: opposite inner condition: f->type!=GTS_STRING pcb-4.2.2/gts/split.c:817:14: style: Local variable 'j' shadows outer variable [shadowVariable] pcb-4.2.2/gts/split.c:785:9: note: Shadowed declaration pcb-4.2.2/gts/split.c:817:14: note: Shadow variable pcb-4.2.2/gts/split.c:203:16: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/split.c:204:18: style: Parameter 'v1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/split.c:205:18: style: Parameter 'v2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/split.c:304:35: style: Parameter 'vs' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/split.c:335:44: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/stripe.c:510:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/stripe.c:682:3: warning: Either the condition 'v1' is redundant or there is possible null pointer dereference: v1. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v1' is not redundant pcb-4.2.2/gts/stripe.c:682:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:682:3: warning: Either the condition 'v2' is redundant or there is possible null pointer dereference: v2. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v2' is not redundant pcb-4.2.2/gts/stripe.c:682:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:682:3: warning: Either the condition 'v3' is redundant or there is possible null pointer dereference: v3. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v3' is not redundant pcb-4.2.2/gts/stripe.c:682:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:683:3: warning: Either the condition 'v4' is redundant or there is possible null pointer dereference: v4. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:691:3: note: Assuming that condition 'v4' is not redundant pcb-4.2.2/gts/stripe.c:683:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:683:3: warning: Either the condition 'v5' is redundant or there is possible null pointer dereference: v5. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:691:3: note: Assuming that condition 'v5' is not redundant pcb-4.2.2/gts/stripe.c:683:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:683:3: warning: Either the condition 'v6' is redundant or there is possible null pointer dereference: v6. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:691:3: note: Assuming that condition 'v6' is not redundant pcb-4.2.2/gts/stripe.c:683:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:684:3: warning: Either the condition 'v1' is redundant or there is possible null pointer dereference: v1. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v1' is not redundant pcb-4.2.2/gts/stripe.c:684:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:684:3: warning: Either the condition 'v2' is redundant or there is possible null pointer dereference: v2. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v2' is not redundant pcb-4.2.2/gts/stripe.c:684:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:684:3: warning: Either the condition 'v3' is redundant or there is possible null pointer dereference: v3. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v3' is not redundant pcb-4.2.2/gts/stripe.c:684:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:684:3: warning: Either the condition 'v4' is redundant or there is possible null pointer dereference: v4. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:691:3: note: Assuming that condition 'v4' is not redundant pcb-4.2.2/gts/stripe.c:684:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:684:3: warning: Either the condition 'v5' is redundant or there is possible null pointer dereference: v5. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:691:3: note: Assuming that condition 'v5' is not redundant pcb-4.2.2/gts/stripe.c:684:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:684:3: warning: Either the condition 'v6' is redundant or there is possible null pointer dereference: v6. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:691:3: note: Assuming that condition 'v6' is not redundant pcb-4.2.2/gts/stripe.c:684:3: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:686:28: warning: Either the condition 'v1' is redundant or there is possible null pointer dereference: v1. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v1' is not redundant pcb-4.2.2/gts/stripe.c:686:28: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:686:33: warning: Either the condition 'v2' is redundant or there is possible null pointer dereference: v2. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v2' is not redundant pcb-4.2.2/gts/stripe.c:686:33: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:686:38: warning: Either the condition 'v3' is redundant or there is possible null pointer dereference: v3. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v3' is not redundant pcb-4.2.2/gts/stripe.c:686:38: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:686:43: warning: Either the condition 'v4' is redundant or there is possible null pointer dereference: v4. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:691:3: note: Assuming that condition 'v4' is not redundant pcb-4.2.2/gts/stripe.c:686:43: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:686:48: warning: Either the condition 'v5' is redundant or there is possible null pointer dereference: v5. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:691:3: note: Assuming that condition 'v5' is not redundant pcb-4.2.2/gts/stripe.c:686:48: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:686:53: warning: Either the condition 'v6' is redundant or there is possible null pointer dereference: v6. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:691:3: note: Assuming that condition 'v6' is not redundant pcb-4.2.2/gts/stripe.c:686:53: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:688:18: warning: Either the condition 'v3' is redundant or there is possible null pointer dereference: v3. [nullPointerRedundantCheck] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v3' is not redundant pcb-4.2.2/gts/stripe.c:688:18: note: Null pointer dereference pcb-4.2.2/gts/stripe.c:100:45: style: Parameter 'v1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/stripe.c:101:17: style: Parameter 'v2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/stripe.c:102:17: style: Parameter 'v3' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/stripe.c:383:18: style: struct member 'min_key_t::heap' is never used. [unusedStructMember] pcb-4.2.2/gts/stripe.c:384:10: style: struct member 'min_key_t::min_key' is never used. [unusedStructMember] pcb-4.2.2/gts/surface.c:30:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:46:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face_class [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:62:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable destroy [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:167:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:194:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:267:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:436:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:582:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangles [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:682:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:764:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:777:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:791:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:822:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:840:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:848:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:893:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:952:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:1134:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:1204:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:1422:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:1452:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segments [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:1503:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:1603:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:1613:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:1619:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:1677:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:1869:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v2 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:2053:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:2058:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:2067:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:2557:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:2564:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:2593:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:2618:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable surfaces [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:2667:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:2696:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable klass [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/surface.c:247:17: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] pcb-4.2.2/gts/surface.c:246:15: note: outer condition: f->type==GTS_STRING pcb-4.2.2/gts/surface.c:247:17: note: opposite inner condition: f->type!=GTS_STRING pcb-4.2.2/gts/surface.c:276:10: style: Checking if unsigned expression 'nf' is less than zero. [unsignedLessThanZero] pcb-4.2.2/gts/surface.c:1331:16: style: Local variable 't' shadows outer variable [shadowVariable] pcb-4.2.2/gts/surface.c:1307:19: note: Shadowed declaration pcb-4.2.2/gts/surface.c:1331:16: note: Shadow variable pcb-4.2.2/gts/surface.c:1387:18: style: Local variable 's' shadows outer variable [shadowVariable] pcb-4.2.2/gts/surface.c:1372:16: note: Shadowed declaration pcb-4.2.2/gts/surface.c:1387:18: note: Shadow variable pcb-4.2.2/gts/surface.c:1401:18: style: Local variable 's' shadows outer variable [shadowVariable] pcb-4.2.2/gts/surface.c:1372:16: note: Shadowed declaration pcb-4.2.2/gts/surface.c:1401:18: note: Shadow variable pcb-4.2.2/gts/surface.c:1460:12: style: Local variable 'e1' shadows outer variable [shadowVariable] pcb-4.2.2/gts/surface.c:1454:15: note: Shadowed declaration pcb-4.2.2/gts/surface.c:1460:12: note: Shadow variable pcb-4.2.2/gts/surface.c:2672:14: style: Local variable 'data' shadows outer argument [shadowArgument] pcb-4.2.2/gts/surface.c:2659:56: note: Shadowed declaration pcb-4.2.2/gts/surface.c:2672:14: note: Shadow variable pcb-4.2.2/gts/surface.c:2701:14: style: Local variable 'data' shadows outer argument [shadowArgument] pcb-4.2.2/gts/surface.c:2689:57: note: Shadowed declaration pcb-4.2.2/gts/surface.c:2701:14: note: Shadow variable pcb-4.2.2/gts/surface.c:49:40: style: Parameter 'object' can be declared as pointer to const. However it seems that 'surface_write' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/gts/surface.c:63:37: note: You might need to cast the function pointer here pcb-4.2.2/gts/surface.c:49:40: note: Parameter 'object' can be declared as pointer to const pcb-4.2.2/gts/surface.c:505:34: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/surface.c:1301:57: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/surface.c:1344:53: style: Parameter 'v1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/surface.c:1710:15: style: Parameter 'min_number' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/surface.c:1733:15: style: Parameter 'max_cost' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/surface.c:1833:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/surface.c:1833:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/surface.c:2226:14: style: Variable 'pa' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/surface.c:2226:20: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/surface.c:2226:26: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/surface.c:2260:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/surface.c:2260:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/surface.c:2260:26: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/surface.c:2328:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/surface.c:2328:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/surface.c:2328:26: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:125:5: error: There is an unknown macro here somewhere. Configuration is required. If assert is a macro then please configure it. [unknownMacro] pcb-4.2.2/gts/tribox3.c:45:28: style: Parameter 'normal' can be declared as const array [constParameter] pcb-4.2.2/gts/tribox3.c:45:46: style: Parameter 'vert' can be declared as const array [constParameter] pcb-4.2.2/gts/tribox3.c:45:62: style: Parameter 'maxbox' can be declared as const array [constParameter] pcb-4.2.2/gts/tribox3.c:116:26: style: Parameter 'boxcenter' can be declared as const array [constParameter] pcb-4.2.2/gts/tribox3.c:116:68: style: Parameter 'triverts' can be declared as const array [constParameter] pcb-4.2.2/gts/vertex.c:32:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vertex.c:48:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clone [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vertex.c:56:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clone [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vertex.c:235:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangles [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vertex.c:271:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangles [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vertex.c:385:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vertex.c:463:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vertex.c:573:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vertex.c:603:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vertex.c:632:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reserved [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vertex.c:667:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vertex.c:704:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pcb-4.2.2/gts/vertex.c:149:48: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/vertex.c:165:70: style: Parameter 'v2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/vertex.c:167:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vertex.c:442:21: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/vertex.c:567:16: style: Parameter 'e1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/vertex.c:667:16: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vertex.c:668:16: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vertex.c:669:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vopt.c:37:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vopt.c:80:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vopt.c:129:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vopt.c:154:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segments [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vopt.c:182:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v2 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vopt.c:204:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vopt.c:264:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vopt.c:508:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/vopt.c:357:11: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/gts/vopt.c:240:25: note: Shadowed declaration pcb-4.2.2/gts/vopt.c:357:11: note: Shadow variable pcb-4.2.2/gts/vopt.c:384:22: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/gts/vopt.c:240:25: note: Shadowed declaration pcb-4.2.2/gts/vopt.c:384:22: note: Shadow variable pcb-4.2.2/gts/vopt.c:32:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vopt.c:32:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vopt.c:32:33: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vopt.c:81:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vopt.c:81:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vopt.c:130:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vopt.c:130:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vopt.c:132:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/vopt.c:238:34: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/vopt.c:391:18: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/intl/bindtextdom.c:204:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainname [valueFlowBailoutIncompleteVar] pcb-4.2.2/intl/bindtextdom.c:230:12: style: Local variable 'len' shadows outer variable [shadowVariable] pcb-4.2.2/intl/bindtextdom.c:202:14: note: Shadowed declaration pcb-4.2.2/intl/bindtextdom.c:230:12: note: Shadow variable pcb-4.2.2/intl/bindtextdom.c:259:15: style: Local variable 'len' shadows outer variable [shadowVariable] pcb-4.2.2/intl/bindtextdom.c:202:14: note: Shadowed declaration pcb-4.2.2/intl/bindtextdom.c:259:15: note: Shadow variable pcb-4.2.2/intl/dcigettext.c:641:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] pcb-4.2.2/intl/dcigettext.c:640:14: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] pcb-4.2.2/intl/dcigettext.c:689:39: style: Redundant condition: The condition 'categoryvalue[0] != '\0'' is redundant since 'categoryvalue[0] == ':'' is sufficient. [redundantCondition] pcb-4.2.2/intl/dcigettext.c:485:25: style:inconclusive: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:78:46: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. pcb-4.2.2/intl/dcigettext.c:485:25: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. pcb-4.2.2/intl/dcigettext.c:485:49: style:inconclusive: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:79:18: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. pcb-4.2.2/intl/dcigettext.c:485:49: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. pcb-4.2.2/intl/dcigettext.c:485:69: style:inconclusive: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:79:40: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. pcb-4.2.2/intl/dcigettext.c:485:69: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. pcb-4.2.2/intl/dcigettext.c:486:10: style:inconclusive: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:80:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. pcb-4.2.2/intl/dcigettext.c:486:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. pcb-4.2.2/intl/dcigettext.c:486:36: style:inconclusive: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:80:38: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. pcb-4.2.2/intl/dcigettext.c:486:36: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. pcb-4.2.2/intl/dcigettext.c:486:43: style:inconclusive: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:81:10: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. pcb-4.2.2/intl/dcigettext.c:486:43: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. pcb-4.2.2/intl/tsearch.c:182:8: style: Local variable 'root' shadows outer variable [shadowVariable] pcb-4.2.2/intl/dcigettext.c:275:14: note: Shadowed declaration pcb-4.2.2/intl/tsearch.c:182:8: note: Shadow variable pcb-4.2.2/intl/tsearch.c:282:12: style: Local variable 'root' shadows outer variable [shadowVariable] pcb-4.2.2/intl/dcigettext.c:275:14: note: Shadowed declaration pcb-4.2.2/intl/tsearch.c:282:12: note: Shadow variable pcb-4.2.2/intl/tsearch.c:343:12: style: Local variable 'root' shadows outer variable [shadowVariable] pcb-4.2.2/intl/dcigettext.c:275:14: note: Shadowed declaration pcb-4.2.2/intl/tsearch.c:343:12: note: Shadow variable pcb-4.2.2/intl/tsearch.c:368:8: style: Local variable 'root' shadows outer variable [shadowVariable] pcb-4.2.2/intl/dcigettext.c:275:14: note: Shadowed declaration pcb-4.2.2/intl/tsearch.c:368:8: note: Shadow variable pcb-4.2.2/intl/tsearch.c:618:14: style: Local variable 'root' shadows outer variable [shadowVariable] pcb-4.2.2/intl/dcigettext.c:275:14: note: Shadowed declaration pcb-4.2.2/intl/tsearch.c:618:14: note: Shadow variable pcb-4.2.2/intl/tsearch.c:641:14: style: Local variable 'root' shadows outer variable [shadowVariable] pcb-4.2.2/intl/dcigettext.c:275:14: note: Shadowed declaration pcb-4.2.2/intl/tsearch.c:641:14: note: Shadow variable pcb-4.2.2/intl/dcigettext.c:629:10: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/intl/dcigettext.c:1421:25: style: Variable 'domaindata' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/intl/dgettext.c:50:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] pcb-4.2.2/intl/dngettext.c:51:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] pcb-4.2.2/intl/finddomain.c:59:30: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:255:54: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. pcb-4.2.2/intl/finddomain.c:59:30: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. pcb-4.2.2/intl/finddomain.c:59:45: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:255:71: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. pcb-4.2.2/intl/finddomain.c:59:45: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. pcb-4.2.2/intl/finddomain.c:60:16: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:256:19: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. pcb-4.2.2/intl/finddomain.c:60:16: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. pcb-4.2.2/intl/finddomain.c:60:44: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:257:23: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. pcb-4.2.2/intl/finddomain.c:60:44: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. pcb-4.2.2/intl/gettext.c:55:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] pcb-4.2.2/intl/l10nflist.c:319:12: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/intl/loadmsgcat.c:803:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] pcb-4.2.2/intl/loadmsgcat.c:868:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] pcb-4.2.2/intl/loadmsgcat.c:796:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. pcb-4.2.2/intl/loadmsgcat.c:868:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. pcb-4.2.2/intl/loadmsgcat.c:785:42: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:259:47: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. pcb-4.2.2/intl/loadmsgcat.c:785:42: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. pcb-4.2.2/intl/loadmsgcat.c:786:20: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] pcb-4.2.2/intl/gettextP.h:260:25: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. pcb-4.2.2/intl/loadmsgcat.c:786:20: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. pcb-4.2.2/intl/localcharset.c:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] pcb-4.2.2/intl/localcharset.c:443:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] pcb-4.2.2/intl/localcharset.c:434:24: note: Assignment 'locale=NULL', assigned value is 0 pcb-4.2.2/intl/localcharset.c:443:14: note: Condition 'locale==NULL' is always true pcb-4.2.2/intl/localealias.c:161:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] pcb-4.2.2/intl/localealias.c:157:21: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/intl/localealias.c:259:13: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/intl/localealias.c:260:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/intl/localealias.c:173:41: error: Uninitialized variable: &item.value [uninitvar] pcb-4.2.2/intl/localename.c:2950:14: style: Condition 'retval!=NULL' is always false [knownConditionTrueFalse] pcb-4.2.2/intl/localename.c:2949:34: note: Calling function 'gl_locale_name_thread' returns 0 pcb-4.2.2/intl/localename.c:2949:34: note: Assignment 'retval=gl_locale_name_thread(category,categoryname)', assigned value is 0 pcb-4.2.2/intl/localename.c:2950:14: note: Condition 'retval!=NULL' is always false pcb-4.2.2/intl/log.c:123:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] pcb-4.2.2/intl/ngettext.c:57:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] pcb-4.2.2/intl/os2compat.c:58:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] pcb-4.2.2/intl/os2compat.c:59:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_libdir [nullPointerOutOfMemory] pcb-4.2.2/intl/os2compat.c:58:43: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:58:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:59:19: note: Null pointer dereference pcb-4.2.2/intl/os2compat.c:73:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localealiaspath [nullPointerOutOfMemory] pcb-4.2.2/intl/os2compat.c:72:52: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:72:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:73:19: note: Null pointer dereference pcb-4.2.2/intl/os2compat.c:87:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localedir [nullPointerOutOfMemory] pcb-4.2.2/intl/os2compat.c:86:46: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:86:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:87:19: note: Null pointer dereference pcb-4.2.2/intl/os2compat.c:94:15: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localedir [nullPointerOutOfMemory] pcb-4.2.2/intl/os2compat.c:86:46: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:86:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:94:15: note: Null pointer dereference pcb-4.2.2/intl/os2compat.c:60:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/intl/os2compat.c:58:43: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:58:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:60:33: note: Null pointer addition pcb-4.2.2/intl/os2compat.c:74:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/intl/os2compat.c:72:52: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:72:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:74:42: note: Null pointer addition pcb-4.2.2/intl/os2compat.c:88:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/intl/os2compat.c:86:46: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:86:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:88:36: note: Null pointer addition pcb-4.2.2/intl/os2compat.c:49:9: style: Variable 'root' can be declared as pointer to const [constVariablePointer] plural.y:162:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qmop [valueFlowBailoutIncompleteVar] plural.y:278:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable equal [valueFlowBailoutIncompleteVar] plural.c:1201:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] plural.y:154:21: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:156:28: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:162:96: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:170:71: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:178:72: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:186:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:194:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:202:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:210:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:218:48: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:235:42: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:380:29: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/intl/xsize.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] pcb-4.2.2/intl/xsize.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] pcb-4.2.2/intl/tsearch.c:621:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable leaf [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:577:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:615:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUFFER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:670:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COORD [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:771:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:1150:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:2230:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FONT_CAPHEIGHT [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:2407:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:2662:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:3370:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:3660:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:3801:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COORD [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:4336:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:4431:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:4532:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:4678:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:4731:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:4790:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:5482:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COORD [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:5680:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COORD [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:6132:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ElementN [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:6442:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Line [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:6523:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_STYLES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:6925:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:6990:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:7086:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:7278:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:7541:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:8260:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/action.c:7461:21: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] pcb-4.2.2/src/action.c:7611:32: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pcb-4.2.2/src/action.c:7649:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pcb-4.2.2/src/action.c:7661:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pcb-4.2.2/src/action.c:7743:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pcb-4.2.2/src/action.c:7755:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pcb-4.2.2/src/action.c:6392:12: style: Condition 'function' is always true [knownConditionTrueFalse] pcb-4.2.2/src/action.c:7185:12: style: Condition 'e' is always true [knownConditionTrueFalse] pcb-4.2.2/src/action.c:3331:21: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] pcb-4.2.2/src/action.c:3336:21: note: Assuming that condition 'name' is not redundant pcb-4.2.2/src/action.c:3331:21: note: Null pointer dereference pcb-4.2.2/src/action.c:3342:21: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] pcb-4.2.2/src/action.c:3345:24: note: Assuming that condition 'name' is not redundant pcb-4.2.2/src/action.c:3342:21: note: Null pointer dereference pcb-4.2.2/src/action.c:3444:11: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3442:18: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3442:18: note: Assignment 'tmps=strdup((element_list[i])->Name[1].TextString)', assigned value is 0 pcb-4.2.2/src/action.c:3444:11: note: Null pointer dereference pcb-4.2.2/src/action.c:3444:23: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3442:18: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3442:18: note: Assignment 'tmps=strdup((element_list[i])->Name[1].TextString)', assigned value is 0 pcb-4.2.2/src/action.c:3444:23: note: Null pointer dereference pcb-4.2.2/src/action.c:3444:40: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3442:18: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3442:18: note: Assignment 'tmps=strdup((element_list[i])->Name[1].TextString)', assigned value is 0 pcb-4.2.2/src/action.c:3444:40: note: Null pointer dereference pcb-4.2.2/src/action.c:3445:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3442:18: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3442:18: note: Assignment 'tmps=strdup((element_list[i])->Name[1].TextString)', assigned value is 0 pcb-4.2.2/src/action.c:3445:7: note: Null pointer dereference pcb-4.2.2/src/action.c:3447:4: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3442:18: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3442:18: note: Assignment 'tmps=strdup((element_list[i])->Name[1].TextString)', assigned value is 0 pcb-4.2.2/src/action.c:3447:4: note: Null pointer dereference pcb-4.2.2/src/action.c:3451:56: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3442:18: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3442:18: note: Assignment 'tmps=strdup((element_list[i])->Name[1].TextString)', assigned value is 0 pcb-4.2.2/src/action.c:3451:56: note: Null pointer dereference pcb-4.2.2/src/action.c:3577:20: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3576:22: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3576:22: note: Assignment 'tmps=strdup(PCB->NetlistLib.Menu[i].Entry[j].ListEntry)', assigned value is 0 pcb-4.2.2/src/action.c:3577:20: note: Null pointer dereference pcb-4.2.2/src/action.c:3577:31: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3576:22: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3576:22: note: Assignment 'tmps=strdup(PCB->NetlistLib.Menu[i].Entry[j].ListEntry)', assigned value is 0 pcb-4.2.2/src/action.c:3577:31: note: Null pointer dereference pcb-4.2.2/src/action.c:3578:8: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3576:22: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3576:22: note: Assignment 'tmps=strdup(PCB->NetlistLib.Menu[i].Entry[j].ListEntry)', assigned value is 0 pcb-4.2.2/src/action.c:3578:8: note: Null pointer dereference pcb-4.2.2/src/action.c:3588:17: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3576:22: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3576:22: note: Assignment 'tmps=strdup(PCB->NetlistLib.Menu[i].Entry[j].ListEntry)', assigned value is 0 pcb-4.2.2/src/action.c:3588:17: note: Null pointer dereference pcb-4.2.2/src/action.c:6164:26: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] pcb-4.2.2/src/action.c:6151:13: note: Assuming that condition 'name' is not redundant pcb-4.2.2/src/action.c:6164:26: note: Null pointer dereference pcb-4.2.2/src/action.c:8008:6: warning: If memory allocation fails, then there is a possible null pointer dereference: sources [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8002:24: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8002:14: note: Assignment 'sources=(char**)calloc(1,(nsources+1)*sizeof(char*))', assigned value is 0 pcb-4.2.2/src/action.c:8008:6: note: Null pointer dereference pcb-4.2.2/src/action.c:8024:15: warning: If memory allocation fails, then there is a possible null pointer dereference: schname [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8023:26: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8023:17: note: Assignment 'schname=(char*)calloc(1,strlen(pcbname)+5)', assigned value is 0 pcb-4.2.2/src/action.c:8024:15: note: Null pointer dereference pcb-4.2.2/src/action.c:8025:21: warning: If memory allocation fails, then there is a possible null pointer dereference: schname [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8023:26: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8023:17: note: Assignment 'schname=(char*)calloc(1,strlen(pcbname)+5)', assigned value is 0 pcb-4.2.2/src/action.c:8025:21: note: Null pointer dereference pcb-4.2.2/src/action.c:8026:23: warning: If memory allocation fails, then there is a possible null pointer dereference: schname [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8023:26: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8023:17: note: Assignment 'schname=(char*)calloc(1,strlen(pcbname)+5)', assigned value is 0 pcb-4.2.2/src/action.c:8026:23: note: Null pointer dereference pcb-4.2.2/src/action.c:8027:24: warning: If memory allocation fails, then there is a possible null pointer dereference: schname [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8023:26: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8023:17: note: Assignment 'schname=(char*)calloc(1,strlen(pcbname)+5)', assigned value is 0 pcb-4.2.2/src/action.c:8027:24: note: Null pointer dereference pcb-4.2.2/src/action.c:8043:7: warning: If memory allocation fails, then there is a possible null pointer dereference: sources [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8042:27: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8042:17: note: Assignment 'sources=(char**)calloc(1,2*sizeof(char*))', assigned value is 0 pcb-4.2.2/src/action.c:8043:7: note: Null pointer dereference pcb-4.2.2/src/action.c:8044:7: warning: If memory allocation fails, then there is a possible null pointer dereference: sources [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8042:27: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8042:17: note: Assignment 'sources=(char**)calloc(1,2*sizeof(char*))', assigned value is 0 pcb-4.2.2/src/action.c:8044:7: note: Null pointer dereference pcb-4.2.2/src/action.c:8060:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8059:23: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8059:13: note: Assignment 'cmd=(char**)calloc(1,(7+nsources)*sizeof(char*))', assigned value is 0 pcb-4.2.2/src/action.c:8060:7: note: Null pointer dereference pcb-4.2.2/src/action.c:8061:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8059:23: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8059:13: note: Assignment 'cmd=(char**)calloc(1,(7+nsources)*sizeof(char*))', assigned value is 0 pcb-4.2.2/src/action.c:8061:7: note: Null pointer dereference pcb-4.2.2/src/action.c:8062:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8059:23: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8059:13: note: Assignment 'cmd=(char**)calloc(1,(7+nsources)*sizeof(char*))', assigned value is 0 pcb-4.2.2/src/action.c:8062:7: note: Null pointer dereference pcb-4.2.2/src/action.c:8063:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8059:23: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8059:13: note: Assignment 'cmd=(char**)calloc(1,(7+nsources)*sizeof(char*))', assigned value is 0 pcb-4.2.2/src/action.c:8063:7: note: Null pointer dereference pcb-4.2.2/src/action.c:8064:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8059:23: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8059:13: note: Assignment 'cmd=(char**)calloc(1,(7+nsources)*sizeof(char*))', assigned value is 0 pcb-4.2.2/src/action.c:8064:7: note: Null pointer dereference pcb-4.2.2/src/action.c:8065:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8059:23: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8059:13: note: Assignment 'cmd=(char**)calloc(1,(7+nsources)*sizeof(char*))', assigned value is 0 pcb-4.2.2/src/action.c:8065:7: note: Null pointer dereference pcb-4.2.2/src/action.c:8067:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8059:23: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8059:13: note: Assignment 'cmd=(char**)calloc(1,(7+nsources)*sizeof(char*))', assigned value is 0 pcb-4.2.2/src/action.c:8067:2: note: Null pointer dereference pcb-4.2.2/src/action.c:8068:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8059:23: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8059:13: note: Assignment 'cmd=(char**)calloc(1,(7+nsources)*sizeof(char*))', assigned value is 0 pcb-4.2.2/src/action.c:8068:7: note: Null pointer dereference pcb-4.2.2/src/action.c:8129:15: warning: If memory allocation fails, then there is a possible null pointer dereference: srclist [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8128:26: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8128:17: note: Assignment 'srclist=(char*)calloc(1,srclen)', assigned value is 0 pcb-4.2.2/src/action.c:8129:15: note: Null pointer dereference pcb-4.2.2/src/action.c:8134:12: warning: If memory allocation fails, then there is a possible null pointer dereference: srclist [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:8128:26: note: Assuming allocation function fails pcb-4.2.2/src/action.c:8128:17: note: Assignment 'srclist=(char*)calloc(1,srclen)', assigned value is 0 pcb-4.2.2/src/action.c:8134:12: note: Null pointer dereference pcb-4.2.2/src/action.c:3579:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/action.c:3576:22: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3576:22: note: Assignment 'tmps=strdup(PCB->NetlistLib.Menu[i].Entry[j].ListEntry)', assigned value is 0 pcb-4.2.2/src/action.c:3579:19: note: Null pointer addition pcb-4.2.2/src/action.c:4034:18: style: Variable 'Marked.status' is reassigned a value before the old one has been used. [redundantAssignment] pcb-4.2.2/src/action.c:4033:18: note: Marked.status is assigned pcb-4.2.2/src/action.c:4034:18: note: Marked.status is overwritten pcb-4.2.2/src/action.c:5541:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pcb-4.2.2/src/action.c:5711:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pcb-4.2.2/src/action.c:1169:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/action.c:1184:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/action.c:7601:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/action.c:7605:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/action.c:7751:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/action.c:7754:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/action.c:7769:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/action.c:8139:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/action.c:8141:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/action.c:668:15: style: Local variable 'box' shadows outer variable [shadowVariable] pcb-4.2.2/src/action.c:664:11: note: Shadowed declaration pcb-4.2.2/src/action.c:668:15: note: Shadow variable pcb-4.2.2/src/action.c:1583:10: style: Local variable 'type' shadows outer variable [shadowVariable] pcb-4.2.2/src/action.c:990:7: note: Shadowed declaration pcb-4.2.2/src/action.c:1583:10: note: Shadow variable pcb-4.2.2/src/action.c:1605:10: style: Local variable 'type' shadows outer variable [shadowVariable] pcb-4.2.2/src/action.c:990:7: note: Shadowed declaration pcb-4.2.2/src/action.c:1605:10: note: Shadow variable pcb-4.2.2/src/action.c:3073:10: style: Local variable 'saved_mode' shadows outer variable [shadowVariable] pcb-4.2.2/src/action.c:333:13: note: Shadowed declaration pcb-4.2.2/src/action.c:3073:10: note: Shadow variable pcb-4.2.2/src/action.c:5522:12: style: Local variable 'x' shadows outer argument [shadowArgument] pcb-4.2.2/src/action.c:5396:44: note: Shadowed declaration pcb-4.2.2/src/action.c:5522:12: note: Shadow variable pcb-4.2.2/src/action.c:5522:15: style: Local variable 'y' shadows outer argument [shadowArgument] pcb-4.2.2/src/action.c:5396:53: note: Shadowed declaration pcb-4.2.2/src/action.c:5522:15: note: Shadow variable pcb-4.2.2/src/action.c:6182:12: style: Local variable 'x' shadows outer argument [shadowArgument] pcb-4.2.2/src/action.c:6085:49: note: Shadowed declaration pcb-4.2.2/src/action.c:6182:12: note: Shadow variable pcb-4.2.2/src/action.c:6182:15: style: Local variable 'y' shadows outer argument [shadowArgument] pcb-4.2.2/src/action.c:6085:58: note: Shadowed declaration pcb-4.2.2/src/action.c:6182:15: note: Shadow variable pcb-4.2.2/src/action.c:7934:13: style: Local variable 'x' shadows outer argument [shadowArgument] pcb-4.2.2/src/action.c:7895:44: note: Shadowed declaration pcb-4.2.2/src/action.c:7934:13: note: Shadow variable pcb-4.2.2/src/action.c:7934:16: style: Local variable 'y' shadows outer argument [shadowArgument] pcb-4.2.2/src/action.c:7895:53: note: Shadowed declaration pcb-4.2.2/src/action.c:7934:16: note: Shadow variable pcb-4.2.2/src/action.c:838:14: style: Variable 'pnt' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:918:13: style: Variable 'pad' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:1444:13: style: Variable 'points' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:1510:19: style: Variable 'points' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:2048:9: style: Variable 'style' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:2263:9: style: Variable 'force' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:2640:20: style: Variable 'str_dir' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4076:9: style: Variable 'delta' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4077:9: style: Variable 'units' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4171:9: style: Variable 'delta' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4172:9: style: Variable 'units' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4238:9: style: Variable 'delta' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4239:9: style: Variable 'units' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4317:9: style: Variable 'units' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4413:9: style: Variable 'units' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4521:9: style: Variable 'refdes' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4521:18: style: Variable 'pinnum' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4521:27: style: Variable 'pinname' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:5756:9: style: Variable 'function' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:5907:9: style: Variable 'function' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:6088:9: style: Variable 'sbufnum' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:6373:17: style: Variable 'bx' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:6516:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:6558:9: style: Variable 'x_str' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:6559:9: style: Variable 'y_str' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:6560:9: style: Variable 'units' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:6913:9: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:6983:31: style: Parameter 'refdes' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/action.c:7073:9: style: Variable 'function' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:7327:9: style: Variable 'command' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:7399:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/action.c:7909:18: style: Variable 'units' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:8016:13: style: Variable 'pcbname' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:8018:19: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:8018:27: style: Variable 'bslash' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:4720:16: style: Variable 'type' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/action.c:5272:16: style: Variable 'type' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/action.c:5321:16: style: Variable 'type' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/action.c:6355:10: style: Variable 'ptr2' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/action.c:8432:12: style: Variable 'type' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/autoplace.c:200:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/autoplace.c:422:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/autoplace.c:660:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/autoplace.c:845:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/autoplace.c:387:20: style: Variable 'c' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/autoplace.c:131:17: style: struct member 'ElementPtrListType::element' is never used. [unusedStructMember] pcb-4.2.2/src/autoplace.c:132:12: style: struct member 'ElementPtrListType::elementN' is never used. [unusedStructMember] pcb-4.2.2/src/autoroute.c:949:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/autoroute.c:4667:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COORD [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/autoroute.c:5247:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_STYLES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/autoroute.c:4924:13: warning: Assert statement calls a function which may have desired side effects: 'no_expansion_boxes'. [assertWithSideEffect] pcb-4.2.2/src/autoroute.c:3480:9: style: Condition '1||!AutoRouteParameters.is_smoothing' is always true [knownConditionTrueFalse] pcb-4.2.2/src/autoroute.c:5012:16: style: Condition 'smoothes' is always true [knownConditionTrueFalse] pcb-4.2.2/src/autoroute.c:5014:53: style: Condition 'ipasses' is not redundant pcb-4.2.2/src/autoroute.c:5014:53: note: Condition 'iX' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1453:12: style: Redundant assignment of 'via->X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1459:20: style: Redundant assignment of 'line->Point1.X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1461:20: style: Redundant assignment of 'line->Point2.X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1468:12: style: Redundant assignment of 'arc->X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1481:16: style: Redundant assignment of 'point->X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1511:13: style: Redundant assignment of 'Buffer->X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1516:12: style: Redundant assignment of 'via->X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1525:20: style: Redundant assignment of 'line->Point1.X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1527:20: style: Redundant assignment of 'line->Point2.X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1536:12: style: Redundant assignment of 'arc->X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1549:16: style: Redundant assignment of 'point->X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:1561:13: style: Redundant assignment of 'text->X' to itself. [selfAssignment] pcb-4.2.2/src/buffer.c:726:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/buffer.c:752:63: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/buffer.c:1600:11: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/buffer.c:1601:11: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/buffer.c:1608:11: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/buffer.c:1609:11: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/buffer.c:417:12: style: Variable 'box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/buffer.c:563:23: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/buffer.c:564:23: style: Variable 'b' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/buffer.c:815:9: style: Variable 'refdes' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/buffer.c:816:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/buffer.c:1382:9: style: Variable 'angle_s' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/buffer.c:1441:18: style: Variable 'layer' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/change.c:439:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PINORVIAHOLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:471:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINESIZE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:539:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINESIZE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:602:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINESIZE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:636:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:678:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PINORVIAHOLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:739:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINESIZE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:822:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINESIZE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:854:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FONT_CAPHEIGHT [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:890:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:933:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FONT_CAPHEIGHT [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:1066:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:1146:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:1303:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:1326:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:1349:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:1372:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:1391:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:1410:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:1621:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MASKFRAME [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:1682:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:1734:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:2045:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:2069:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:2497:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TextString [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/change.c:853:46: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] pcb-4.2.2/src/change.c:932:46: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] pcb-4.2.2/src/change.c:1037:29: style: Parameter 'pcb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/copy.c:144:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/copy.c:333:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/create.c:131:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LAYER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/create.c:197:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_STYLES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/create.c:264:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/create.c:591:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/create.c:744:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_TEXTSCALE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/create.c:868:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PINORVIASIZE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/create.c:100:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pcb-4.2.2/src/create.c:99:30: note: Assuming allocation function fails pcb-4.2.2/src/create.c:99:10: note: Assignment 'data=(struct DataType*)calloc(1,sizeof(struct DataType))', assigned value is 0 pcb-4.2.2/src/create.c:100:3: note: Null pointer dereference pcb-4.2.2/src/create.c:159:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] pcb-4.2.2/src/create.c:158:27: note: Assuming allocation function fails pcb-4.2.2/src/create.c:158:9: note: Assignment 'ptr=(struct PCBType*)calloc(1,sizeof(struct PCBType))', assigned value is 0 pcb-4.2.2/src/create.c:159:3: note: Null pointer dereference pcb-4.2.2/src/create.c:160:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] pcb-4.2.2/src/create.c:158:27: note: Assuming allocation function fails pcb-4.2.2/src/create.c:158:9: note: Assignment 'ptr=(struct PCBType*)calloc(1,sizeof(struct PCBType))', assigned value is 0 pcb-4.2.2/src/create.c:160:3: note: Null pointer dereference pcb-4.2.2/src/create.c:161:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] pcb-4.2.2/src/create.c:158:27: note: Assuming allocation function fails pcb-4.2.2/src/create.c:158:9: note: Assignment 'ptr=(struct PCBType*)calloc(1,sizeof(struct PCBType))', assigned value is 0 pcb-4.2.2/src/create.c:161:3: note: Null pointer dereference pcb-4.2.2/src/create.c:163:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] pcb-4.2.2/src/create.c:158:27: note: Assuming allocation function fails pcb-4.2.2/src/create.c:158:9: note: Assignment 'ptr=(struct PCBType*)calloc(1,sizeof(struct PCBType))', assigned value is 0 pcb-4.2.2/src/create.c:163:3: note: Null pointer dereference pcb-4.2.2/src/create.c:164:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] pcb-4.2.2/src/create.c:158:27: note: Assuming allocation function fails pcb-4.2.2/src/create.c:158:9: note: Assignment 'ptr=(struct PCBType*)calloc(1,sizeof(struct PCBType))', assigned value is 0 pcb-4.2.2/src/create.c:164:3: note: Null pointer dereference pcb-4.2.2/src/create.c:165:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] pcb-4.2.2/src/create.c:158:27: note: Assuming allocation function fails pcb-4.2.2/src/create.c:158:9: note: Assignment 'ptr=(struct PCBType*)calloc(1,sizeof(struct PCBType))', assigned value is 0 pcb-4.2.2/src/create.c:165:3: note: Null pointer dereference pcb-4.2.2/src/create.c:166:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] pcb-4.2.2/src/create.c:158:27: note: Assuming allocation function fails pcb-4.2.2/src/create.c:158:9: note: Assignment 'ptr=(struct PCBType*)calloc(1,sizeof(struct PCBType))', assigned value is 0 pcb-4.2.2/src/create.c:166:3: note: Null pointer dereference pcb-4.2.2/src/create.c:167:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] pcb-4.2.2/src/create.c:158:27: note: Assuming allocation function fails pcb-4.2.2/src/create.c:158:9: note: Assignment 'ptr=(struct PCBType*)calloc(1,sizeof(struct PCBType))', assigned value is 0 pcb-4.2.2/src/create.c:167:3: note: Null pointer dereference pcb-4.2.2/src/create.c:172:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] pcb-4.2.2/src/create.c:158:27: note: Assuming allocation function fails pcb-4.2.2/src/create.c:158:9: note: Assignment 'ptr=(struct PCBType*)calloc(1,sizeof(struct PCBType))', assigned value is 0 pcb-4.2.2/src/create.c:172:3: note: Null pointer dereference pcb-4.2.2/src/create.c:378:16: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] pcb-4.2.2/src/create.c:386:16: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] pcb-4.2.2/src/create.c:499:28: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] pcb-4.2.2/src/create.c:717:38: style:inconclusive: Function 'CreateNewHoleInPolygon' argument 1 names different: declaration 'polygon' definition 'Polygon'. [funcArgNamesDifferent] pcb-4.2.2/src/create.h:54:52: note: Function 'CreateNewHoleInPolygon' argument 1 names different: declaration 'polygon' definition 'Polygon'. pcb-4.2.2/src/create.c:717:38: note: Function 'CreateNewHoleInPolygon' argument 1 names different: declaration 'polygon' definition 'Polygon'. pcb-4.2.2/src/create.c:258:34: style: Parameter 'Name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/create.c:651:46: style: Parameter 'TextString' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/create.c:909:26: style: Parameter 'Name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/create.c:909:38: style: Parameter 'Number' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/create.c:948:31: style: Parameter 'TextString' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/create.c:1031:39: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/create.c:1031:51: style: Parameter 'style' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/create.c:1051:50: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/create.c:1063:52: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/create.c:1063:64: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/create.c:1089:9: style: Variable 'x_str' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/create.c:1090:9: style: Variable 'y_str' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/create.c:1091:9: style: Variable 'units' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/create.c:1094:12: style: Variable 'via' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/crosshair.c:272:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/crosshair.c:356:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/crosshair.c:1110:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Number [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/crosshair.c:1289:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/crosshair.c:1225:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/crosshair.c:70:39: style: Parameter 'pv' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/crosshair.c:379:13: style: Variable 'box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/crosshair.c:484:13: style: Variable 'point' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/crosshair.c:500:13: style: Variable 'point' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/crosshair.c:535:11: style: Variable 'box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/crosshair.c:555:27: style: Variable 'point2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/crosshair.c:862:35: style: Parameter 'crosshair' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/crosshair.c:1090:18: style: Variable 'desired_layer' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/crosshair.c:1110:7: style: Variable 'layer' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/crosshair.c:1276:12: style: Variable 'box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/crosshair.c:61:7: style: struct member 'point::x' is never used. [unusedStructMember] pcb-4.2.2/src/crosshair.c:61:10: style: struct member 'point::y' is never used. [unusedStructMember] pcb-4.2.2/src/dbus-pcbmain.c:65:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_DISPATCH_DATA_REMAINS [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/dbus-pcbmain.c:104:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_WATCH_READABLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/dbus-pcbmain.c:169:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_WATCH_READABLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/dbus-pcbmain.c:316:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/dbus-pcbmain.c:344:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/dbus-pcbmain.c:182:3: warning: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] pcb-4.2.2/src/dbus-pcbmain.c:180:38: note: Assuming allocation function fails pcb-4.2.2/src/dbus-pcbmain.c:180:13: note: Assignment 'handler=(struct IOWatchHandler*)malloc(sizeof(struct IOWatchHandler))', assigned value is 0 pcb-4.2.2/src/dbus-pcbmain.c:182:3: note: Null pointer dereference pcb-4.2.2/src/dbus-pcbmain.c:183:3: warning: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] pcb-4.2.2/src/dbus-pcbmain.c:180:38: note: Assuming allocation function fails pcb-4.2.2/src/dbus-pcbmain.c:180:13: note: Assignment 'handler=(struct IOWatchHandler*)malloc(sizeof(struct IOWatchHandler))', assigned value is 0 pcb-4.2.2/src/dbus-pcbmain.c:183:3: note: Null pointer dereference pcb-4.2.2/src/dbus-pcbmain.c:224:3: warning: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] pcb-4.2.2/src/dbus-pcbmain.c:222:38: note: Assuming allocation function fails pcb-4.2.2/src/dbus-pcbmain.c:222:13: note: Assignment 'handler=(struct TimeoutHandler*)malloc(sizeof(struct TimeoutHandler))', assigned value is 0 pcb-4.2.2/src/dbus-pcbmain.c:224:3: note: Null pointer dereference pcb-4.2.2/src/dbus-pcbmain.c:225:3: warning: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] pcb-4.2.2/src/dbus-pcbmain.c:222:38: note: Assuming allocation function fails pcb-4.2.2/src/dbus-pcbmain.c:222:13: note: Assignment 'handler=(struct TimeoutHandler*)malloc(sizeof(struct TimeoutHandler))', assigned value is 0 pcb-4.2.2/src/dbus-pcbmain.c:225:3: note: Null pointer dereference pcb-4.2.2/src/dbus-pcbmain.c:226:3: warning: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] pcb-4.2.2/src/dbus-pcbmain.c:222:38: note: Assuming allocation function fails pcb-4.2.2/src/dbus-pcbmain.c:222:13: note: Assignment 'handler=(struct TimeoutHandler*)malloc(sizeof(struct TimeoutHandler))', assigned value is 0 pcb-4.2.2/src/dbus-pcbmain.c:226:3: note: Null pointer dereference pcb-4.2.2/src/dbus-pcbmain.c:227:41: warning: If memory allocation fails, then there is a possible null pointer dereference: handler [nullPointerOutOfMemory] pcb-4.2.2/src/dbus-pcbmain.c:222:38: note: Assuming allocation function fails pcb-4.2.2/src/dbus-pcbmain.c:222:13: note: Assignment 'handler=(struct TimeoutHandler*)malloc(sizeof(struct TimeoutHandler))', assigned value is 0 pcb-4.2.2/src/dbus-pcbmain.c:227:41: note: Null pointer dereference pcb-4.2.2/src/dbus-pcbmain.c:251:43: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'dispatch_status_changed' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/dbus-pcbmain.c:306:7: note: You might need to cast the function pointer here pcb-4.2.2/src/dbus-pcbmain.c:251:43: note: Parameter 'conn' can be declared as pointer to const pcb-4.2.2/src/dbus-pcbmain.c:252:11: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dispatch_status_changed' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/dbus-pcbmain.c:306:7: note: You might need to cast the function pointer here pcb-4.2.2/src/dbus-pcbmain.c:252:11: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/dbus.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_HANDLER_RESULT_NOT_YET_HANDLED [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/dbus.c:127:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_HANDLER_RESULT_NOT_YET_HANDLED [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/dbus.c:199:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_HANDLER_RESULT_NOT_YET_HANDLED [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/dbus.c:249:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/dbus.c:343:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_BUS_SESSION [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/dbus.c:227:43: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'unregister_dbus_handler' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/dbus.c:334:5: note: You might need to cast the function pointer here pcb-4.2.2/src/dbus.c:227:43: note: Parameter 'connection' can be declared as pointer to const pcb-4.2.2/src/dbus.c:227:61: style: Parameter 'data' can be declared as pointer to const. However it seems that 'unregister_dbus_handler' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/dbus.c:334:5: note: You might need to cast the function pointer here pcb-4.2.2/src/dbus.c:227:61: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/djopt.c:166:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/djopt.c:232:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/djopt.c:1963:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LAYER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/djopt.c:2568:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LAYER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/djopt.c:2806:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/djopt.c:3011:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/djopt.c:1302:4: error: Common realloc mistake: 'cs' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/djopt.c:1336:4: error: Common realloc mistake: 'ls' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/djopt.c:416:13: warning: Either the condition 'c==l->s' is redundant or there is possible null pointer dereference: l->s. [nullPointerRedundantCheck] pcb-4.2.2/src/djopt.c:2820:11: note: Calling function 'line_orient', 2nd argument '0' value is 0 pcb-4.2.2/src/djopt.c:414:9: note: Assuming that condition 'c==l->s' is not redundant pcb-4.2.2/src/djopt.c:416:13: note: Null pointer dereference pcb-4.2.2/src/djopt.c:417:13: warning: Either the condition 'c==l->s' is redundant or there is possible null pointer dereference: l->s. [nullPointerRedundantCheck] pcb-4.2.2/src/djopt.c:2820:11: note: Calling function 'line_orient', 2nd argument '0' value is 0 pcb-4.2.2/src/djopt.c:414:9: note: Assuming that condition 'c==l->s' is not redundant pcb-4.2.2/src/djopt.c:417:13: note: Null pointer dereference pcb-4.2.2/src/djopt.c:500:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:499:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:499:7: note: Assignment 'c=(struct corner_s*)malloc(sizeof(struct corner_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:500:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:502:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:499:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:499:7: note: Assignment 'c=(struct corner_s*)malloc(sizeof(struct corner_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:502:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:503:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:499:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:499:7: note: Assignment 'c=(struct corner_s*)malloc(sizeof(struct corner_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:503:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:504:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:499:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:499:7: note: Assignment 'c=(struct corner_s*)malloc(sizeof(struct corner_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:504:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:505:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:499:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:499:7: note: Assignment 'c=(struct corner_s*)malloc(sizeof(struct corner_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:505:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:506:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:499:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:499:7: note: Assignment 'c=(struct corner_s*)malloc(sizeof(struct corner_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:506:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:507:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:499:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:499:7: note: Assignment 'c=(struct corner_s*)malloc(sizeof(struct corner_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:507:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:508:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:499:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:499:7: note: Assignment 'c=(struct corner_s*)malloc(sizeof(struct corner_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:508:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:509:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:499:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:499:7: note: Assignment 'c=(struct corner_s*)malloc(sizeof(struct corner_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:509:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:510:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:499:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:499:7: note: Assignment 'c=(struct corner_s*)malloc(sizeof(struct corner_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:510:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:569:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:568:26: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:568:8: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:569:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:571:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:568:26: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:568:8: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:571:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:572:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:568:26: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:568:8: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:572:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:573:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:568:26: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:568:8: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:573:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:574:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:568:26: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:568:8: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:574:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:976:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:974:26: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:974:8: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:976:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:978:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:974:26: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:974:8: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:978:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:979:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:974:26: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:974:8: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:979:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:980:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:974:26: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:974:8: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:980:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:981:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:974:26: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:974:8: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:981:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:982:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:974:26: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:974:8: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:982:3: note: Null pointer dereference pcb-4.2.2/src/djopt.c:2028:11: warning: Possible null pointer dereference: c2 [nullPointer] pcb-4.2.2/src/djopt.c:2012:12: note: Assignment 'c2=0', assigned value is 0 pcb-4.2.2/src/djopt.c:2013:21: note: Assuming condition is false pcb-4.2.2/src/djopt.c:2028:11: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3023:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3022:36: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3022:18: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3023:5: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3025:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3022:36: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3022:18: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3025:5: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3026:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3022:36: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3022:18: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3026:5: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3027:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3022:36: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3022:18: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3027:5: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3028:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3022:36: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3022:18: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3028:5: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3029:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3022:36: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3022:18: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3029:5: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3030:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3022:36: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3022:18: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3030:5: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3031:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3022:36: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3022:18: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3031:5: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3032:29: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3022:36: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3022:18: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3032:29: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3033:29: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3022:36: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3022:18: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3033:29: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3075:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3074:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3074:9: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3075:4: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3077:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3074:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3074:9: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3077:4: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3078:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3074:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3074:9: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3078:4: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3079:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3074:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3074:9: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3079:4: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3080:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3074:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3074:9: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3080:4: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3081:28: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3074:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3074:9: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3081:28: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3082:28: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3074:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3074:9: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3082:28: note: Null pointer dereference pcb-4.2.2/src/djopt.c:3083:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ls [nullPointerOutOfMemory] pcb-4.2.2/src/djopt.c:3074:27: note: Assuming allocation function fails pcb-4.2.2/src/djopt.c:3074:9: note: Assignment 'ls=(struct line_s*)malloc(sizeof(struct line_s))', assigned value is 0 pcb-4.2.2/src/djopt.c:3083:4: note: Null pointer dereference pcb-4.2.2/src/djopt.c:2212:49: style: Same expression '!c->via' found multiple times in chain of '&&' operators. [duplicateExpression] pcb-4.2.2/src/djopt.c:2066:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] pcb-4.2.2/src/djopt.c:2174:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] pcb-4.2.2/src/djopt.c:1533:8: style: Local variable 'len' shadows outer variable [shadowVariable] pcb-4.2.2/src/djopt.c:1258:12: note: Shadowed declaration pcb-4.2.2/src/djopt.c:1533:8: note: Shadow variable pcb-4.2.2/src/djopt.c:1573:14: style: Local variable 'l' shadows outer variable [shadowVariable] pcb-4.2.2/src/djopt.c:1254:11: note: Shadowed declaration pcb-4.2.2/src/djopt.c:1573:14: note: Shadow variable pcb-4.2.2/src/djopt.c:2238:17: style: Local variable 'dist' shadows outer function [shadowFunction] pcb-4.2.2/src/djopt.c:338:1: note: Shadowed declaration pcb-4.2.2/src/djopt.c:2238:17: note: Shadow variable pcb-4.2.2/src/djopt.c:2697:15: style: Local variable 'l' shadows outer variable [shadowVariable] pcb-4.2.2/src/djopt.c:2570:7: note: Shadowed declaration pcb-4.2.2/src/djopt.c:2697:15: note: Shadow variable pcb-4.2.2/src/djopt.c:152:28: style: Parameter 'data' can be declared as pointer to const. However it seems that 'djopt_get_auto_only' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/djopt.c:158:19: note: You might need to cast the function pointer here pcb-4.2.2/src/djopt.c:152:28: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/djopt.c:164:30: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:349:23: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:383:44: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:411:37: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:458:38: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:529:16: style: Variable 'to' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/djopt.c:626:36: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:664:43: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:671:23: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:685:36: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:708:27: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:1241:21: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:1574:16: style: Variable 'oc' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/djopt.c:1686:17: style: Variable 'c1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/djopt.c:1686:22: style: Variable 'c2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/djopt.c:2239:18: style: Variable 'closest_corner' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/djopt.c:2239:44: style: Variable 'oc1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/djopt.c:2239:50: style: Variable 'oc2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/djopt.c:2572:12: style: Variable 'pin' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/djopt.c:2773:23: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/djopt.c:3000:9: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/djopt.c:906:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/draw.c:178:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FONT_CAPHEIGHT [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:309:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FONT_CAPHEIGHT [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:365:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:392:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:576:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:627:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GROUP [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:801:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMARK_SIZE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:1030:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:1378:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:1396:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:1537:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:1557:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/draw.c:1182:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] pcb-4.2.2/src/draw.c:1187:3: note: Found duplicate branches for 'if' and 'else'. pcb-4.2.2/src/draw.c:1182:3: note: Found duplicate branches for 'if' and 'else'. pcb-4.2.2/src/draw.c:998:36: style:inconclusive: Function 'DrawMask' argument 2 names different: declaration 'drawn_area' definition 'screen'. [funcArgNamesDifferent] pcb-4.2.2/src/draw.h:76:41: note: Function 'DrawMask' argument 2 names different: declaration 'drawn_area' definition 'screen'. pcb-4.2.2/src/draw.c:998:36: note: Function 'DrawMask' argument 2 names different: declaration 'drawn_area' definition 'screen'. pcb-4.2.2/src/draw.c:1140:21: style:inconclusive: Function 'DrawLayerGroup' argument 1 names different: declaration 'side' definition 'group'. [funcArgNamesDifferent] pcb-4.2.2/src/draw.h:73:26: note: Function 'DrawLayerGroup' argument 1 names different: declaration 'side' definition 'group'. pcb-4.2.2/src/draw.c:1140:21: note: Function 'DrawLayerGroup' argument 1 names different: declaration 'side' definition 'group'. pcb-4.2.2/src/draw.c:1682:28: style:inconclusive: Function 'hid_expose_callback' argument 1 names different: declaration 'hid_' definition 'hid'. [funcArgNamesDifferent] pcb-4.2.2/src/hid.h:825:35: note: Function 'hid_expose_callback' argument 1 names different: declaration 'hid_' definition 'hid'. pcb-4.2.2/src/draw.c:1682:28: note: Function 'hid_expose_callback' argument 1 names different: declaration 'hid_' definition 'hid'. pcb-4.2.2/src/draw.c:1682:43: style:inconclusive: Function 'hid_expose_callback' argument 2 names different: declaration 'region_' definition 'region'. [funcArgNamesDifferent] pcb-4.2.2/src/hid.h:825:57: note: Function 'hid_expose_callback' argument 2 names different: declaration 'region_' definition 'region'. pcb-4.2.2/src/draw.c:1682:43: note: Function 'hid_expose_callback' argument 2 names different: declaration 'region_' definition 'region'. pcb-4.2.2/src/draw.c:1682:57: style:inconclusive: Function 'hid_expose_callback' argument 3 names different: declaration 'item_' definition 'item'. [funcArgNamesDifferent] pcb-4.2.2/src/hid.h:825:72: note: Function 'hid_expose_callback' argument 3 names different: declaration 'item_' definition 'item'. pcb-4.2.2/src/draw.c:1682:57: note: Function 'hid_expose_callback' argument 3 names different: declaration 'item_' definition 'item'. pcb-4.2.2/src/draw.c:92:34: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/draw.c:350:8: style: Variable 'side' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/draw.c:379:8: style: Variable 'side' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/draw.c:426:14: style: Variable 'hi' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/draw.c:592:8: style: Variable 'side' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/draw.c:641:18: style: Variable 'l' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/draw.c:807:16: style: Variable 'pin0' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/draw.c:816:16: style: Variable 'pad0' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/draw.c:929:8: style: Variable 'side' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/draw.c:1146:13: style: Variable 'layers' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/draw.c:1682:43: style: Parameter 'region' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/drc/drc.c:158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Shrink [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc.c:385:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Bloat [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc.c:477:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOLEFLAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc.c:507:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Bloat [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc.c:555:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Data [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc.c:679:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc.c:725:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drc_gui [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc.c:1116:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drc_gui [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc.c:1160:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc.c:1131:20: style: Condition 'count>0' is always true [knownConditionTrueFalse] pcb-4.2.2/src/drc/drc.c:1129:15: note: Assuming that condition 'count==0' is not redundant pcb-4.2.2/src/drc/drc.c:1131:20: note: Condition 'count>0' is always true pcb-4.2.2/src/drc/drc.c:1038:17: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] pcb-4.2.2/src/drc/drc.c:1037:31: note: Assuming allocation function fails pcb-4.2.2/src/drc/drc.c:1037:16: note: Assignment 'buffer=(char*)malloc(buflen)', assigned value is 0 pcb-4.2.2/src/drc/drc.c:1038:17: note: Null pointer dereference pcb-4.2.2/src/drc/drc.c:59:34: style:inconclusive: Function 'SetThing' argument 3 names different: declaration 'p1' definition 'ptr1'. [funcArgNamesDifferent] pcb-4.2.2/src/drc/drc.h:43:38: note: Function 'SetThing' argument 3 names different: declaration 'p1' definition 'ptr1'. pcb-4.2.2/src/drc/drc.c:59:34: note: Function 'SetThing' argument 3 names different: declaration 'p1' definition 'ptr1'. pcb-4.2.2/src/drc/drc.c:59:46: style:inconclusive: Function 'SetThing' argument 4 names different: declaration 'p2' definition 'ptr2'. [funcArgNamesDifferent] pcb-4.2.2/src/drc/drc.h:43:48: note: Function 'SetThing' argument 4 names different: declaration 'p2' definition 'ptr2'. pcb-4.2.2/src/drc/drc.c:59:46: note: Function 'SetThing' argument 4 names different: declaration 'p2' definition 'ptr2'. pcb-4.2.2/src/drc/drc.c:59:58: style:inconclusive: Function 'SetThing' argument 5 names different: declaration 'p3' definition 'ptr3'. [funcArgNamesDifferent] pcb-4.2.2/src/drc/drc.h:43:58: note: Function 'SetThing' argument 5 names different: declaration 'p3' definition 'ptr3'. pcb-4.2.2/src/drc/drc.c:59:58: note: Function 'SetThing' argument 5 names different: declaration 'p3' definition 'ptr3'. pcb-4.2.2/src/drc/drc.c:89:10: style: Variable 'v' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/drc/drc.c:1023:13: style: Variable 'title' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/drc/drc.c:1024:13: style: Variable 'name' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/drc/drc.c:1146:15: style: Variable 'len' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/drc/drc.c:1180:16: style: Variable 'cont' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/drc/drc_violation.c:180:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc_violation.c:226:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Data [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc_violation.c:263:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allow [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drc/drc_violation.c:74:3: warning: If memory allocation fails, then there is a possible null pointer dereference: violation [nullPointerOutOfMemory] pcb-4.2.2/src/drc/drc_violation.c:72:60: note: Assuming allocation function fails pcb-4.2.2/src/drc/drc_violation.c:72:33: note: Assignment 'violation=(struct DrcViolationType*)malloc(sizeof(struct DrcViolationType))', assigned value is 0 pcb-4.2.2/src/drc/drc_violation.c:74:3: note: Null pointer dereference pcb-4.2.2/src/drc/drc_violation.c:75:3: warning: If memory allocation fails, then there is a possible null pointer dereference: violation [nullPointerOutOfMemory] pcb-4.2.2/src/drc/drc_violation.c:72:60: note: Assuming allocation function fails pcb-4.2.2/src/drc/drc_violation.c:72:33: note: Assignment 'violation=(struct DrcViolationType*)malloc(sizeof(struct DrcViolationType))', assigned value is 0 pcb-4.2.2/src/drc/drc_violation.c:75:3: note: Null pointer dereference pcb-4.2.2/src/drc/drc_violation.c:76:3: warning: If memory allocation fails, then there is a possible null pointer dereference: violation [nullPointerOutOfMemory] pcb-4.2.2/src/drc/drc_violation.c:72:60: note: Assuming allocation function fails pcb-4.2.2/src/drc/drc_violation.c:72:33: note: Assignment 'violation=(struct DrcViolationType*)malloc(sizeof(struct DrcViolationType))', assigned value is 0 pcb-4.2.2/src/drc/drc_violation.c:76:3: note: Null pointer dereference pcb-4.2.2/src/drc/drc_violation.c:77:3: warning: If memory allocation fails, then there is a possible null pointer dereference: violation [nullPointerOutOfMemory] pcb-4.2.2/src/drc/drc_violation.c:72:60: note: Assuming allocation function fails pcb-4.2.2/src/drc/drc_violation.c:72:33: note: Assignment 'violation=(struct DrcViolationType*)malloc(sizeof(struct DrcViolationType))', assigned value is 0 pcb-4.2.2/src/drc/drc_violation.c:77:3: note: Null pointer dereference pcb-4.2.2/src/drc/drc_violation.c:78:3: warning: If memory allocation fails, then there is a possible null pointer dereference: violation [nullPointerOutOfMemory] pcb-4.2.2/src/drc/drc_violation.c:72:60: note: Assuming allocation function fails pcb-4.2.2/src/drc/drc_violation.c:72:33: note: Assignment 'violation=(struct DrcViolationType*)malloc(sizeof(struct DrcViolationType))', assigned value is 0 pcb-4.2.2/src/drc/drc_violation.c:78:3: note: Null pointer dereference pcb-4.2.2/src/drc/drc_violation.c:79:3: warning: If memory allocation fails, then there is a possible null pointer dereference: violation [nullPointerOutOfMemory] pcb-4.2.2/src/drc/drc_violation.c:72:60: note: Assuming allocation function fails pcb-4.2.2/src/drc/drc_violation.c:72:33: note: Assignment 'violation=(struct DrcViolationType*)malloc(sizeof(struct DrcViolationType))', assigned value is 0 pcb-4.2.2/src/drc/drc_violation.c:79:3: note: Null pointer dereference pcb-4.2.2/src/drc/drc_violation.c:80:3: warning: If memory allocation fails, then there is a possible null pointer dereference: violation [nullPointerOutOfMemory] pcb-4.2.2/src/drc/drc_violation.c:72:60: note: Assuming allocation function fails pcb-4.2.2/src/drc/drc_violation.c:72:33: note: Assignment 'violation=(struct DrcViolationType*)malloc(sizeof(struct DrcViolationType))', assigned value is 0 pcb-4.2.2/src/drc/drc_violation.c:80:3: note: Null pointer dereference pcb-4.2.2/src/drc/drc_violation.c:81:3: warning: If memory allocation fails, then there is a possible null pointer dereference: violation [nullPointerOutOfMemory] pcb-4.2.2/src/drc/drc_violation.c:72:60: note: Assuming allocation function fails pcb-4.2.2/src/drc/drc_violation.c:72:33: note: Assignment 'violation=(struct DrcViolationType*)malloc(sizeof(struct DrcViolationType))', assigned value is 0 pcb-4.2.2/src/drc/drc_violation.c:81:3: note: Null pointer dereference pcb-4.2.2/src/drc/drc_violation.c:84:5: warning: If memory allocation fails, then there is a possible null pointer dereference: violation [nullPointerOutOfMemory] pcb-4.2.2/src/drc/drc_violation.c:72:60: note: Assuming allocation function fails pcb-4.2.2/src/drc/drc_violation.c:72:33: note: Assignment 'violation=(struct DrcViolationType*)malloc(sizeof(struct DrcViolationType))', assigned value is 0 pcb-4.2.2/src/drc/drc_violation.c:84:5: note: Null pointer dereference pcb-4.2.2/src/drc/drc_violation.c:88:5: warning: If memory allocation fails, then there is a possible null pointer dereference: violation [nullPointerOutOfMemory] pcb-4.2.2/src/drc/drc_violation.c:72:60: note: Assuming allocation function fails pcb-4.2.2/src/drc/drc_violation.c:72:33: note: Assignment 'violation=(struct DrcViolationType*)malloc(sizeof(struct DrcViolationType))', assigned value is 0 pcb-4.2.2/src/drc/drc_violation.c:88:5: note: Null pointer dereference pcb-4.2.2/src/drc/drc_violation.c:188:46: warning: Either the condition 'violation->objects' is redundant or there is possible null pointer dereference: violation->objects. [nullPointerRedundantCheck] pcb-4.2.2/src/drc/drc_violation.c:190:16: note: Assuming that condition 'violation->objects' is not redundant pcb-4.2.2/src/drc/drc_violation.c:188:46: note: Null pointer dereference pcb-4.2.2/src/drc/drc_violation.c:272:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] pcb-4.2.2/src/drc/drc_violation.c:262:5: note: r is assigned pcb-4.2.2/src/drc/drc_violation.c:272:5: note: r is overwritten pcb-4.2.2/src/drc/drc_violation.c:124:14: style: Variable 'oa' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/drc/drc_violation.c:124:19: style: Variable 'ob' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/drc/drc_violation.c:179:15: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/drc/drc_violation.c:284:18: style: Variable 't1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/drc/drc_violation.c:126:16: style: Variable 'j' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/drc/drc_violation.c:127:13: style: Variable 'found' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/drc/drc_violation.c:178:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/drc/drc_violation.c:283:21: style: Variable 'b' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/drill.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/drill.c:113:14: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/drill.c:114:14: style: Variable 'b' can be declared as pointer to const [constVariablePointer] edif.y:102:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NetlistLib [valueFlowBailoutIncompleteVar] edif.y:4328:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] edif.c:3900:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] edif.c:4151:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] edif.c:4148:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 edif.c:4149:11: note: Assuming that condition 'yyn<=0' is not redundant edif.c:4151:15: note: Condition 'yyn==0' is always true edif.y:60:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ps [nullPointerOutOfMemory] edif.y:59:37: note: Assuming allocation function fails edif.y:59:19: note: Assignment 'ps=(struct str_pair*)malloc(sizeof(struct str_pair))', assigned value is 0 edif.y:60:6: note: Null pointer dereference edif.y:61:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ps [nullPointerOutOfMemory] edif.y:59:37: note: Assuming allocation function fails edif.y:59:19: note: Assignment 'ps=(struct str_pair*)malloc(sizeof(struct str_pair))', assigned value is 0 edif.y:61:6: note: Null pointer dereference edif.y:62:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ps [nullPointerOutOfMemory] edif.y:59:37: note: Assuming allocation function fails edif.y:59:19: note: Assignment 'ps=(struct str_pair*)malloc(sizeof(struct str_pair))', assigned value is 0 edif.y:62:6: note: Null pointer dereference edif.y:69:6: warning: If memory allocation fails, then there is a possible null pointer dereference: pl [nullPointerOutOfMemory] edif.y:68:39: note: Assuming allocation function fails edif.y:68:20: note: Assignment 'pl=(struct pair_list*)malloc(sizeof(struct pair_list))', assigned value is 0 edif.y:69:6: note: Null pointer dereference edif.y:70:6: warning: If memory allocation fails, then there is a possible null pointer dereference: pl [nullPointerOutOfMemory] edif.y:68:39: note: Assuming allocation function fails edif.y:68:20: note: Assignment 'pl=(struct pair_list*)malloc(sizeof(struct pair_list))', assigned value is 0 edif.y:70:6: note: Null pointer dereference edif.y:3777:3: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] edif.y:3776:21: note: Assuming allocation function fails edif.y:3776:9: note: Assignment 'key=(struct Keyword*)malloc(sizeof(struct Keyword))', assigned value is 0 edif.y:3777:3: note: Null pointer dereference edif.y:3778:22: warning: If memory allocation fails, then there is a possible null pointer dereference: KeywordTable[hsh]=key [nullPointerOutOfMemory] edif.y:3776:21: note: Assuming allocation function fails edif.y:3776:9: note: Assignment 'key=(struct Keyword*)malloc(sizeof(struct Keyword))', assigned value is 0 edif.y:3778:22: note: Null pointer dereference edif.y:4014:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bck [nullPointerOutOfMemory] edif.y:4013:22: note: Assuming allocation function fails edif.y:4013:11: note: Assignment 'bck=(struct Bucket*)malloc(sizeof(struct Bucket))', assigned value is 0 edif.y:4014:5: note: Null pointer dereference edif.y:4015:20: warning: If memory allocation fails, then there is a possible null pointer dereference: CurrentBucket=bck [nullPointerOutOfMemory] edif.y:4013:22: note: Assuming allocation function fails edif.y:4013:11: note: Assignment 'bck=(struct Bucket*)malloc(sizeof(struct Bucket))', assigned value is 0 edif.y:4015:20: note: Null pointer dereference edif.y:4020:3: warning: If memory allocation fails, then there is a possible null pointer dereference: bck [nullPointerOutOfMemory] edif.y:4013:22: note: Assuming allocation function fails edif.y:4013:11: note: Assignment 'bck=(struct Bucket*)malloc(sizeof(struct Bucket))', assigned value is 0 edif.y:4020:3: note: Null pointer dereference edif.y:4020:13: warning: If memory allocation fails, then there is a possible null pointer dereference: bck [nullPointerOutOfMemory] edif.y:4013:22: note: Assuming allocation function fails edif.y:4013:11: note: Assignment 'bck=(struct Bucket*)malloc(sizeof(struct Bucket))', assigned value is 0 edif.y:4020:13: note: Null pointer dereference edif.y:4111:9: warning: If memory allocation fails, then there is a possible null pointer dereference: cc [nullPointerOutOfMemory] edif.y:4110:29: note: Assuming allocation function fails edif.y:4110:14: note: Assignment 'cc=(struct ContextCar*)malloc(sizeof(struct ContextCar))', assigned value is 0 edif.y:4111:9: note: Null pointer dereference edif.y:4112:23: warning: If memory allocation fails, then there is a possible null pointer dereference: cxt->Context=cc [nullPointerOutOfMemory] edif.y:4110:29: note: Assuming allocation function fails edif.y:4110:14: note: Assignment 'cc=(struct ContextCar*)malloc(sizeof(struct ContextCar))', assigned value is 0 edif.y:4112:23: note: Null pointer dereference edif.y:4114:9: warning: If memory allocation fails, then there is a possible null pointer dereference: cc [nullPointerOutOfMemory] edif.y:4110:29: note: Assuming allocation function fails edif.y:4110:14: note: Assignment 'cc=(struct ContextCar*)malloc(sizeof(struct ContextCar))', assigned value is 0 edif.y:4114:9: note: Null pointer dereference edif.y:4133:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tc [nullPointerOutOfMemory] edif.y:4132:27: note: Assuming allocation function fails edif.y:4132:14: note: Assignment 'tc=(struct TokenCar*)malloc(sizeof(struct TokenCar))', assigned value is 0 edif.y:4133:9: note: Null pointer dereference edif.y:4134:21: warning: If memory allocation fails, then there is a possible null pointer dereference: cxt->Token=tc [nullPointerOutOfMemory] edif.y:4132:27: note: Assuming allocation function fails edif.y:4132:14: note: Assignment 'tc=(struct TokenCar*)malloc(sizeof(struct TokenCar))', assigned value is 0 edif.y:4134:21: note: Null pointer dereference edif.y:4142:5: warning: If memory allocation fails, then there is a possible null pointer dereference: CSP [nullPointerOutOfMemory] edif.y:4141:26: note: Assuming allocation function fails edif.y:4141:11: note: Assignment 'CSP=(struct ContextCar*)malloc(sizeof(struct ContextCar))', assigned value is 0 edif.y:4142:5: note: Null pointer dereference edif.y:4151:3: warning: If memory allocation fails, then there is a possible null pointer dereference: CurrentBucket [nullPointerOutOfMemory] edif.y:4150:30: note: Assuming allocation function fails edif.y:4150:19: note: Assignment 'CurrentBucket=(struct Bucket*)malloc(sizeof(struct Bucket))', assigned value is 0 edif.y:4151:3: note: Null pointer dereference edif.y:4152:3: warning: If memory allocation fails, then there is a possible null pointer dereference: CurrentBucket [nullPointerOutOfMemory] edif.y:4150:30: note: Assuming allocation function fails edif.y:4150:19: note: Assignment 'CurrentBucket=(struct Bucket*)malloc(sizeof(struct Bucket))', assigned value is 0 edif.y:4152:3: note: Null pointer dereference edif.y:4233:10: warning: If memory allocation fails, then there is a possible null pointer dereference: usc [nullPointerOutOfMemory] edif.y:4232:28: note: Assuming allocation function fails edif.y:4232:16: note: Assignment 'usc=(struct UsedCar*)malloc(sizeof(struct UsedCar))', assigned value is 0 edif.y:4233:10: note: Null pointer dereference edif.y:4234:23: warning: If memory allocation fails, then there is a possible null pointer dereference: CSP->u.Used=usc [nullPointerOutOfMemory] edif.y:4232:28: note: Assuming allocation function fails edif.y:4232:16: note: Assignment 'usc=(struct UsedCar*)malloc(sizeof(struct UsedCar))', assigned value is 0 edif.y:4234:23: note: Null pointer dereference edif.y:4241:7: warning: If memory allocation fails, then there is a possible null pointer dereference: owk [nullPointerOutOfMemory] edif.y:4240:28: note: Assuming allocation function fails edif.y:4240:13: note: Assignment 'owk=(struct ContextCar*)malloc(sizeof(struct ContextCar))', assigned value is 0 edif.y:4241:7: note: Null pointer dereference edif.y:4242:12: warning: If memory allocation fails, then there is a possible null pointer dereference: CSP=owk [nullPointerOutOfMemory] edif.y:4240:28: note: Assuming allocation function fails edif.y:4240:13: note: Assignment 'owk=(struct ContextCar*)malloc(sizeof(struct ContextCar))', assigned value is 0 edif.y:4242:12: note: Null pointer dereference edif.y:4243:7: warning: If memory allocation fails, then there is a possible null pointer dereference: owk [nullPointerOutOfMemory] edif.y:4240:28: note: Assuming allocation function fails edif.y:4240:13: note: Assignment 'owk=(struct ContextCar*)malloc(sizeof(struct ContextCar))', assigned value is 0 edif.y:4243:7: note: Null pointer dereference edif.y:520:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:551:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:575:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:666:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:676:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:691:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:714:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:774:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:866:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:873:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:974:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:987:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1034:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1041:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1130:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1137:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1153:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1160:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1167:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1200:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1207:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1215:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1222:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1228:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1235:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1242:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1247:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1262:33: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1326:18: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1326:84: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1352:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1359:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1366:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1373:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1406:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1413:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1423:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1451:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1458:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1469:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1524:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1536:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1552:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1559:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1591:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1598:33: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1612:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1619:44: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1626:44: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1633:29: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1640:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1647:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1661:29: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1675:29: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1689:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1696:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1703:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1868:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1934:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1969:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1975:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:1991:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2010:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2021:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2027:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2034:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2066:29: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2073:44: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2087:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2094:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2143:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2150:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2157:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2171:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2178:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2206:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2213:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2220:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2250:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2266:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2271:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2316:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2461:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2468:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2475:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2482:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2489:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2496:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2512:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2519:23: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2556:32: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2563:33: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2585:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2592:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2599:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:2606:28: style: Same expression on both sides of '-'. [duplicateExpression] edif.y:4012:30: error: Uninitialized variables: (bck=CurrentBucket)->Index.Next, (bck=CurrentBucket)->Index.Index [uninitvar] edif.y:4041:3: error: Memory is allocated but not initialized: cp [uninitdata] pcb-4.2.2/src/error.c:112:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/error.c:132:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/error.c:152:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/error.c:172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/error.c:192:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/file.c:562:33: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/find.c:271:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_drc [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/find.c:396:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/find.c:1537:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LAYER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/find.c:2161:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/find.c:2314:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/find.c:2734:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/find.c:2991:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/find.c:3231:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/find.c:3337:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/find.c:3392:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/find.c:3008:25: style: Condition 'PrepareNextLoop(FP)' is always false [knownConditionTrueFalse] pcb-4.2.2/src/find.c:3008:25: note: Calling function 'PrepareNextLoop' returns 0 pcb-4.2.2/src/find.c:3008:25: note: Condition 'PrepareNextLoop(FP)' is always false pcb-4.2.2/src/find.c:3035:25: style: Condition 'PrepareNextLoop(FP)' is always false [knownConditionTrueFalse] pcb-4.2.2/src/find.c:3035:25: note: Calling function 'PrepareNextLoop' returns 0 pcb-4.2.2/src/find.c:3035:25: note: Condition 'PrepareNextLoop(FP)' is always false pcb-4.2.2/src/find.c:3267:33: style: Condition 'PrepareNextLoop(FP)' is always false [knownConditionTrueFalse] pcb-4.2.2/src/find.c:3267:33: note: Calling function 'PrepareNextLoop' returns 0 pcb-4.2.2/src/find.c:3267:33: note: Condition 'PrepareNextLoop(FP)' is always false pcb-4.2.2/src/find.c:3311:29: style: Condition 'PrepareNextLoop(FP)' is always false [knownConditionTrueFalse] pcb-4.2.2/src/find.c:3311:29: note: Calling function 'PrepareNextLoop' returns 0 pcb-4.2.2/src/find.c:3311:29: note: Condition 'PrepareNextLoop(FP)' is always false pcb-4.2.2/src/find.c:3170:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/find.c:1369:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1387:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1405:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1419:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1440:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1441:12: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1697:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1781:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1804:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1827:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1851:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1852:36: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:1891:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2074:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2090:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2104:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2164:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2188:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2204:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2218:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2242:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2317:24: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2351:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2367:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2383:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2456:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2472:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2487:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2503:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2533:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2626:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2642:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2656:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2672:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2737:20: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:2994:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:3018:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:3236:14: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:3279:10: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/find.c:430:18: style: Variable 'layer' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/find.c:576:25: style: Parameter 'box_in' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/find.c:611:30: style: Parameter 'b1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/find.c:611:43: style: Parameter 'b2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/find.c:669:50: style: Parameter 'arc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/find.c:683:36: style: Parameter 'arc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/find.c:836:33: style: Parameter 'Point' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/find.c:836:50: style: Parameter 'Line' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/find.c:1166:12: style: Variable 'Box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/find.c:1198:12: style: Variable 'Box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/find.c:1912:18: style: Variable 'layer' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/flags.c:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_STYLES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/flags.c:282:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/flags.c:332:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/flags.c:408:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/flags.c:421:138: warning: Result of operator '|' is always true if one operand is non-zero. Did you intend to use '&'? [badBitmaskCheck] pcb-4.2.2/src/flags.c:421:14: style: Condition 'type' is always true [knownConditionTrueFalse] pcb-4.2.2/src/flags.c:138:10: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/flags.c:284:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/flags.c:297:11: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/flags.c:308:11: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/flags.c:334:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/flags.c:345:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/flags.c:356:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/flags.c:367:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/flags.c:65:24: style: Parameter 'f1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/flags.c:65:38: style: Parameter 'f2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/flags.c:74:25: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagCurrentStyle' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/flags.c:442:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:74:25: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/flags.c:76:3: style: Variable 'style' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/flags.c:89:17: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagGrid' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/flags.c:443:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:89:17: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/flags.c:95:21: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagGridSize' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/flags.c:444:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:95:21: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/flags.c:101:20: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagUnitsMm' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/flags.c:502:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:101:20: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/flags.c:110:21: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagUnitsMil' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/flags.c:503:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:110:21: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/flags.c:119:19: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagBuffer' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/flags.c:521:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:119:19: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/flags.c:125:25: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagElementName' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/flags.c:445:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:125:25: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/flags.c:158:22: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagHaveRegex' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/flags.c:446:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:158:22: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/flags.c:217:29: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/flags.c:403:12: style: Variable 'type' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/fontmode.c:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_FONTPOSITION [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/fontmode.c:206:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_FONTPOSITION [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/free_atexit.c:70:3: error: Common realloc mistake: 'free_list' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/free_atexit.c:72:4: warning: If memory allocation fails, then there is a possible null pointer dereference: (unsigned int*)new_memory [nullPointerOutOfMemory] pcb-4.2.2/src/free_atexit.c:68:28: note: Assuming allocation function fails pcb-4.2.2/src/free_atexit.c:68:28: note: Assignment 'new_memory=malloc(size+sizeof(union leaky_admin_t))', assigned value is 0 pcb-4.2.2/src/free_atexit.c:72:4: note: Null pointer dereference pcb-4.2.2/src/free_atexit.c:75:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/free_atexit.c:68:28: note: Assuming allocation function fails pcb-4.2.2/src/free_atexit.c:68:28: note: Assignment 'new_memory=malloc(size+sizeof(union leaky_admin_t))', assigned value is 0 pcb-4.2.2/src/free_atexit.c:75:21: note: Null pointer addition pcb-4.2.2/src/free_atexit.c:75:21: portability: 'new_memory' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pcb-4.2.2/src/free_atexit.c:102:14: portability: 'old_memory' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pcb-4.2.2/src/free_atexit.c:109:21: portability: 'new_memory' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pcb-4.2.2/src/free_atexit.c:54:15: style: union member 'leaky_admin_t::idx' is never used. [unusedStructMember] pcb-4.2.2/src/free_atexit.c:55:9: style: union member 'leaky_admin_t::ptr' is never used. [unusedStructMember] pcb-4.2.2/src/getline.c:59:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/heap.c:100:26: style: Parameter 'heap' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/batch/batch.c:150:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_ACTIONS is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/bom/bom.c:166:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int_value [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/bom/bom.c:195:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/bom/bom.c:270:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/bom/bom.c:329:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/bom/bom.c:424:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/bom/bom.c:515:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/bom/bom.c:731:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_val [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/bom/bom.c:768:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HID [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/bom/bom.c:510:47: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] pcb-4.2.2/src/hid/bom/bom.c:447:8: error: Common realloc mistake: 'attr_list' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/hid/bom/bom.c:509:17: style: Local variable 'fmt' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/bom/bom.c:491:8: note: Shadowed declaration pcb-4.2.2/src/hid/bom/bom.c:509:17: note: Shadow variable pcb-4.2.2/src/hid/bom/bom.c:188:23: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/bom/bom.c:264:22: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/bom/bom.c:415:9: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/bom/bom.c:488:31: style: Variable 'fixed_rotation' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/bom/bom.c:473:16: style: Variable 'theta' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/hid/bom/bom.c:621:39: style: Variable 'found_any_not_at_centroid' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/hid/bom/bom.c:622:23: style: Variable 'found_any' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/hid/common/actions.c:45:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/actions.c:104:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/actions.c:119:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/actions.c:176:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable description [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/actions.c:233:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/actions.c:41:3: error: Common realloc mistake: 'all_actions' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/hid/common/actions.c:352:3: error: Common realloc mistake: 'list' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/hid/common/actions.c:222:11: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/common/actions.c:213:7: note: Shadowed declaration pcb-4.2.2/src/hid/common/actions.c:222:11: note: Shadow variable pcb-4.2.2/src/hid/common/actions.c:66:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/common/actions.c:67:15: style: Variable 'b' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/common/actions.c:81:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/common/actions.c:82:15: style: Variable 'action' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/common/actions.c:257:14: style: Variable 'aname' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/common/actions.c:130:12: style: Variable 'eb' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/hid/common/draw_helpers.c:13:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Trace_Cap [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:34:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Trace_Cap [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Font [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:152:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Round_Cap [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:209:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PBO_ISECT [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:271:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULLPOLYFLAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:314:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULLPOLYFLAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:344:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULLPOLYFLAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:377:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Round_Cap [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:491:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQUAREFLAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:548:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAN_22_5_DEGREE_2 [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:601:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOLEFLAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:640:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOLEFLAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/draw_helpers.c:134:7: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/draw_helpers.c:129:23: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/draw_helpers.c:129:7: note: Assignment 'x=(Coord*)malloc(n*sizeof(*x))', assigned value is 0 pcb-4.2.2/src/hid/common/draw_helpers.c:134:7: note: Null pointer dereference pcb-4.2.2/src/hid/common/draw_helpers.c:135:7: warning: If memory allocation fails, then there is a possible null pointer dereference: y [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/draw_helpers.c:130:23: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/draw_helpers.c:130:7: note: Assignment 'y=(Coord*)malloc(n*sizeof(*y))', assigned value is 0 pcb-4.2.2/src/hid/common/draw_helpers.c:135:7: note: Null pointer dereference pcb-4.2.2/src/hid/common/draw_helpers.c:260:53: style:inconclusive: Function 'common_gui_draw_pcb_polygon' argument 2 names different: declaration 'poly' definition 'polygon'. [funcArgNamesDifferent] pcb-4.2.2/src/hid/common/draw_helpers.h:3:58: note: Function 'common_gui_draw_pcb_polygon' argument 2 names different: declaration 'poly' definition 'polygon'. pcb-4.2.2/src/hid/common/draw_helpers.c:260:53: note: Function 'common_gui_draw_pcb_polygon' argument 2 names different: declaration 'poly' definition 'polygon'. pcb-4.2.2/src/hid/common/draw_helpers.c:582:11: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/common/draw_helpers.c:562:7: note: Shadowed declaration pcb-4.2.2/src/hid/common/draw_helpers.c:582:11: note: Shadow variable pcb-4.2.2/src/hid/common/draw_helpers.c:619:13: style: Local variable 'r' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/common/draw_helpers.c:599:9: note: Shadowed declaration pcb-4.2.2/src/hid/common/draw_helpers.c:619:13: note: Shadow variable pcb-4.2.2/src/hid/common/draw_helpers.c:658:13: style: Local variable 'r' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/common/draw_helpers.c:638:9: note: Shadowed declaration pcb-4.2.2/src/hid/common/draw_helpers.c:658:13: note: Shadow variable pcb-4.2.2/src/hid/common/draw_helpers.c:46:18: style: Variable 'string' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/common/extents.c:33:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_group [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/extents.c:166:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HID [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/extents.c:206:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COORD_MAX [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/extents.c:136:54: style: Parameter 'x' can be declared as pointer to const. However it seems that 'extents_fill_polygon' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/common/extents.c:191:37: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/common/extents.c:136:54: note: Parameter 'x' can be declared as pointer to const pcb-4.2.2/src/hid/common/extents.c:136:64: style: Parameter 'y' can be declared as pointer to const. However it seems that 'extents_fill_polygon' is a callback function, if 'y' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/common/extents.c:191:37: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/common/extents.c:136:64: note: Parameter 'y' can be declared as pointer to const pcb-4.2.2/src/hid/common/flags.c:67:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HID_Flag [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/flags.c:132:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_copper_layer [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/flags.c:143:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_copper_layer [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/flags.c:164:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDRILL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/flags.c:223:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDRILL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/flags.c:109:4: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/hid/common/flags.c:38:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ha [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/flags.c:37:32: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/flags.c:37:8: note: Assignment 'ha=(struct HID_FlagNode*)malloc(sizeof(struct HID_FlagNode))', assigned value is 0 pcb-4.2.2/src/hid/common/flags.c:38:3: note: Null pointer dereference pcb-4.2.2/src/hid/common/flags.c:40:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ha [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/flags.c:37:32: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/flags.c:37:8: note: Assignment 'ha=(struct HID_FlagNode*)malloc(sizeof(struct HID_FlagNode))', assigned value is 0 pcb-4.2.2/src/hid/common/flags.c:40:3: note: Null pointer dereference pcb-4.2.2/src/hid/common/flags.c:41:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ha [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/flags.c:37:32: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/flags.c:37:8: note: Assignment 'ha=(struct HID_FlagNode*)malloc(sizeof(struct HID_FlagNode))', assigned value is 0 pcb-4.2.2/src/hid/common/flags.c:41:3: note: Null pointer dereference pcb-4.2.2/src/hid/common/flags.c:70:4: warning: If memory allocation fails, then there is a possible null pointer dereference: all_flags [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/flags.c:67:38: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/flags.c:67:19: note: Assignment 'all_flags=(HID_Flag*)malloc(n_flags*sizeof(HID_Flag))', assigned value is 0 pcb-4.2.2/src/hid/common/flags.c:70:4: note: Null pointer dereference pcb-4.2.2/src/hid/common/flags.c:71:14: warning: If memory allocation fails, then there is a possible null pointer dereference: all_flags [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/flags.c:67:38: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/flags.c:67:19: note: Assignment 'all_flags=(HID_Flag*)malloc(n_flags*sizeof(HID_Flag))', assigned value is 0 pcb-4.2.2/src/hid/common/flags.c:71:14: note: Null pointer dereference pcb-4.2.2/src/hid/common/flags.c:53:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/common/flags.c:54:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/common/flags.c:140:29: style: Parameter 'save_array' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/common/hid_resource.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hid_resource.c:98:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hid_resource.c:165:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_Release [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hid_resource.c:204:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidgl.c:52:0: error: #error autoconf couldnt find gl.h [preprocessorErrorDirective] pcb-4.2.2/src/hid/common/hidgl.c:52:4: error: #error autoconf couldnt find gl.h [preprocessorErrorDirective] pcb-4.2.2/src/hid/common/hidinit.c:124:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCB_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:185:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCB_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:221:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HID [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:249:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable printer [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:262:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable printer [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:274:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exporter [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:372:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:510:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable homedir [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:609:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:717:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:745:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hidval [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:794:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hidval [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidinit.c:234:5: error: Common realloc mistake: 'hid_list' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/hid/common/hidinit.c:118:19: warning: If memory allocation fails, then there is a possible null pointer dereference: basename [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/hidinit.c:117:25: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/hidinit.c:117:25: note: Assignment 'basename=strdup(de->d_name)', assigned value is 0 pcb-4.2.2/src/hid/common/hidinit.c:118:19: note: Null pointer dereference pcb-4.2.2/src/hid/common/hidinit.c:238:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hid_list [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/hidinit.c:236:32: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/hidinit.c:236:16: note: Assignment 'hid_list=(HID**)malloc(sz)', assigned value is 0 pcb-4.2.2/src/hid/common/hidinit.c:238:3: note: Null pointer dereference pcb-4.2.2/src/hid/common/hidinit.c:239:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hid_list [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/hidinit.c:236:32: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/hidinit.c:236:16: note: Assignment 'hid_list=(HID**)malloc(sz)', assigned value is 0 pcb-4.2.2/src/hid/common/hidinit.c:239:3: note: Null pointer dereference pcb-4.2.2/src/hid/common/hidinit.c:301:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ha [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/hidinit.c:300:32: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/hidinit.c:300:8: note: Assignment 'ha=(struct HID_AttrNode*)malloc(sizeof(struct HID_AttrNode))', assigned value is 0 pcb-4.2.2/src/hid/common/hidinit.c:301:3: note: Null pointer dereference pcb-4.2.2/src/hid/common/hidinit.c:303:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ha [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/hidinit.c:300:32: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/hidinit.c:300:8: note: Assignment 'ha=(struct HID_AttrNode*)malloc(sizeof(struct HID_AttrNode))', assigned value is 0 pcb-4.2.2/src/hid/common/hidinit.c:303:3: note: Null pointer dereference pcb-4.2.2/src/hid/common/hidinit.c:304:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ha [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/hidinit.c:300:32: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/hidinit.c:300:8: note: Assignment 'ha=(struct HID_AttrNode*)malloc(sizeof(struct HID_AttrNode))', assigned value is 0 pcb-4.2.2/src/hid/common/hidinit.c:304:3: note: Null pointer dereference pcb-4.2.2/src/hid/common/hidinit.c:763:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/hidinit.c:760:31: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/hidinit.c:760:13: note: Assignment 'cache=(struct ccache*)calloc(sizeof(struct ccache),1)', assigned value is 0 pcb-4.2.2/src/hid/common/hidinit.c:763:7: note: Null pointer dereference pcb-4.2.2/src/hid/common/hidinit.c:791:3: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/hidinit.c:790:25: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/hidinit.c:790:7: note: Assignment 'e=(struct ecache*)malloc(sizeof(struct ecache))', assigned value is 0 pcb-4.2.2/src/hid/common/hidinit.c:791:3: note: Null pointer dereference pcb-4.2.2/src/hid/common/hidinit.c:793:3: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] pcb-4.2.2/src/hid/common/hidinit.c:790:25: note: Assuming allocation function fails pcb-4.2.2/src/hid/common/hidinit.c:790:7: note: Assignment 'e=(struct ecache*)malloc(sizeof(struct ecache))', assigned value is 0 pcb-4.2.2/src/hid/common/hidinit.c:793:3: note: Null pointer dereference pcb-4.2.2/src/hid/common/hidinit.c:776:24: style: Variable 'hash' is reassigned a value before the old one has been used. [redundantAssignment] pcb-4.2.2/src/hid/common/hidinit.c:775:8: note: hash is assigned pcb-4.2.2/src/hid/common/hidinit.c:776:24: note: hash is overwritten pcb-4.2.2/src/hid/common/hidinit.c:446:5: style: Statements following noreturn function 'abort()' will never be executed. [unreachableCode] pcb-4.2.2/src/hid/common/hidinit.c:751:66: style:inconclusive: Function 'hid_cache_color' argument 4 names different: declaration 'cache' definition 'vcache'. [funcArgNamesDifferent] pcb-4.2.2/src/hid/hidint.h:67:70: note: Function 'hid_cache_color' argument 4 names different: declaration 'cache' definition 'vcache'. pcb-4.2.2/src/hid/common/hidinit.c:751:66: note: Function 'hid_cache_color' argument 4 names different: declaration 'cache' definition 'vcache'. pcb-4.2.2/src/hid/common/hidinit.c:488:18: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/common/hidinit.c:579:30: style: Variable 'value' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/common/hidinit.c:601:26: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/common/hidnogui.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:65:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:88:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:100:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:106:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:112:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:123:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:130:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:136:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:142:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:148:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:154:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:160:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:166:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:172:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:178:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:184:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:190:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:203:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:210:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:217:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:230:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:238:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:246:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:254:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:261:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:269:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:298:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:411:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:417:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:424:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:518:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HID [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/common/hidnogui.c:231:3: style: Statements following noreturn function 'abort()' will never be executed. [unreachableCode] pcb-4.2.2/src/hid/common/hidnogui.c:247:3: style: Statements following noreturn function 'abort()' will never be executed. [unreachableCode] pcb-4.2.2/src/hid/common/hidnogui.c:262:3: style: Statements following noreturn function 'abort()' will never be executed. [unreachableCode] pcb-4.2.2/src/hid/common/hidnogui.c:359:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/hid/common/hidnogui.c:363:28: style: Parameter 'title' can be declared as pointer to const. However it seems that 'nogui_report_dialog' is a callback function, if 'title' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/common/hidnogui.c:475:31: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/common/hidnogui.c:363:28: note: Parameter 'title' can be declared as pointer to const pcb-4.2.2/src/hid/common/hidnogui.c:363:41: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'nogui_report_dialog' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/common/hidnogui.c:475:31: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/common/hidnogui.c:363:41: note: Parameter 'msg' can be declared as pointer to const pcb-4.2.2/src/hid/common/hidnogui.c:389:11: style: Parameter 'default_file' can be declared as pointer to const. However it seems that 'nogui_fileselect' is a callback function, if 'default_file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/common/hidnogui.c:477:31: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/common/hidnogui.c:389:11: note: Parameter 'default_file' can be declared as pointer to const pcb-4.2.2/src/hid/common/hidnogui.c:389:31: style: Parameter 'default_ext' can be declared as pointer to const. However it seems that 'nogui_fileselect' is a callback function, if 'default_ext' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/common/hidnogui.c:477:31: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/common/hidnogui.c:389:31: note: Parameter 'default_ext' can be declared as pointer to const pcb-4.2.2/src/hid/common/hidnogui.c:27:7: style: struct member 'hid_gc_struct::nothing_interesting_here' is never used. [unusedStructMember] pcb-4.2.2/src/hid/common/trackball.c:247:17: style: Parameter 'q1' can be declared as const array [constParameter] pcb-4.2.2/src/hid/common/trackball.c:247:30: style: Parameter 'q2' can be declared as const array [constParameter] pcb-4.2.2/src/hid/common/trackball.c:302:38: style: Parameter 'q' can be declared as const array [constParameter] pcb-4.2.2/src/hid/gcode/decompose.c:37:36: style: Parameter 'bm' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gcode/decompose.c:64:40: style: Parameter 'bm' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gcode/decompose.c:64:53: style: Parameter 'bbox' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gcode/decompose.c:122:30: style: Parameter 'bm' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gcode/decompose.c:157:32: style: Parameter 'bm' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gcode/decompose.c:543:30: style: Parameter 'bm' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gcode/gcode.c:392:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_ATTRIBUTES is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/gcode/trace.c:1495:6: style: Redundant initialization for 'po'. The initialized value is overwritten before it is read. [redundantInitialization] pcb-4.2.2/src/hid/gcode/trace.c:1487:11: note: po is initialized pcb-4.2.2/src/hid/gcode/trace.c:1495:6: note: po is overwritten pcb-4.2.2/src/hid/gcode/trace.c:1496:6: style: Redundant initialization for 'pt'. The initialized value is overwritten before it is read. [redundantInitialization] pcb-4.2.2/src/hid/gcode/trace.c:1488:15: note: pt is initialized pcb-4.2.2/src/hid/gcode/trace.c:1496:6: note: pt is overwritten pcb-4.2.2/src/hid/gcode/trace.c:1017:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] pcb-4.2.2/src/hid/gcode/trace.c:806:8: style: Variable 'po' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/gcode/trace.c:1138:34: style: Parameter 'convc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gcode/trace.c:1138:49: style: Parameter 'areac' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gcode/trace.c:1487:8: style: Variable 'po' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/gerber/gerber.c:930:38: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/gsvit/gsvit.c:254:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_ATTRIBUTES is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/gtk/gui.h:543:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui.h:554:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxHeight [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui.h:571:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui.h:580:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxHeight [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-cell-renderer-visibility.c:143:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CELL_RENDERER_PRELIT [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-cell-renderer-visibility.c:268:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-cell-renderer-visibility.c:317:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_CELL_RENDERER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-cell-renderer-visibility.c:54:58: style: Parameter 'cell_area' can be declared as pointer to const. However it seems that 'ghid_cell_renderer_visibility_get_size' is a callback function, if 'cell_area' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/ghid-cell-renderer-visibility.c:259:26: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/ghid-cell-renderer-visibility.c:54:58: note: Parameter 'cell_area' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/ghid-cell-renderer-visibility.c:60:13: style: Variable 'style' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/gtk/ghid-cell-renderer-visibility.c:207:31: style: Variable 'pcb_cell' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/gtk/ghid-coord-entry.c:75:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suffix [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-coord-entry.c:201:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-coord-entry.c:230:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_SPIN_BUTTON [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-coord-entry.c:300:45: style: Parameter 'ce' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/ghid-layer-selector.c:105:28: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] pcb-4.2.2/src/hid/gtk/ghid-layer-selector.c:105:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-layer-selector.c:236:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-layer-selector.c:474:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-layer-selector.c:544:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TREE_VIEW [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-layer-selector.c:820:57: style: Parameter 'ls' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:231:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subres [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_MENU_BAR [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:590:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:635:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:504:3: error: Memory leak: mm.popup_table [memleak] pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:104:43: style: Variable 'key_table' can be declared as const array [constVariable] pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:265:21: style: Variable 'post_' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:434:36: style: Parameter 'mm' can be declared as pointer to const. However it seems that 'ghid_main_menu_init' is a callback function, if 'mm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:462:31: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:434:36: note: Parameter 'mm' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:440:47: style: Parameter 'klass' can be declared as pointer to const. However it seems that 'ghid_main_menu_class_init' is a callback function, if 'klass' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:457:28: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:440:47: note: Parameter 'klass' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:649:47: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:166:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:188:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:337:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:390:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_VBOX [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:202: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] pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:204:10: 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] pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:207: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] pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:323:57: style: Parameter 'rss' can be declared as pointer to const. However it seems that 'ghid_route_style_selector_init' is a callback function, if 'rss' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:387:22: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:323:57: note: Parameter 'rss' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:559:57: style: Parameter 'rst' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:594:68: style: Parameter 'rss' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:104:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_group [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:160:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BackgroundColor [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:194:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DrawGrid [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:273:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:418:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:486:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CAP_ROUND [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:508:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HID_MASK_CLEAR [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:519:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COPY [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:531:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:588:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:627:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:669:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:693:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkPoint [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:713:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:789:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1073:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_XOR [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1196:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1260:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1315:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1324:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1360:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_XOR [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:242:7: error: Common realloc mistake: 'points' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:693:7: error: Common realloc mistake: 'points' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:445:12: warning: If memory allocation fails, then there is a possible null pointer dereference: cc [nullPointerOutOfMemory] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:444:31: note: Assuming allocation function fails pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:444:9: note: Assignment 'cc=(struct ColorCache*)malloc(sizeof(struct ColorCache))', assigned value is 0 pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:445:12: note: Null pointer dereference pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:450:12: warning: If memory allocation fails, then there is a possible null pointer dereference: cc [nullPointerOutOfMemory] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:444:31: note: Assuming allocation function fails pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:444:9: note: Assignment 'cc=(struct ColorCache*)malloc(sizeof(struct ColorCache))', assigned value is 0 pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:450:12: note: Null pointer dereference pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:514:34: style:inconclusive: Function 'ghid_set_draw_xor' argument 2 names different: declaration '_xor' definition 'xor_mask'. [funcArgNamesDifferent] pcb-4.2.2/src/hid/gtk/gui.h:488:39: note: Function 'ghid_set_draw_xor' argument 2 names different: declaration '_xor' definition 'xor_mask'. pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:514:34: note: Function 'ghid_set_draw_xor' argument 2 names different: declaration '_xor' definition 'xor_mask'. pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:748:30: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1112:38: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1112:56: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1171:42: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1171:59: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gtkhid-gl.c:30:0: error: #error autoconf couldnt find gl.h [preprocessorErrorDirective] pcb-4.2.2/src/hid/gtk/gtkhid-gl.c:30:4: error: #error autoconf couldnt find gl.h [preprocessorErrorDirective] pcb-4.2.2/src/hid/gtk/gtkhid-main.c:2244:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_ACTIONS is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/gtk/gui-command-window.c:310:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_Escape [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-command-window.c:373:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-command-window.c:521:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-command-window.c:384:10: 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] pcb-4.2.2/src/hid/gtk/gui-command-window.c:400:11: 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] pcb-4.2.2/src/hid/gtk/gui-command-window.c:290:45: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'command_window_delete_event_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-command-window.c:376:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-command-window.c:290:45: note: Parameter 'widget' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-command-window.c:290:64: style: Parameter 'event' can be declared as pointer to const. However it seems that 'command_window_delete_event_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-command-window.c:376:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-command-window.c:290:64: note: Parameter 'event' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-command-window.c:291:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'command_window_delete_event_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-command-window.c:376:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-command-window.c:291:42: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-command-window.c:299:33: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'command_destroy_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-command-window.c:374:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-command-window.c:299:33: note: Parameter 'widget' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-command-window.c:299:50: style: Parameter 'data' can be declared as pointer to const. However it seems that 'command_destroy_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-command-window.c:374:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-command-window.c:299:50: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-command-window.c:306:54: style: Parameter 'kev' can be declared as pointer to const. However it seems that 'command_escape_cb' is a callback function, if 'kev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-command-window.c:472:19: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-command-window.c:306:54: note: Parameter 'kev' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-command-window.c:431:33: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-command-window.c:431:49: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-config.c:1283:31: error: There is an unknown macro here somewhere. Configuration is required. If PCB_PATH_DELIMETER is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:116:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:372:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:419:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:124: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] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:151:11: 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] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:170:11: 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] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:190:11: 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] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:211:11: 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] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:239:11: 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] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:269:11: 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] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:304:11: 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] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:428:10: 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] pcb-4.2.2/src/hid/gtk/gui-dialog.c:55:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog.c:97:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog.c:119:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog.c:147:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog.c:175:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog.c:208:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Filename [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog.c:277:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog.c:385:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog.c:467:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog.c:588:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-dialog.c:674:44: warning: Either the condition 'k<8' is redundant or the array 'recent_dirs[history_pool].history[8]' is accessed at index 8, which is out of bounds. [arrayIndexOutOfBoundsCond] pcb-4.2.2/src/hid/gtk/gui-dialog.c:668:14: note: Assuming that condition 'k<8' is not redundant pcb-4.2.2/src/hid/gtk/gui-dialog.c:674:44: note: Array index out of bounds pcb-4.2.2/src/hid/gtk/gui-dialog.c:60:10: 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] pcb-4.2.2/src/hid/gtk/gui-dialog.c:345:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pcb-4.2.2/src/hid/gtk/gui-dialog.c:428:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pcb-4.2.2/src/hid/gtk/gui-dialog.c:498:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pcb-4.2.2/src/hid/gtk/gui-dialog.c:489:42: error: Allocation with g_path_get_basename, gtk_file_chooser_set_current_name doesn't release it. [leakNoVarFunctionCall] pcb-4.2.2/src/hid/gtk/gui-dialog.c:491:44: error: Allocation with g_path_get_dirname, gtk_file_chooser_set_current_folder doesn't release it. [leakNoVarFunctionCall] pcb-4.2.2/src/hid/gtk/gui-dialog.c:109:34: style:inconclusive: Function 'ghid_dialog_confirm_all' argument 1 names different: declaration 'message' definition 'all_message'. [funcArgNamesDifferent] pcb-4.2.2/src/hid/gtk/gui.h:328:39: note: Function 'ghid_dialog_confirm_all' argument 1 names different: declaration 'message' definition 'all_message'. pcb-4.2.2/src/hid/gtk/gui-dialog.c:109:34: note: Function 'ghid_dialog_confirm_all' argument 1 names different: declaration 'message' definition 'all_message'. pcb-4.2.2/src/hid/gtk/gui-dialog.c:458:69: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:126:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOUNDFLAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:320:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_WRITABLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:417:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:432:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DrcViolationType [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:520:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allow [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:670:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_WRITABLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:703:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_CELL_RENDERER_TEXT [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:744:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:754:10: 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] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:86:29: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'drc_destroy_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:745:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-drc-window.c:86:29: note: Parameter 'widget' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-drc-window.c:86:46: style: Parameter 'data' can be declared as pointer to const. However it seems that 'drc_destroy_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:745:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-drc-window.c:86:46: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-drc-window.c:212:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ghid_drc_violation_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:310:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-drc-window.c:212:42: note: Parameter 'pspec' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-drc-window.c:284:44: style: Parameter 'object' can be declared as pointer to const. However it seems that 'ghid_drc_violation_get_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:311:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-drc-window.c:284:44: note: Parameter 'object' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-drc-window.c:285:15: style: Parameter 'value' can be declared as pointer to const. However it seems that 'ghid_drc_violation_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:311:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-drc-window.c:285:15: note: Parameter 'value' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-drc-window.c:285:35: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ghid_drc_violation_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:311:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-drc-window.c:285:35: note: Parameter 'pspec' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-drc-window.c:425:61: style: Parameter 'violation' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:426:21: style: Parameter 'pixmap' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:491:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ghid_violation_renderer_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:657:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-drc-window.c:491:42: note: Parameter 'pspec' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-drc-window.c:558:49: style: Parameter 'object' can be declared as pointer to const. However it seems that 'ghid_violation_renderer_get_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:658:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-drc-window.c:558:49: note: Parameter 'object' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-drc-window.c:559:16: style: Parameter 'value' can be declared as pointer to const. However it seems that 'ghid_violation_renderer_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:658:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-drc-window.c:559:16: note: Parameter 'value' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-drc-window.c:559:36: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ghid_violation_renderer_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:658:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-drc-window.c:559:36: note: Parameter 'pspec' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-drc-window.c:193:7: style: struct member 'ghid_drc_object_list::count' is never used. [unusedStructMember] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:194:13: style: struct member 'ghid_drc_object_list::id_list' is never used. [unusedStructMember] pcb-4.2.2/src/hid/gtk/gui-drc-window.c:195:8: style: struct member 'ghid_drc_object_list::type_list' is never used. [unusedStructMember] pcb-4.2.2/src/hid/gtk/gui-keyref-window.c:348:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-keyref-window.c:359:10: 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] pcb-4.2.2/src/hid/gtk/gui-keyref-window.c:331:32: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'keyref_destroy_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-keyref-window.c:349:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-keyref-window.c:331:32: note: Parameter 'widget' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-keyref-window.c:331:49: style: Parameter 'data' can be declared as pointer to const. However it seems that 'keyref_destroy_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-keyref-window.c:349:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-keyref-window.c:331:49: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-library-window.c:177:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AutoPlace [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-library-window.c:334:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-library-window.c:388:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASTEBUFFER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-library-window.c:558:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Library [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-library-window.c:695:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_VBOX [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-library-window.c:867:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-library-window.c:981:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_DIALOG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-library-window.c:842:3: error: Memory leak: model [memleak] pcb-4.2.2/src/hid/gtk/gui-library-window.c:932:3: error: Memory leak: alignment [memleak] pcb-4.2.2/src/hid/gtk/gui-library-window.c:932:3: error: Memory leak: frame [memleak] pcb-4.2.2/src/hid/gtk/gui-library-window.c:230:22: style: Local variable 'library_window' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/gtk/gui-library-window.c:71:19: note: Shadowed declaration pcb-4.2.2/src/hid/gtk/gui-library-window.c:230:22: note: Shadow variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:371:22: style: Local variable 'library_window' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/gtk/gui-library-window.c:71:19: note: Shadowed declaration pcb-4.2.2/src/hid/gtk/gui-library-window.c:371:22: note: Shadow variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:451:22: style: Local variable 'library_window' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/gtk/gui-library-window.c:71:19: note: Shadowed declaration pcb-4.2.2/src/hid/gtk/gui-library-window.c:451:22: note: Shadow variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:493:22: style: Local variable 'library_window' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/gtk/gui-library-window.c:71:19: note: Shadowed declaration pcb-4.2.2/src/hid/gtk/gui-library-window.c:493:22: note: Shadow variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:532:22: style: Local variable 'library_window' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/gtk/gui-library-window.c:71:19: note: Shadowed declaration pcb-4.2.2/src/hid/gtk/gui-library-window.c:532:22: note: Shadow variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:852:22: style: Local variable 'library_window' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/gtk/gui-library-window.c:71:19: note: Shadowed declaration pcb-4.2.2/src/hid/gtk/gui-library-window.c:852:22: note: Shadow variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:938:22: style: Local variable 'library_window' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/gtk/gui-library-window.c:71:19: note: Shadowed declaration pcb-4.2.2/src/hid/gtk/gui-library-window.c:938:22: note: Shadow variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:323:36: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tree_row_key_pressed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-library-window.c:727:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-library-window.c:323:36: note: Parameter 'event' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-log-window.c:80:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-log-window.c:91:10: 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] pcb-4.2.2/src/hid/gtk/gui-log-window.c:67:29: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'log_destroy_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-log-window.c:81:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-log-window.c:67:29: note: Parameter 'widget' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-log-window.c:67:46: style: Parameter 'data' can be declared as pointer to const. However it seems that 'log_destroy_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-log-window.c:81:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-log-window.c:67:46: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-log-window.c:159:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/gtk/gui-misc.c:88:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_X_CURSOR [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-misc.c:127:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_DRAPED_BOX [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-misc.c:133:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_HAND2 [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-misc.c:141:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WATCH [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-misc.c:152:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_LAST_CURSOR [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-misc.c:222:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Y [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-misc.c:305:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable State [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-misc.c:407:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Clipping [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-misc.c:444:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-misc.c:147:23: style:inconclusive: Function 'ghid_mode_cursor' argument 1 names different: declaration 'mode' definition 'Mode'. [funcArgNamesDifferent] pcb-4.2.2/src/hid/gtk/gui.h:272:29: note: Function 'ghid_mode_cursor' argument 1 names different: declaration 'mode' definition 'Mode'. pcb-4.2.2/src/hid/gtk/gui-misc.c:147:23: note: Function 'ghid_mode_cursor' argument 1 names different: declaration 'mode' definition 'Mode'. pcb-4.2.2/src/hid/gtk/gui-misc.c:68:46: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-misc.c:74:55: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-misc.c:247:60: style: Parameter 'kev' can be declared as pointer to const. However it seems that 'loop_key_press_cb' is a callback function, if 'kev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-misc.c:329:5: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-misc.c:247:60: note: Parameter 'kev' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-misc.c:371:33: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:171:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListEntry [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:215:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SELECTEDFLAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:354:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NetlistLib [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:546:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOUNDFLAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:574:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Data [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:707:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:1004:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NetlistLib [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:720:10: 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] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:723: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] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:785: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] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:791: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] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:890:38: style:inconclusive: Function 'ghid_get_net_from_node_name' argument 1 names different: declaration 'name' definition 'node_name'. [funcArgNamesDifferent] pcb-4.2.2/src/hid/gtk/gui.h:453:55: note: Function 'ghid_get_net_from_node_name' argument 1 names different: declaration 'name' definition 'node_name'. pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:890:38: note: Function 'ghid_get_net_from_node_name' argument 1 names different: declaration 'name' definition 'node_name'. pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:938:38: style:inconclusive: Function 'ghid_netlist_highlight_node' argument 1 names different: declaration 'name' definition 'node_name'. [funcArgNamesDifferent] pcb-4.2.2/src/hid/gtk/gui.h:454:43: note: Function 'ghid_netlist_highlight_node' argument 1 names different: declaration 'name' definition 'node_name'. pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:938:38: note: Function 'ghid_netlist_highlight_node' argument 1 names different: declaration 'name' definition 'node_name'. pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:283:20: style: Variable 'pin' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:689:33: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'netlist_destroy_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:708:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:689:33: note: Parameter 'widget' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:689:52: style: Parameter 'out' can be declared as pointer to const. However it seems that 'netlist_destroy_cb' is a callback function, if 'out' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:708:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:689:52: note: Parameter 'out' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-output-events.c:85:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-output-events.c:154:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mode [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-output-events.c:308:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-output-events.c:336:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_Release [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-output-events.c:368:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BackgroundColor [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-output-events.c:405:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIN_TYPE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-output-events.c:544:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NOTIFY_NONLINEAR [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-output-events.c:582:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CROSSING_NORMAL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-output-events.c:454:43: style: Condition 'netname!=NULL' is always false [knownConditionTrueFalse] pcb-4.2.2/src/hid/gtk/gui-output-events.c:444:17: note: Assuming that condition 'netname!=NULL' is not redundant pcb-4.2.2/src/hid/gtk/gui-output-events.c:454:43: note: Condition 'netname!=NULL' is always false pcb-4.2.2/src/hid/gtk/gui-output-events.c:123:44: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-output-events.c:168:67: style: Parameter 'kev' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-output-events.c:350:29: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-output-events.c:398:9: style: Variable 'elename' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/gtk/gui-output-events.c:399:9: style: Variable 'pinname' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/gtk/gui-output-events.c:538:26: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-output-events.c:571:47: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:57:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PinoutOffsetX [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:72:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ElementType [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:151:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable constructed [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:264:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_WRITABLE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:297:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_DRAWING_AREA [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:193:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ghid_pinout_preview_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:252:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:193:42: note: Parameter 'pspec' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:225:45: style: Parameter 'object' can be declared as pointer to const. However it seems that 'ghid_pinout_preview_get_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:253:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:225:45: note: Parameter 'object' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:226:16: style: Parameter 'value' can be declared as pointer to const. However it seems that 'ghid_pinout_preview_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:253:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:226:16: note: Parameter 'value' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:226:36: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ghid_pinout_preview_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:253:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:226:36: note: Parameter 'pspec' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:313:40: style: Parameter 'element' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-pinout-preview.c:330:59: style: Parameter 'pinout' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-pinout-window.c:71:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-pinout-window.c:77:10: 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] pcb-4.2.2/src/hid/gtk/gui-pinout-window.c:58:56: style:inconclusive: Function 'ghid_pinout_window_show' argument 2 names different: declaration 'Element' definition 'element'. [funcArgNamesDifferent] pcb-4.2.2/src/hid/gtk/gui.h:478:59: note: Function 'ghid_pinout_window_show' argument 2 names different: declaration 'Element' definition 'element'. pcb-4.2.2/src/hid/gtk/gui-pinout-window.c:58:56: note: Function 'ghid_pinout_window_show' argument 2 names different: declaration 'Element' definition 'element'. pcb-4.2.2/src/hid/gtk/gui-top-window.c:1784:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_ATTRIBUTES is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/gtk/gui-trackball.c:285:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-trackball.c:382:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_FIRST [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-trackball.c:436:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_VBOX [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-trackball.c:60:53: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'button_press_cb' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-trackball.c:278:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-trackball.c:60:53: note: Parameter 'ev' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-trackball.c:96:55: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'button_release_cb' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-trackball.c:280:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-trackball.c:96:55: note: Parameter 'ev' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-trackball.c:323:40: style: Parameter 'object' can be declared as pointer to const. However it seems that 'ghid_trackball_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-trackball.c:374:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-trackball.c:323:40: note: Parameter 'object' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-trackball.c:324:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ghid_trackball_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-trackball.c:374:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-trackball.c:324:42: note: Parameter 'pspec' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-trackball.c:347:40: style: Parameter 'object' can be declared as pointer to const. However it seems that 'ghid_trackball_get_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-trackball.c:375:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-trackball.c:347:40: note: Parameter 'object' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-trackball.c:348:16: style: Parameter 'value' can be declared as pointer to const. However it seems that 'ghid_trackball_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-trackball.c:375:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-trackball.c:348:16: note: Parameter 'value' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-trackball.c:348:36: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ghid_trackball_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/gtk/gui-trackball.c:375:33: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-trackball.c:348:36: note: Parameter 'pspec' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-utils.c:75:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_Shift_R [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-utils.c:96:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-utils.c:134:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-utils.c:270:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grid_unit [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-utils.c:361:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grid_unit [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-utils.c:664:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-utils.c:817:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WEIGHT_BOLD [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/gtk/gui-utils.c:265:14: 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] pcb-4.2.2/src/hid/gtk/gui-utils.c:312:14: 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] pcb-4.2.2/src/hid/gtk/gui-utils.c:508:10: 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] pcb-4.2.2/src/hid/gtk/gui-utils.c:531:10: 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] pcb-4.2.2/src/hid/gtk/gui-utils.c:548:10: 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] pcb-4.2.2/src/hid/gtk/gui-utils.c:562:10: 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] pcb-4.2.2/src/hid/gtk/gui-utils.c:579: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] pcb-4.2.2/src/hid/gtk/gui-utils.c:583:11: 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] pcb-4.2.2/src/hid/gtk/gui-utils.c:625:10: 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] pcb-4.2.2/src/hid/gtk/gui-utils.c:674:10: 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] pcb-4.2.2/src/hid/gtk/gui-utils.c:151:35: style:inconclusive: Function 'ghid_draw_area_update' argument 1 names different: declaration 'out' definition 'port'. [funcArgNamesDifferent] pcb-4.2.2/src/hid/gtk/gui.h:369:40: note: Function 'ghid_draw_area_update' argument 1 names different: declaration 'out' definition 'port'. pcb-4.2.2/src/hid/gtk/gui-utils.c:151:35: note: Function 'ghid_draw_area_update' argument 1 names different: declaration 'out' definition 'port'. pcb-4.2.2/src/hid/gtk/gui-utils.c:401:37: style:inconclusive: Function 'ghid_table_spin_button' argument 1 names different: declaration 'box' definition 'table'. [funcArgNamesDifferent] pcb-4.2.2/src/hid/gtk/gui.h:396:42: note: Function 'ghid_table_spin_button' argument 1 names different: declaration 'box' definition 'table'. pcb-4.2.2/src/hid/gtk/gui-utils.c:401:37: note: Function 'ghid_table_spin_button' argument 1 names different: declaration 'box' definition 'table'. pcb-4.2.2/src/hid/gtk/gui-utils.c:83:45: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-utils.c:121:38: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-utils.c:159:33: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/gtk/gui-utils.c:635:52: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/ipcd356/ipcd356.c:146:51: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/lesstif/lesstif.h:70:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmFONTLIST_DEFAULT_TAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:94:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNokCallback [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:139:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtitle [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:192:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtitle [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:249:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Filename [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:331:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNautoUnmanage [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:428:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtitle [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:528:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNautoUnmanage [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:577:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNautoUnmanage [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:649:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmDIALOG_SYMBOL_LABEL [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:683:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable help_text [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:980:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNmessageString [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1020:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HID_Attr_Val [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1064:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real_value [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1098:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtitle [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1164:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suffix [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1172:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allow [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1181:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1208:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1232:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtopPosition [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1278:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNmarginWidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1413:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_group [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1453:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1470:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1486:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ALL_LAYER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1602:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SILK_LAYER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1708:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNvalue [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1803:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNactivateCallback [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1853:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1911:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNautoUnmanage [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:2058:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtitle [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/dialogs.c:1793:2: error: Common realloc mistake: 'attr_row' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/hid/lesstif/dialogs.c:685:7: warning: If memory allocation fails, then there is a possible null pointer dereference: results [nullPointerOutOfMemory] pcb-4.2.2/src/hid/lesstif/dialogs.c:1138:34: note: Assuming allocation function fails pcb-4.2.2/src/hid/lesstif/dialogs.c:1138:10: note: Assignment 'vals=(HID_Attr_Val*)calloc(n,sizeof(HID_Attr_Val))', assigned value is 0 pcb-4.2.2/src/hid/lesstif/dialogs.c:1139:42: note: Calling function 'lesstif_attribute_dialog', 3rd argument 'vals' value is 0 pcb-4.2.2/src/hid/lesstif/dialogs.c:685:7: note: Null pointer dereference pcb-4.2.2/src/hid/lesstif/dialogs.c:686:11: warning: If memory allocation fails, then there is a possible null pointer dereference: results [nullPointerOutOfMemory] pcb-4.2.2/src/hid/lesstif/dialogs.c:1138:34: note: Assuming allocation function fails pcb-4.2.2/src/hid/lesstif/dialogs.c:1138:10: note: Assignment 'vals=(HID_Attr_Val*)calloc(n,sizeof(HID_Attr_Val))', assigned value is 0 pcb-4.2.2/src/hid/lesstif/dialogs.c:1139:42: note: Calling function 'lesstif_attribute_dialog', 3rd argument 'vals' value is 0 pcb-4.2.2/src/hid/lesstif/dialogs.c:686:11: note: Null pointer dereference pcb-4.2.2/src/hid/lesstif/dialogs.c:512:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/hid/lesstif/dialogs.c:796:22: style: Local variable 'empty' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/lesstif/dialogs.c:674:19: note: Shadowed declaration pcb-4.2.2/src/hid/lesstif/dialogs.c:796:22: note: Shadow variable pcb-4.2.2/src/hid/lesstif/dialogs.c:978:16: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/lesstif/dialogs.c:30:12: note: Shadowed declaration pcb-4.2.2/src/hid/lesstif/dialogs.c:978:16: note: Shadow variable pcb-4.2.2/src/hid/lesstif/dialogs.c:1011:7: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/lesstif/dialogs.c:30:12: note: Shadowed declaration pcb-4.2.2/src/hid/lesstif/dialogs.c:1011:7: note: Shadow variable pcb-4.2.2/src/hid/lesstif/dialogs.c:1089:7: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/lesstif/dialogs.c:30:12: note: Shadowed declaration pcb-4.2.2/src/hid/lesstif/dialogs.c:1089:7: note: Shadow variable pcb-4.2.2/src/hid/lesstif/dialogs.c:1487:13: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/lesstif/dialogs.c:30:12: note: Shadowed declaration pcb-4.2.2/src/hid/lesstif/dialogs.c:1487:13: note: Shadow variable pcb-4.2.2/src/hid/lesstif/dialogs.c:1873:10: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/lesstif/dialogs.c:30:12: note: Shadowed declaration pcb-4.2.2/src/hid/lesstif/dialogs.c:1873:10: note: Shadow variable pcb-4.2.2/src/hid/lesstif/dialogs.c:41:43: style: Parameter 'cbs' can be declared as pointer to const. However it seems that 'dialog_callback' is a callback function, if 'cbs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/dialogs.c:1951:25: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/dialogs.c:41:43: note: Parameter 'cbs' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/dialogs.c:304:28: style: Parameter 'up' can be declared as pointer to const. However it seems that 'log_clear' is a callback function, if 'up' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/dialogs.c:343:25: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/dialogs.c:304:28: note: Parameter 'up' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/dialogs.c:304:38: style: Parameter 'cbp' can be declared as pointer to const. However it seems that 'log_clear' is a callback function, if 'cbp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/dialogs.c:343:25: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/dialogs.c:304:38: note: Parameter 'cbp' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/dialogs.c:312:30: style: Parameter 'up' can be declared as pointer to const. However it seems that 'log_dismiss' is a callback function, if 'up' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/dialogs.c:352:25: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/dialogs.c:312:30: note: Parameter 'up' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/dialogs.c:312:40: style: Parameter 'cbp' can be declared as pointer to const. However it seems that 'log_dismiss' is a callback function, if 'cbp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/dialogs.c:352:25: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/dialogs.c:312:40: note: Parameter 'cbp' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/dialogs.c:557:13: style: Parameter 'default_file' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/lesstif/dialogs.c:634:9: style: Variable 'rv' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/lesstif/dialogs.c:1395:70: style: Parameter 'cbs' can be declared as pointer to const. However it seems that 'lgbutton_expose' is a callback function, if 'cbs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/dialogs.c:1615:25: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/dialogs.c:1395:70: note: Parameter 'cbs' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/dialogs.c:1897:45: style: Parameter 'v' can be declared as pointer to const. However it seems that 'attributes_revert_callback' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/dialogs.c:1944:25: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/dialogs.c:1897:45: note: Parameter 'v' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/dialogs.c:1897:54: style: Parameter 'cbs' can be declared as pointer to const. However it seems that 'attributes_revert_callback' is a callback function, if 'cbs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/dialogs.c:1944:25: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/dialogs.c:1897:54: note: Parameter 'cbs' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/dialogs.c:1498:28: style: Variable 'sets[l->Entries[i][j]][i]' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/hid/lesstif/library.c:41:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Menu [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/library.c:70:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Menu [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/library.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtitle [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/library.c:134:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MenuN [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/library.c:68:9: style: Local variable 'args' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/lesstif/library.c:27:12: note: Shadowed declaration pcb-4.2.2/src/hid/lesstif/library.c:68:9: note: Shadow variable pcb-4.2.2/src/hid/lesstif/library.c:60:33: style: Parameter 'v' can be declared as pointer to const. However it seems that 'library_browse' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/library.c:105:21: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/library.c:60:33: note: Parameter 'v' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/library.c:60:59: style: Parameter 'cbs' can be declared as pointer to const. However it seems that 'library_browse' is a callback function, if 'cbs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/library.c:105:21: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/library.c:60:59: note: Parameter 'cbs' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/library.c:66:59: style: Parameter 'cbs' can be declared as pointer to const. However it seems that 'libnode_select' is a callback function, if 'cbs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/library.c:116:21: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/library.c:66:59: note: Parameter 'cbs' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/main.c:217:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_FLAGS is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/lesstif/menu.c:757:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_ACTIONS is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/lesstif/netlist.c:50:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Menu [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/netlist.c:74:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Menu [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/netlist.c:143:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOUNDFLAG [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/netlist.c:180:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Menu [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/netlist.c:200:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Data [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/netlist.c:226:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Menu [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/netlist.c:285:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtopWidget [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/netlist.c:312:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtitle [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/netlist.c:388:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MenuN [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/netlist.c:451:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNvisibleItemCount [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/netlist.c:188:5: warning: If memory allocation fails, then there is a possible null pointer dereference: selected [nullPointerOutOfMemory] pcb-4.2.2/src/hid/lesstif/netlist.c:186:35: note: Assuming allocation function fails pcb-4.2.2/src/hid/lesstif/netlist.c:186:14: note: Assignment 'selected=(XmString**)malloc(posc*sizeof(XmString*))', assigned value is 0 pcb-4.2.2/src/hid/lesstif/netlist.c:188:5: note: Null pointer dereference pcb-4.2.2/src/hid/lesstif/netlist.c:231:19: warning: If memory allocation fails, then there is a possible null pointer dereference: ename [nullPointerOutOfMemory] pcb-4.2.2/src/hid/lesstif/netlist.c:230:18: note: Assuming allocation function fails pcb-4.2.2/src/hid/lesstif/netlist.c:230:18: note: Assignment 'ename=strdup(name)', assigned value is 0 pcb-4.2.2/src/hid/lesstif/netlist.c:231:19: note: Null pointer dereference pcb-4.2.2/src/hid/lesstif/netlist.c:70:59: style: Parameter 'cbs' can be declared as pointer to const. However it seems that 'netlist_select' is a callback function, if 'cbs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/netlist.c:367:74: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/netlist.c:70:59: note: Parameter 'cbs' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/netlist.c:94:33: style: Parameter 'v' can be declared as pointer to const. However it seems that 'netlist_extend' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/netlist.c:368:78: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/netlist.c:94:33: note: Parameter 'v' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/netlist.c:94:59: style: Parameter 'cbs' can be declared as pointer to const. However it seems that 'netlist_extend' is a callback function, if 'cbs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/netlist.c:368:78: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/netlist.c:94:59: note: Parameter 'cbs' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/netlist.c:130:38: style: Parameter 'net' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/hid/lesstif/netlist.c:163:29: style: Parameter 'net' can be declared as pointer to const. However it seems that 'nbcb_find' is a callback function, if 'net' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/netlist.c:339:50: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/netlist.c:163:29: note: Parameter 'net' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/netlist.c:224:63: style: Parameter 'cbs' can be declared as pointer to const. However it seems that 'netnode_browse' is a callback function, if 'cbs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/netlist.c:379:76: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/netlist.c:224:63: note: Parameter 'cbs' can be declared as pointer to const pcb-4.2.2/src/hid/lesstif/netlist.c:227:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/lesstif/netlist.c:241:11: style: Variable 'es' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/lesstif/styles.c:103:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNlabelString [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:111:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LineThickness [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:128:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grid_unit [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:141:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_STYLES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:170:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LineThickness [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:205:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtopPosition [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:246:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RouteStyle [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:255:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RouteStyle [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:273:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RouteStyle [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:307:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNtopWidget [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:361:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grid_unit [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:425:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCB [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:459:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_STYLES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lesstif/styles.c:456:3: error: Common realloc mistake: 'style_button_list' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/hid/lesstif/styles.c:137:10: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/lesstif/styles.c:47:12: note: Shadowed declaration pcb-4.2.2/src/hid/lesstif/styles.c:137:10: note: Shadow variable pcb-4.2.2/src/hid/lesstif/styles.c:160:9: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/lesstif/styles.c:47:12: note: Shadowed declaration pcb-4.2.2/src/hid/lesstif/styles.c:160:9: note: Shadow variable pcb-4.2.2/src/hid/lesstif/styles.c:267:10: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/lesstif/styles.c:47:12: note: Shadowed declaration pcb-4.2.2/src/hid/lesstif/styles.c:267:10: note: Shadow variable pcb-4.2.2/src/hid/lesstif/styles.c:264:65: style: Parameter 'cbs' can be declared as pointer to const. However it seems that 'style_selected' is a callback function, if 'cbs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/hid/lesstif/styles.c:469:25: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/styles.c:264:65: note: Parameter 'cbs' can be declared as pointer to const pcb-4.2.2/src/hid/lpr/lpr.c:60:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_value [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lpr/lpr.c:91:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_val [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lpr/lpr.c:129:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HID [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/hid/lpr/lpr.c:70:15: warning: If memory allocation fails, then there is a possible null pointer dereference: lpr_options [nullPointerOutOfMemory] pcb-4.2.2/src/hid/lpr/lpr.c:69:27: note: Assuming allocation function fails pcb-4.2.2/src/hid/lpr/lpr.c:69:2: note: Assignment 'lpr_options=(HID_Attribute*)calloc(num_lpr_options,sizeof(HID_Attribute))', assigned value is 0 pcb-4.2.2/src/hid/lpr/lpr.c:70:15: note: Null pointer dereference pcb-4.2.2/src/hid/lpr/lpr.c:71:15: warning: If memory allocation fails, then there is a possible null pointer dereference: lpr_options [nullPointerOutOfMemory] pcb-4.2.2/src/hid/lpr/lpr.c:69:27: note: Assuming allocation function fails pcb-4.2.2/src/hid/lpr/lpr.c:69:2: note: Assignment 'lpr_options=(HID_Attribute*)calloc(num_lpr_options,sizeof(HID_Attribute))', assigned value is 0 pcb-4.2.2/src/hid/lpr/lpr.c:71:15: note: Null pointer dereference pcb-4.2.2/src/hid/lpr/lpr.c:67:22: style: Variable 'ps_opts' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/hid/nelma/nelma.c:213:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_ATTRIBUTES is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/png/png.c:465:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_ATTRIBUTES is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/ps/eps.c:136:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_ATTRIBUTES is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/hid/ps/ps.c:462:47: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] pcb-4.2.2/src/intersect.c:244:7: warning: If memory allocation fails, then there is a possible null pointer dereference: rectLeft [nullPointerOutOfMemory] pcb-4.2.2/src/intersect.c:238:33: note: Assuming allocation function fails pcb-4.2.2/src/intersect.c:238:14: note: Assignment 'rectLeft=(struct BoxType**)calloc(boxlist->BoxN,sizeof(*rectLeft))', assigned value is 0 pcb-4.2.2/src/intersect.c:244:7: note: Null pointer dereference pcb-4.2.2/src/intersect.c:244:21: warning: If memory allocation fails, then there is a possible null pointer dereference: rectRight [nullPointerOutOfMemory] pcb-4.2.2/src/intersect.c:239:34: note: Assuming allocation function fails pcb-4.2.2/src/intersect.c:239:15: note: Assignment 'rectRight=(struct BoxType**)calloc(boxlist->BoxN,sizeof(*rectRight))', assigned value is 0 pcb-4.2.2/src/intersect.c:244:21: note: Null pointer dereference pcb-4.2.2/src/intersect.c:246:10: warning: If memory allocation fails, then there is a possible null pointer dereference: rectLeft [nullPointerOutOfMemory] pcb-4.2.2/src/intersect.c:238:33: note: Assuming allocation function fails pcb-4.2.2/src/intersect.c:238:14: note: Assignment 'rectLeft=(struct BoxType**)calloc(boxlist->BoxN,sizeof(*rectLeft))', assigned value is 0 pcb-4.2.2/src/intersect.c:246:10: note: Null pointer dereference pcb-4.2.2/src/intersect.c:247:10: warning: If memory allocation fails, then there is a possible null pointer dereference: rectRight [nullPointerOutOfMemory] pcb-4.2.2/src/intersect.c:239:34: note: Assuming allocation function fails pcb-4.2.2/src/intersect.c:239:15: note: Assignment 'rectRight=(struct BoxType**)calloc(boxlist->BoxN,sizeof(*rectRight))', assigned value is 0 pcb-4.2.2/src/intersect.c:247:10: note: Null pointer dereference pcb-4.2.2/src/intersect.c:250:11: warning: If memory allocation fails, then there is a possible null pointer dereference: rectLeft [nullPointerOutOfMemory] pcb-4.2.2/src/intersect.c:238:33: note: Assuming allocation function fails pcb-4.2.2/src/intersect.c:238:14: note: Assignment 'rectLeft=(struct BoxType**)calloc(boxlist->BoxN,sizeof(*rectLeft))', assigned value is 0 pcb-4.2.2/src/intersect.c:250:11: note: Null pointer dereference pcb-4.2.2/src/intersect.c:255:33: warning: If memory allocation fails, then there is a possible null pointer dereference: rectRight [nullPointerOutOfMemory] pcb-4.2.2/src/intersect.c:239:34: note: Assuming allocation function fails pcb-4.2.2/src/intersect.c:239:15: note: Assignment 'rectRight=(struct BoxType**)calloc(boxlist->BoxN,sizeof(*rectRight))', assigned value is 0 pcb-4.2.2/src/intersect.c:255:33: note: Null pointer dereference pcb-4.2.2/src/intersect.c:255:52: warning: If memory allocation fails, then there is a possible null pointer dereference: rectLeft [nullPointerOutOfMemory] pcb-4.2.2/src/intersect.c:238:33: note: Assuming allocation function fails pcb-4.2.2/src/intersect.c:238:14: note: Assignment 'rectLeft=(struct BoxType**)calloc(boxlist->BoxN,sizeof(*rectLeft))', assigned value is 0 pcb-4.2.2/src/intersect.c:255:52: note: Null pointer dereference pcb-4.2.2/src/intersect.c:313:17: style:inconclusive: Function 'nextpwrof2' argument 1 names different: declaration 'i' definition 'n'. [funcArgNamesDifferent] pcb-4.2.2/src/intersect.c:59:28: note: Function 'nextpwrof2' argument 1 names different: declaration 'i' definition 'n'. pcb-4.2.2/src/intersect.c:313:17: note: Function 'nextpwrof2' argument 1 names different: declaration 'i' definition 'n'. pcb-4.2.2/src/layerflags.c:84:23: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] pcb-4.2.2/src/layerflags.c:76:34: style:inconclusive: Function 'string_to_layertype' argument 1 names different: declaration 'typestring' definition 'flagstring'. [funcArgNamesDifferent] pcb-4.2.2/src/layerflags.h:34:47: note: Function 'string_to_layertype' argument 1 names different: declaration 'typestring' definition 'flagstring'. pcb-4.2.2/src/layerflags.c:76:34: note: Function 'string_to_layertype' argument 1 names different: declaration 'typestring' definition 'flagstring'. pcb-4.2.2/src/layerflags.c:120:64: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/line.c:434:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Number [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/main.c:1270:0: error: failed to expand 'SSET', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] pcb-4.2.2/src/main.c:1270:1: error: failed to expand 'SSET', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] pcb-4.2.2/src/mirror.c:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/mirror.c:71:20: style: Redundant assignment of 'line->Point1.X' to itself. [selfAssignment] pcb-4.2.2/src/mirror.c:73:20: style: Redundant assignment of 'line->Point2.X' to itself. [selfAssignment] pcb-4.2.2/src/mirror.c:80:12: style: Redundant assignment of 'pin->X' to itself. [selfAssignment] pcb-4.2.2/src/mirror.c:112:12: style: Redundant assignment of 'arc->X' to itself. [selfAssignment] pcb-4.2.2/src/mirror.c:120:13: style: Redundant assignment of 'text->X' to itself. [selfAssignment] pcb-4.2.2/src/mirror.c:125:18: style: Redundant assignment of 'Element->MarkX' to itself. [selfAssignment] pcb-4.2.2/src/mirror.c:102:18: style: Variable 'pad->Point1.X' is assigned an expression that holds the same value. [redundantAssignment] pcb-4.2.2/src/mirror.c:88:8: note: X1 is assigned 'pad->Point1.X' here. pcb-4.2.2/src/mirror.c:102:18: note: Variable 'pad->Point1.X' is assigned an expression that holds the same value. pcb-4.2.2/src/misc.c:2712:0: error: #error "Don't know how to create a directory on this system." [preprocessorErrorDirective] pcb-4.2.2/src/misc.c:2712:2: error: #error "Don't know how to create a directory on this system." [preprocessorErrorDirective] pcb-4.2.2/src/move.c:117:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/move.c:182:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ELEMENTNAMES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/move.c:249:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/move.c:294:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/move.c:318:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/move.c:885:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LAYER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/move.c:909:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/move.c:945:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LAYER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/move.c:589:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pcb-4.2.2/src/move.c:732:8: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/mtspace.c:134:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mtspace [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:133:26: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:133:13: note: Assignment 'mtspace=(struct mtspace_t*)calloc(1,sizeof(*mtspace))', assigned value is 0 pcb-4.2.2/src/mtspace.c:134:3: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:135:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mtspace [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:133:26: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:133:13: note: Assignment 'mtspace=(struct mtspace_t*)calloc(1,sizeof(*mtspace))', assigned value is 0 pcb-4.2.2/src/mtspace.c:135:3: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:136:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mtspace [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:133:26: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:133:13: note: Assignment 'mtspace=(struct mtspace_t*)calloc(1,sizeof(*mtspace))', assigned value is 0 pcb-4.2.2/src/mtspace.c:136:3: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:296:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:295:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:295:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:296:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:297:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:295:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:295:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:297:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:298:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:295:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:295:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:298:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:299:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:295:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:295:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:299:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:300:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:295:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:295:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:300:12: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:311:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:310:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:310:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:311:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:312:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:310:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:310:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:312:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:313:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:310:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:310:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:313:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:314:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:310:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:310:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:314:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:315:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:310:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:310:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:315:12: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:327:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:326:25: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:326:13: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:327:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:328:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:326:25: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:326:13: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:328:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:329:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:326:25: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:326:13: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:329:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:330:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:326:25: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:326:13: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:330:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:331:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:326:25: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:326:13: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:331:12: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:342:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:341:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:341:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:342:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:343:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:341:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:341:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:343:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:344:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:341:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:341:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:344:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:345:4: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:341:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:341:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:345:4: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:346:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newone [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:341:34: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:341:22: note: Assignment 'newone=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:346:12: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:493:7: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:493:7: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:494:7: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:494:7: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:496:8: warning: If memory allocation fails, then there is a possible null pointer dereference: cbox [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:495:26: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:495:14: note: Assignment 'cbox=(struct BoxType*)calloc(1,sizeof(struct BoxType))', assigned value is 0 pcb-4.2.2/src/mtspace.c:496:8: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:499:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:499:11: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:500:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:500:11: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:501:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:501:11: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:502:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:502:11: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:503:19: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:503:19: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:503:39: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:503:39: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:504:19: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:504:19: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:504:36: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:504:36: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:505:24: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:505:24: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:506:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:506:11: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:510:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:510:11: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:511:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:511:11: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:512:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:512:11: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:513:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:513:11: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:514:19: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:514:19: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:514:39: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:514:39: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:515:19: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:515:19: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:515:36: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:515:36: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:516:26: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:516:26: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:517:11: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:517:11: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:517:29: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:517:29: note: Null pointer dereference pcb-4.2.2/src/mtspace.c:576:19: style: Local variable 'temporary' shadows outer variable [shadowVariable] pcb-4.2.2/src/mtspace.c:530:22: note: Shadowed declaration pcb-4.2.2/src/mtspace.c:576:19: note: Shadow variable pcb-4.2.2/src/mtspace.c:167:17: style: Variable 'box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/mtspace.c:610:26: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/mymem.c:682:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ELEMENTNAMES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/mymem.c:726:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_FONTPOSITION [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/mymem.c:747:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/mymem.c:85:7: error: Common realloc mistake: 'ptr' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/netlist.c:154:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/netlist.c:107:27: style: Parameter 'nodename' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/netlist.c:261:21: style: Variable 'pin' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/netlist.c:282:11: style: Variable 'pin' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/object_list.c:167:16: style: Condition 'result<0' is always false [knownConditionTrueFalse] pcb-4.2.2/src/object_list.c:166:32: note: Calling function 'object_list_expand' returns 0 pcb-4.2.2/src/object_list.c:166:32: note: Assignment 'result=object_list_expand(list,1)', assigned value is 0 pcb-4.2.2/src/object_list.c:167:16: note: Condition 'result<0' is always false pcb-4.2.2/src/object_list.c:55:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:54:45: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:54:24: note: Assignment 'list=(struct object_list*)malloc(sizeof(struct object_list))', assigned value is 0 pcb-4.2.2/src/object_list.c:55:3: note: Null pointer dereference pcb-4.2.2/src/object_list.c:56:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:54:45: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:54:24: note: Assignment 'list=(struct object_list*)malloc(sizeof(struct object_list))', assigned value is 0 pcb-4.2.2/src/object_list.c:56:3: note: Null pointer dereference pcb-4.2.2/src/object_list.c:57:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:54:45: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:54:24: note: Assignment 'list=(struct object_list*)malloc(sizeof(struct object_list))', assigned value is 0 pcb-4.2.2/src/object_list.c:57:3: note: Null pointer dereference pcb-4.2.2/src/object_list.c:59:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:54:45: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:54:24: note: Assignment 'list=(struct object_list*)malloc(sizeof(struct object_list))', assigned value is 0 pcb-4.2.2/src/object_list.c:59:3: note: Null pointer dereference pcb-4.2.2/src/object_list.c:60:10: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:54:45: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:54:24: note: Assignment 'list=(struct object_list*)malloc(sizeof(struct object_list))', assigned value is 0 pcb-4.2.2/src/object_list.c:60:10: note: Null pointer dereference pcb-4.2.2/src/object_list.c:60:26: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:54:45: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:54:24: note: Assignment 'list=(struct object_list*)malloc(sizeof(struct object_list))', assigned value is 0 pcb-4.2.2/src/object_list.c:60:26: note: Null pointer dereference pcb-4.2.2/src/object_list.c:61:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:54:45: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:54:24: note: Assignment 'list=(struct object_list*)malloc(sizeof(struct object_list))', assigned value is 0 pcb-4.2.2/src/object_list.c:61:3: note: Null pointer dereference pcb-4.2.2/src/object_list.c:62:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:54:45: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:54:24: note: Assignment 'list=(struct object_list*)malloc(sizeof(struct object_list))', assigned value is 0 pcb-4.2.2/src/object_list.c:62:3: note: Null pointer dereference pcb-4.2.2/src/object_list.c:182:12: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:181:17: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:181:17: note: Assignment 'tmp=malloc(list->item_size*nItemsToMove)', assigned value is 0 pcb-4.2.2/src/object_list.c:182:12: note: Null pointer dereference pcb-4.2.2/src/object_list.c:183:34: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:181:17: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:181:17: note: Assignment 'tmp=malloc(list->item_size*nItemsToMove)', assigned value is 0 pcb-4.2.2/src/object_list.c:183:34: note: Null pointer dereference pcb-4.2.2/src/object_list.c:231:10: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:230:16: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:230:16: note: Assignment 'temp=malloc(list->item_size*nItemsToMove)', assigned value is 0 pcb-4.2.2/src/object_list.c:231:10: note: Null pointer dereference pcb-4.2.2/src/object_list.c:232:16: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:230:16: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:230:16: note: Assignment 'temp=malloc(list->item_size*nItemsToMove)', assigned value is 0 pcb-4.2.2/src/object_list.c:232:16: note: Null pointer dereference pcb-4.2.2/src/object_list.c:147:37: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/object_list.c:265:45: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/object_list.c:183:16: portability: 'nptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pcb-4.2.2/src/object_list.c:231:20: portability: 'nptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pcb-4.2.2/src/object_list.c:268:21: portability: 'list->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] pcb-4.2.2/src/object_list.c:102:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] parse_l.c:880:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] parse_l.c:1492:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] parse_l.c:1832:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] parse_l.c:2070:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse_l.l:224:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse_l.l:303:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Font [valueFlowBailoutIncompleteVar] parse_l.l:316:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Font [valueFlowBailoutIncompleteVar] parse_l.l:332:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FilePath [valueFlowBailoutIncompleteVar] parse_l.l:347:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FontPath [valueFlowBailoutIncompleteVar] parse_l.l:373:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable number [valueFlowBailoutIncompleteVar] parse_l.l:350:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] parse_l.l:351:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] parse_l.c:1458:27: warning: Possible null pointer dereference: b [nullPointer] parse_l.c:1455:24: note: Assignment 'b=(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL', assigned value is 0 parse_l.c:1458:27: note: Null pointer dereference parse_l.c:1460:9: warning: Possible null pointer dereference: b [nullPointer] parse_l.c:1455:24: note: Assignment 'b=(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL', assigned value is 0 parse_l.c:1460:9: note: Null pointer dereference parse_l.c:1836:2: warning: Possible null pointer dereference: b [nullPointer] parse_l.c:1725:17: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 parse_l.c:1836:2: note: Null pointer dereference parse_l.c:1837:2: warning: Possible null pointer dereference: b [nullPointer] parse_l.c:1725:17: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 parse_l.c:1837:2: note: Null pointer dereference parse_l.c:1492:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] parse_l.c:1492:3: note: c is initialized parse_l.c:1492:3: note: c is overwritten parse_l.l:101:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:106:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:111:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:116:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:121:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:126:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:131:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:136:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:141:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:146:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:151:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:156:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:161:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:166:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:171:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:176:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:181:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:186:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:191:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:196:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:201:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:206:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:211:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:216:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:221:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:226:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:231:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:236:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:241:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:246:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:251:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:256:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:261:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:266:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:271:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:276:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:281:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:286:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:291:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:296:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:301:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:309:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:314:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:319:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:328:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:364:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.l:394:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parse_l.c:1568:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] parse_l.c:361:54: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. parse_l.c:1568:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. parse_l.c:1591:49: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] parse_l.c:740:38: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. parse_l.c:1591:49: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. parse_l.c:2021:48: style:inconclusive: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] parse_l.c:314:47: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. parse_l.c:2021:48: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. parse_l.c:2034:48: style:inconclusive: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] parse_l.c:315:46: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. parse_l.c:2034:48: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. parse_l.c:2034:62: style:inconclusive: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] parse_l.c:315:56: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. parse_l.c:2034:62: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. parse_l.c:2166:24: style:inconclusive: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. [funcArgNamesDifferent] parse_l.c:706:23: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. parse_l.c:2166:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. parse_l.c:1405:17: style: Variable 'source' can be declared as pointer to const [constVariablePointer] parse_l.c:1606:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] parse_l.c:2034:48: style: Parameter 'yybytes' can be declared as pointer to const [constParameterPointer] parse_l.c:2068:43: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] parse_l.l:333:13: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] parse_y.y:189:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ALL_LAYER [valueFlowBailoutIncompleteVar] parse_y.y:2248:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCB_FILE_VERSION [valueFlowBailoutIncompleteVar] parse_y.c:1774:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] parse_y.y:282:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] parse_y.y:1930:46: style: Same expression on both sides of '-'. [duplicateExpression] parse_y.y:1937:54: style: Same expression on both sides of '-'. [duplicateExpression] parse_y.y:1937:96: style: Same expression on both sides of '-'. [duplicateExpression] parse_y.y:2206:35: style: Same expression on both sides of '-'. [duplicateExpression] parse_y.y:2220:35: style: Same expression on both sides of '-'. [duplicateExpression] parse_y.y:2227:35: style: Same expression on both sides of '-'. [duplicateExpression] parse_y.y:2234:47: style: Same expression on both sides of '-'. [duplicateExpression] parse_y.y:2234:88: style: Same expression on both sides of '-'. [duplicateExpression] parse_y.y:144:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pcb-4.2.2/src/pcb-printf.c:338:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/pcb-printf.c:175:42: style:inconclusive: Function 'get_unit_struct' argument 1 names different: declaration 'suffix' definition 'const_suffix'. [funcArgNamesDifferent] pcb-4.2.2/src/pcb-printf.h:162:42: note: Function 'get_unit_struct' argument 1 names different: declaration 'suffix' definition 'const_suffix'. pcb-4.2.2/src/pcb-printf.c:175:42: note: Function 'get_unit_struct' argument 1 names different: declaration 'suffix' definition 'const_suffix'. pcb-4.2.2/src/pcb-printf.c:723:23: style:inconclusive: Function 'pcb_fprintf' argument 1 names different: declaration 'f' definition 'fh'. [funcArgNamesDifferent] pcb-4.2.2/src/pcb-printf.h:171:23: note: Function 'pcb_fprintf' argument 1 names different: declaration 'f' definition 'fh'. pcb-4.2.2/src/pcb-printf.c:723:23: note: Function 'pcb_fprintf' argument 1 names different: declaration 'f' definition 'fh'. pcb-4.2.2/src/pcb-printf.c:432:24: error: Uninitialized variable: filemode_buff [uninitvar] pcb-4.2.2/src/pcb-printf.c:577:36: error: Uninitialized variable: buffer [uninitvar] pcb-4.2.2/src/polygon.c:783:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon.c:1078:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Number [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon.c:1115:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Number [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon.c:1149:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon.c:1340:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COORD [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon.c:1477:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable polygon_tree [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon.c:1661:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Number [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon.c:1974:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon.c:1991:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon.c:2001:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon.c:2001:3: portability: %d in format string (no. 2) requires 'int' but the argument type is 'Cardinal {aka unsigned int}'. [invalidPrintfArgType_sint] pcb-4.2.2/src/polygon.c:2006:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'Cardinal {aka unsigned int}'. [invalidPrintfArgType_sint] pcb-4.2.2/src/polygon.c:2008:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'Cardinal {aka unsigned int}'. [invalidPrintfArgType_sint] pcb-4.2.2/src/polygon.c:2008:9: portability: %d in format string (no. 2) requires 'int' but the argument type is 'Cardinal {aka unsigned int}'. [invalidPrintfArgType_sint] pcb-4.2.2/src/polygon.c:585:20: style:inconclusive: Function 'ArcPoly' argument 1 names different: declaration 'l' definition 'a'. [funcArgNamesDifferent] pcb-4.2.2/src/polygon.h:86:29: note: Function 'ArcPoly' argument 1 names different: declaration 'l' definition 'a'. pcb-4.2.2/src/polygon.c:585:20: note: Function 'ArcPoly' argument 1 names different: declaration 'l' definition 'a'. pcb-4.2.2/src/polygon.c:615:22: style:inconclusive: Function 'LinePoly' argument 1 names different: declaration 'l' definition 'L'. [funcArgNamesDifferent] pcb-4.2.2/src/polygon.h:85:31: note: Function 'LinePoly' argument 1 names different: declaration 'l' definition 'L'. pcb-4.2.2/src/polygon.c:615:22: note: Function 'LinePoly' argument 1 names different: declaration 'l' definition 'L'. pcb-4.2.2/src/polygon.c:803:20: style:inconclusive: Function 'PinPoly' argument 1 names different: declaration 'l' definition 'pin'. [funcArgNamesDifferent] pcb-4.2.2/src/polygon.h:87:29: note: Function 'PinPoly' argument 1 names different: declaration 'l' definition 'pin'. pcb-4.2.2/src/polygon.c:803:20: note: Function 'PinPoly' argument 1 names different: declaration 'l' definition 'pin'. pcb-4.2.2/src/polygon.c:825:37: style:inconclusive: Function 'BoxPolyBloated' argument 2 names different: declaration 'radius' definition 'bloat'. [funcArgNamesDifferent] pcb-4.2.2/src/polygon.h:88:48: note: Function 'BoxPolyBloated' argument 2 names different: declaration 'radius' definition 'bloat'. pcb-4.2.2/src/polygon.c:825:37: note: Function 'BoxPolyBloated' argument 2 names different: declaration 'radius' definition 'bloat'. pcb-4.2.2/src/polygon.c:1267:21: style:inconclusive: Function 'InitClip' argument 1 names different: declaration 'd' definition 'Data'. [funcArgNamesDifferent] pcb-4.2.2/src/polygon.h:90:24: note: Function 'InitClip' argument 1 names different: declaration 'd' definition 'Data'. pcb-4.2.2/src/polygon.c:1267:21: note: Function 'InitClip' argument 1 names different: declaration 'd' definition 'Data'. pcb-4.2.2/src/polygon.c:1267:38: style:inconclusive: Function 'InitClip' argument 2 names different: declaration 'l' definition 'layer'. [funcArgNamesDifferent] pcb-4.2.2/src/polygon.h:90:38: note: Function 'InitClip' argument 2 names different: declaration 'l' definition 'layer'. pcb-4.2.2/src/polygon.c:1267:38: note: Function 'InitClip' argument 2 names different: declaration 'l' definition 'layer'. pcb-4.2.2/src/polygon.c:1500:28: style:inconclusive: Function 'PolygonHoles' argument 1 names different: declaration 'ptr' definition 'polygon'. [funcArgNamesDifferent] pcb-4.2.2/src/polygon.h:72:32: note: Function 'PolygonHoles' argument 1 names different: declaration 'ptr' definition 'polygon'. pcb-4.2.2/src/polygon.c:1500:28: note: Function 'PolygonHoles' argument 1 names different: declaration 'ptr' definition 'polygon'. pcb-4.2.2/src/polygon.c:843:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/polygon.c:962:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/polygon.c:145:37: style: Parameter 'polygon' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon.c:615:22: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon.c:677:26: style: Parameter 'pad' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon.c:825:26: style: Parameter 'box' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon.c:1074:18: style: Parameter 'Data' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon.c:1341:14: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/polygon.c:1341:21: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/polygon.c:1504:13: style: Variable 'pa' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/polygon.c:1584:12: style: Variable 'via' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/polygon.c:1869:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon.c:1906:17: style: Variable 'start' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/polygon1.c:2671:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COORD_MAX [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon1.c:3172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COORD_MAX [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon1.c:3582:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/polygon1.c:1048:13: style: Condition 'intersect(e,a,b,add)' is always false [knownConditionTrueFalse] pcb-4.2.2/src/polygon1.c:1048:13: note: Calling function 'intersect' returns 0 pcb-4.2.2/src/polygon1.c:1048:13: note: Condition 'intersect(e,a,b,add)' is always false pcb-4.2.2/src/polygon1.c:444:11: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] pcb-4.2.2/src/polygon1.c:448:11: note: Assuming that condition 'l' is not redundant pcb-4.2.2/src/polygon1.c:444:11: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:446:11: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] pcb-4.2.2/src/polygon1.c:448:11: note: Assuming that condition 'l' is not redundant pcb-4.2.2/src/polygon1.c:446:11: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:655:3: warning: If memory allocation fails, then there is a possible null pointer dereference: task [nullPointerOutOfMemory] pcb-4.2.2/src/polygon1.c:654:55: note: Assuming allocation function fails pcb-4.2.2/src/polygon1.c:654:28: note: Assignment 'task=(struct insert_node_task*)malloc(sizeof(*task))', assigned value is 0 pcb-4.2.2/src/polygon1.c:655:3: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:656:3: warning: If memory allocation fails, then there is a possible null pointer dereference: task [nullPointerOutOfMemory] pcb-4.2.2/src/polygon1.c:654:55: note: Assuming allocation function fails pcb-4.2.2/src/polygon1.c:654:28: note: Assignment 'task=(struct insert_node_task*)malloc(sizeof(*task))', assigned value is 0 pcb-4.2.2/src/polygon1.c:656:3: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:657:3: warning: If memory allocation fails, then there is a possible null pointer dereference: task [nullPointerOutOfMemory] pcb-4.2.2/src/polygon1.c:654:55: note: Assuming allocation function fails pcb-4.2.2/src/polygon1.c:654:28: note: Assignment 'task=(struct insert_node_task*)malloc(sizeof(*task))', assigned value is 0 pcb-4.2.2/src/polygon1.c:657:3: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:769:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] pcb-4.2.2/src/polygon1.c:768:25: note: Assuming allocation function fails pcb-4.2.2/src/polygon1.c:768:11: note: Assignment 's=(struct seg*)malloc(sizeof(struct seg))', assigned value is 0 pcb-4.2.2/src/polygon1.c:769:7: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:798:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] pcb-4.2.2/src/polygon1.c:768:25: note: Assuming allocation function fails pcb-4.2.2/src/polygon1.c:768:11: note: Assignment 's=(struct seg*)malloc(sizeof(struct seg))', assigned value is 0 pcb-4.2.2/src/polygon1.c:798:7: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:799:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] pcb-4.2.2/src/polygon1.c:768:25: note: Assuming allocation function fails pcb-4.2.2/src/polygon1.c:768:11: note: Assignment 's=(struct seg*)malloc(sizeof(struct seg))', assigned value is 0 pcb-4.2.2/src/polygon1.c:799:7: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:1448:7: warning: If memory allocation fails, then there is a possible null pointer dereference: all_pa_info [nullPointerOutOfMemory] pcb-4.2.2/src/polygon1.c:1442:49: note: Assuming allocation function fails pcb-4.2.2/src/polygon1.c:1442:17: note: Assignment 'all_pa_info=(struct polyarea_info*)malloc(sizeof(struct polyarea_info)*num_polyareas)', assigned value is 0 pcb-4.2.2/src/polygon1.c:1448:7: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:1449:7: warning: If memory allocation fails, then there is a possible null pointer dereference: all_pa_info [nullPointerOutOfMemory] pcb-4.2.2/src/polygon1.c:1442:49: note: Assuming allocation function fails pcb-4.2.2/src/polygon1.c:1442:17: note: Assignment 'all_pa_info=(struct polyarea_info*)malloc(sizeof(struct polyarea_info)*num_polyareas)', assigned value is 0 pcb-4.2.2/src/polygon1.c:1449:7: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:1450:7: warning: If memory allocation fails, then there is a possible null pointer dereference: all_pa_info [nullPointerOutOfMemory] pcb-4.2.2/src/polygon1.c:1442:49: note: Assuming allocation function fails pcb-4.2.2/src/polygon1.c:1442:17: note: Assignment 'all_pa_info=(struct polyarea_info*)malloc(sizeof(struct polyarea_info)*num_polyareas)', assigned value is 0 pcb-4.2.2/src/polygon1.c:1450:7: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:1451:7: warning: If memory allocation fails, then there is a possible null pointer dereference: all_pa_info [nullPointerOutOfMemory] pcb-4.2.2/src/polygon1.c:1442:49: note: Assuming allocation function fails pcb-4.2.2/src/polygon1.c:1442:17: note: Assignment 'all_pa_info=(struct polyarea_info*)malloc(sizeof(struct polyarea_info)*num_polyareas)', assigned value is 0 pcb-4.2.2/src/polygon1.c:1451:7: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:1452:7: warning: If memory allocation fails, then there is a possible null pointer dereference: all_pa_info [nullPointerOutOfMemory] pcb-4.2.2/src/polygon1.c:1442:49: note: Assuming allocation function fails pcb-4.2.2/src/polygon1.c:1442:17: note: Assignment 'all_pa_info=(struct polyarea_info*)malloc(sizeof(struct polyarea_info)*num_polyareas)', assigned value is 0 pcb-4.2.2/src/polygon1.c:1452:7: note: Null pointer dereference pcb-4.2.2/src/polygon1.c:1257:13: style: Redundant initialization for 'curc'. The initialized value is overwritten before it is read. [redundantInitialization] pcb-4.2.2/src/polygon1.c:1255:15: note: curc is initialized pcb-4.2.2/src/polygon1.c:1257:13: note: curc is overwritten pcb-4.2.2/src/polygon1.c:2391:22: style:inconclusive: Function 'Touching' argument 1 names different: declaration 'p1' definition 'a'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:172:26: note: Function 'Touching' argument 1 names different: declaration 'p1' definition 'a'. pcb-4.2.2/src/polygon1.c:2391:22: note: Function 'Touching' argument 1 names different: declaration 'p1' definition 'a'. pcb-4.2.2/src/polygon1.c:2391:36: style:inconclusive: Function 'Touching' argument 2 names different: declaration 'p2' definition 'b'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:172:40: note: Function 'Touching' argument 2 names different: declaration 'p2' definition 'b'. pcb-4.2.2/src/polygon1.c:2391:36: note: Function 'Touching' argument 2 names different: declaration 'p2' definition 'b'. pcb-4.2.2/src/polygon1.c:2420:32: style:inconclusive: Function 'poly_Boolean' argument 1 names different: declaration 'a' definition 'a_org'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:203:35: note: Function 'poly_Boolean' argument 1 names different: declaration 'a' definition 'a_org'. pcb-4.2.2/src/polygon1.c:2420:32: note: Function 'poly_Boolean' argument 1 names different: declaration 'a' definition 'a_org'. pcb-4.2.2/src/polygon1.c:2420:56: style:inconclusive: Function 'poly_Boolean' argument 2 names different: declaration 'b' definition 'b_org'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:203:55: note: Function 'poly_Boolean' argument 2 names different: declaration 'b' definition 'b_org'. pcb-4.2.2/src/polygon1.c:2420:56: note: Function 'poly_Boolean' argument 2 names different: declaration 'b' definition 'b_org'. pcb-4.2.2/src/polygon1.c:2435:31: style:inconclusive: Function 'poly_Boolean_free' argument 1 names different: declaration 'a' definition 'ai'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:204:34: note: Function 'poly_Boolean_free' argument 1 names different: declaration 'a' definition 'ai'. pcb-4.2.2/src/polygon1.c:2435:31: note: Function 'poly_Boolean_free' argument 1 names different: declaration 'a' definition 'ai'. pcb-4.2.2/src/polygon1.c:2435:46: style:inconclusive: Function 'poly_Boolean_free' argument 2 names different: declaration 'b' definition 'bi'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:204:48: note: Function 'poly_Boolean_free' argument 2 names different: declaration 'b' definition 'bi'. pcb-4.2.2/src/polygon1.c:2435:46: note: Function 'poly_Boolean_free' argument 2 names different: declaration 'b' definition 'bi'. pcb-4.2.2/src/polygon1.c:2557:35: style:inconclusive: Function 'poly_AndSubtract_free' argument 1 names different: declaration 'a' definition 'ai'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:205:38: note: Function 'poly_AndSubtract_free' argument 1 names different: declaration 'a' definition 'ai'. pcb-4.2.2/src/polygon1.c:2557:35: note: Function 'poly_AndSubtract_free' argument 1 names different: declaration 'a' definition 'ai'. pcb-4.2.2/src/polygon1.c:2557:50: style:inconclusive: Function 'poly_AndSubtract_free' argument 2 names different: declaration 'b' definition 'bi'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:205:52: note: Function 'poly_AndSubtract_free' argument 2 names different: declaration 'b' definition 'bi'. pcb-4.2.2/src/polygon1.c:2557:50: note: Function 'poly_AndSubtract_free' argument 2 names different: declaration 'b' definition 'bi'. pcb-4.2.2/src/polygon1.c:2761:26: style:inconclusive: Function 'poly_PreContour' argument 1 names different: declaration 'c' definition 'C'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:139:30: note: Function 'poly_PreContour' argument 1 names different: declaration 'c' definition 'C'. pcb-4.2.2/src/polygon1.c:2761:26: note: Function 'poly_PreContour' argument 1 names different: declaration 'c' definition 'C'. pcb-4.2.2/src/polygon1.c:3157:39: style:inconclusive: Function 'poly_InsideContour' argument 2 names different: declaration 'v' definition 'p'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:180:41: note: Function 'poly_InsideContour' argument 2 names different: declaration 'v' definition 'p'. pcb-4.2.2/src/polygon1.c:3157:39: note: Function 'poly_InsideContour' argument 2 names different: declaration 'v' definition 'p'. pcb-4.2.2/src/polygon1.c:3189:30: style:inconclusive: Function 'poly_CheckInside' argument 1 names different: declaration 'c' definition 'p'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:171:35: note: Function 'poly_CheckInside' argument 1 names different: declaration 'c' definition 'p'. pcb-4.2.2/src/polygon1.c:3189:30: note: Function 'poly_CheckInside' argument 1 names different: declaration 'c' definition 'p'. pcb-4.2.2/src/polygon1.c:3430:29: style:inconclusive: Function 'poly_FreeContours' argument 1 names different: declaration 'pl' definition 'pline'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:186:32: note: Function 'poly_FreeContours' argument 1 names different: declaration 'pl' definition 'pline'. pcb-4.2.2/src/polygon1.c:3430:29: note: Function 'poly_FreeContours' argument 1 names different: declaration 'pl' definition 'pline'. pcb-4.2.2/src/polygon1.c:3642:18: warning: Function 'vect_sub' argument order different: declaration 'res, v2, v3' definition 'res, v1, v2' [funcArgOrderDifferent] pcb-4.2.2/src/polygon1.c:97:23: note: Function 'vect_sub' argument order different: declaration 'res, v2, v3' definition 'res, v1, v2' pcb-4.2.2/src/polygon1.c:3642:18: note: Function 'vect_sub' argument order different: declaration 'res, v2, v3' definition 'res, v1, v2' pcb-4.2.2/src/polygon1.c:3647:18: style:inconclusive: Function 'vect_min' argument 1 names different: declaration 'res' definition 'v1'. [funcArgNamesDifferent] pcb-4.2.2/src/polygon1.c:99:23: note: Function 'vect_min' argument 1 names different: declaration 'res' definition 'v1'. pcb-4.2.2/src/polygon1.c:3647:18: note: Function 'vect_min' argument 1 names different: declaration 'res' definition 'v1'. pcb-4.2.2/src/polygon1.c:3654:18: style:inconclusive: Function 'vect_max' argument 1 names different: declaration 'res' definition 'v1'. [funcArgNamesDifferent] pcb-4.2.2/src/polygon1.c:100:23: note: Function 'vect_max' argument 1 names different: declaration 'res' definition 'v1'. pcb-4.2.2/src/polygon1.c:3654:18: note: Function 'vect_max' argument 1 names different: declaration 'res' definition 'v1'. pcb-4.2.2/src/polygon1.c:3661:19: style:inconclusive: Function 'vect_len2' argument 1 names different: declaration 'v1' definition 'v'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:198:26: note: Function 'vect_len2' argument 1 names different: declaration 'v1' definition 'v'. pcb-4.2.2/src/polygon1.c:3661:19: note: Function 'vect_len2' argument 1 names different: declaration 'v1' definition 'v'. pcb-4.2.2/src/polygon1.c:3713:22: style:inconclusive: Function 'vect_inters2' argument 1 names different: declaration 'A' definition 'p1'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:200:26: note: Function 'vect_inters2' argument 1 names different: declaration 'A' definition 'p1'. pcb-4.2.2/src/polygon1.c:3713:22: note: Function 'vect_inters2' argument 1 names different: declaration 'A' definition 'p1'. pcb-4.2.2/src/polygon1.c:3713:33: style:inconclusive: Function 'vect_inters2' argument 2 names different: declaration 'B' definition 'p2'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:200:36: note: Function 'vect_inters2' argument 2 names different: declaration 'B' definition 'p2'. pcb-4.2.2/src/polygon1.c:3713:33: note: Function 'vect_inters2' argument 2 names different: declaration 'B' definition 'p2'. pcb-4.2.2/src/polygon1.c:3713:44: style:inconclusive: Function 'vect_inters2' argument 3 names different: declaration 'C' definition 'q1'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:200:46: note: Function 'vect_inters2' argument 3 names different: declaration 'C' definition 'q1'. pcb-4.2.2/src/polygon1.c:3713:44: note: Function 'vect_inters2' argument 3 names different: declaration 'C' definition 'q1'. pcb-4.2.2/src/polygon1.c:3713:55: style:inconclusive: Function 'vect_inters2' argument 4 names different: declaration 'D' definition 'q2'. [funcArgNamesDifferent] pcb-4.2.2/src/polyarea.h:200:56: note: Function 'vect_inters2' argument 4 names different: declaration 'D' definition 'q2'. pcb-4.2.2/src/polygon1.c:3713:55: note: Function 'vect_inters2' argument 4 names different: declaration 'D' definition 'q2'. pcb-4.2.2/src/polygon1.c:2199:15: style: Local variable 'prev' shadows outer variable [shadowVariable] pcb-4.2.2/src/polygon1.c:2112:24: note: Shadowed declaration pcb-4.2.2/src/polygon1.c:2199:15: note: Shadow variable pcb-4.2.2/src/polygon1.c:623:16: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/polygon1.c:1071:25: style: Parameter 'c1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon1.c:1071:37: style: Parameter 'c2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon1.c:1201:10: style: Variable 'first_labelled' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/polygon1.c:1383:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/polygon1.c:1609:20: style: Parameter 'cur' can be declared as pointer to const. However it seems that 'XorS_Rule' is a callback function, if 'cur' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/polygon1.c:1854:37: note: You might need to cast the function pointer here pcb-4.2.2/src/polygon1.c:1609:20: note: Parameter 'cur' can be declared as pointer to const pcb-4.2.2/src/polygon1.c:1625:45: style: Parameter 'cdir' can be declared as pointer to const. However it seems that 'IsectJ_Rule' is a callback function, if 'cdir' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/polygon1.c:1851:50: note: You might need to cast the function pointer here pcb-4.2.2/src/polygon1.c:1625:45: note: Parameter 'cdir' can be declared as pointer to const pcb-4.2.2/src/polygon1.c:1632:45: style: Parameter 'cdir' can be declared as pointer to const. However it seems that 'UniteJ_Rule' is a callback function, if 'cdir' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/polygon1.c:1848:50: note: You might need to cast the function pointer here pcb-4.2.2/src/polygon1.c:1632:45: note: Parameter 'cdir' can be declared as pointer to const pcb-4.2.2/src/polygon1.c:1639:28: style: Parameter 'v' can be declared as pointer to const. However it seems that 'XorJ_Rule' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/polygon1.c:1854:48: note: You might need to cast the function pointer here pcb-4.2.2/src/polygon1.c:1639:28: note: Parameter 'v' can be declared as pointer to const pcb-4.2.2/src/polygon1.c:1655:28: style: Parameter 'v' can be declared as pointer to const. However it seems that 'SubJ_Rule' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/polygon1.c:1857:48: note: You might need to cast the function pointer here pcb-4.2.2/src/polygon1.c:1655:28: note: Parameter 'v' can be declared as pointer to const pcb-4.2.2/src/polygon1.c:1689:16: style: Variable 'start' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/polygon1.c:1963:30: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon1.c:1963:41: style: Parameter 'cur' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon1.c:1970:26: style: Parameter 'cur' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon1.c:2141:16: style: Variable 'b_box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/polygon1.c:2620:26: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon1.c:2620:36: style: Parameter 'p' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:2628:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon1.c:2628:37: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/polygon1.c:3237:13: style: Parameter 'A' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3237:23: style: Parameter 'B' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3249:27: style: Parameter 'A' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3249:37: style: Parameter 'B' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3249:47: style: Parameter 'C' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3249:57: style: Parameter 'P' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3286:37: style: Parameter 'A' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3286:47: style: Parameter 'B' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3286:57: style: Parameter 'C' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3286:67: style: Parameter 'D' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3635:20: style: Parameter 'v1' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3635:31: style: Parameter 'v2' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3642:30: style: Parameter 'v1' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3642:41: style: Parameter 'v2' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3661:19: style: Parameter 'v' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3667:20: style: Parameter 'v1' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3667:31: style: Parameter 'v2' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3679:19: style: Parameter 'v1' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3679:30: style: Parameter 'v2' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3685:21: style: Parameter 'v1' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:3685:32: style: Parameter 'v2' can be declared as const array [constParameter] pcb-4.2.2/src/polygon1.c:1544:29: error: Uninitialized struct member: info.result [uninitStructMember] pcb-4.2.2/src/polygon1.c:2224:29: error: Uninitialized struct member: info.result [uninitStructMember] pcb-4.2.2/src/print.c:357:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/print.c:317:46: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] pcb-4.2.2/src/print.c:214:18: style: Variable 'drill' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/print.c:325:18: style: Variable 'l' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/puller.c:417:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line_tree [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:823:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line_tree [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:1083:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Arc [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:1574:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:1716:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:1732:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:1755:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:1768:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:1785:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:1826:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:1932:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:1970:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:2196:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:2529:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:2595:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/puller.c:526:15: style: Variable 'arc_angle' is reassigned a value before the old one has been used. [redundantAssignment] pcb-4.2.2/src/puller.c:507:15: note: arc_angle is assigned pcb-4.2.2/src/puller.c:526:15: note: arc_angle is overwritten pcb-4.2.2/src/puller.c:526:15: style: Variable 'arc_angle' is reassigned a value before the old one has been used. [redundantAssignment] pcb-4.2.2/src/puller.c:509:15: note: arc_angle is assigned pcb-4.2.2/src/puller.c:526:15: note: arc_angle is overwritten pcb-4.2.2/src/puller.c:246:10: style: Local variable 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed declaration pcb-4.2.2/src/puller.c:246:10: note: Shadow variable pcb-4.2.2/src/puller.c:246:13: style: Local variable 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed declaration pcb-4.2.2/src/puller.c:246:13: note: Shadow variable pcb-4.2.2/src/puller.c:272:10: style: Local variable 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed declaration pcb-4.2.2/src/puller.c:272:10: note: Shadow variable pcb-4.2.2/src/puller.c:272:13: style: Local variable 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed declaration pcb-4.2.2/src/puller.c:272:13: note: Shadow variable pcb-4.2.2/src/puller.c:1352:9: style: Local variable 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed declaration pcb-4.2.2/src/puller.c:1352:9: note: Shadow variable pcb-4.2.2/src/puller.c:1352:12: style: Local variable 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed declaration pcb-4.2.2/src/puller.c:1352:12: note: Shadow variable pcb-4.2.2/src/puller.c:2029:9: style: Local variable 'ex' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:95:14: note: Shadowed declaration pcb-4.2.2/src/puller.c:2029:9: note: Shadow variable pcb-4.2.2/src/puller.c:2029:13: style: Local variable 'ey' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:95:18: note: Shadowed declaration pcb-4.2.2/src/puller.c:2029:13: note: Shadow variable pcb-4.2.2/src/puller.c:106:27: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/puller.c:330:41: style: Parameter 'cl' can be declared as pointer to const. However it seems that 'line_callback' is a callback function, if 'cl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/puller.c:417:46: note: You might need to cast the function pointer here pcb-4.2.2/src/puller.c:330:41: note: Parameter 'cl' can be declared as pointer to const pcb-4.2.2/src/puller.c:670:20: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/puller.c:712:25: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/puller.c:2559:30: style: Parameter 'line' can be declared as pointer to const. However it seems that 'mark_ends_pending' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/puller.c:2621:40: note: You might need to cast the function pointer here pcb-4.2.2/src/puller.c:2559:30: note: Parameter 'line' can be declared as pointer to const pcb-4.2.2/src/puller.c:2561:8: style: Variable 'select_flags' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/puller.c:895:8: style: Variable 'hits' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/puller.c:896:8: style: Variable 'hits' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/puller.c:1045:8: style: Variable 'hits' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/puller.c:1046:8: style: Variable 'hits' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/rats.c:137:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rats.c:247:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rats.c:377:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rats.c:480:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rats.c:939:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TextString [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rats.c:1042:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TextString [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rats.c:100:24: style: Parameter 'InString' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/rats.c:129:35: style: Parameter 'PinNum' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/rats.c:351:3: style: Variable 'connection' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/rats.c:778:5: style: Variable 'connection' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/rats.c:871:5: style: Variable 'connection' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/rats.c:896:17: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/rats.c:901:3: style: Variable 'menu' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/rats.c:1026:33: style: Parameter 'ptr1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/rats.c:1029:9: style: Variable 'num' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/relocate.c:71:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/remove.c:260:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/remove.c:616:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/remove.c:647:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/remove.c:494:28: style: Condition 'contour==0' is always false [knownConditionTrueFalse] pcb-4.2.2/src/remove.c:481:15: note: Assuming that condition 'contour==0' is not redundant pcb-4.2.2/src/remove.c:494:28: note: Condition 'contour==0' is always false pcb-4.2.2/src/renumber.c:79:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/renumber.c:150:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Data [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/renumber.c:100:13: warning: If memory allocation fails, then there is a possible null pointer dereference: new_ref [nullPointerOutOfMemory] pcb-4.2.2/src/renumber.c:99:24: note: Assuming allocation function fails pcb-4.2.2/src/renumber.c:99:15: note: Assignment 'new_ref=(char*)calloc(1,refdes_split-old_ref+strlen(num_buf)+1)', assigned value is 0 pcb-4.2.2/src/renumber.c:100:13: note: Null pointer dereference pcb-4.2.2/src/renumber.c:170:13: warning: If memory allocation fails, then there is a possible null pointer dereference: new_ref [nullPointerOutOfMemory] pcb-4.2.2/src/renumber.c:169:24: note: Assuming allocation function fails pcb-4.2.2/src/renumber.c:169:15: note: Assignment 'new_ref=(char*)calloc(1,refdes_split-old_ref+strlen(num_buf)+1)', assigned value is 0 pcb-4.2.2/src/renumber.c:170:13: note: Null pointer dereference pcb-4.2.2/src/renumber.c:101:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/renumber.c:99:24: note: Assuming allocation function fails pcb-4.2.2/src/renumber.c:99:15: note: Assignment 'new_ref=(char*)calloc(1,refdes_split-old_ref+strlen(num_buf)+1)', assigned value is 0 pcb-4.2.2/src/renumber.c:101:21: note: Null pointer addition pcb-4.2.2/src/renumber.c:171:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/renumber.c:169:24: note: Assuming allocation function fails pcb-4.2.2/src/renumber.c:169:15: note: Assignment 'new_ref=(char*)calloc(1,refdes_split-old_ref+strlen(num_buf)+1)', assigned value is 0 pcb-4.2.2/src/renumber.c:171:21: note: Null pointer addition pcb-4.2.2/src/renumber.c:81:11: style: Variable 'refdes_split' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/renumber.c:152:11: style: Variable 'refdes_split' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/report.c:232:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/report.c:550:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/report.c:601:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/report.c:663:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/report.c:748:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/report.c:907:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/report.c:952:11: style: Condition 'net_found' is always true [knownConditionTrueFalse] pcb-4.2.2/src/report.c:102:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'Cardinal {aka unsigned int}'. [invalidPrintfArgType_sint] pcb-4.2.2/src/report.c:108:28: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: thestring [nullPointerOutOfMemory] pcb-4.2.2/src/report.c:97:24: note: Assuming allocation function fails pcb-4.2.2/src/report.c:97:16: note: Assignment 'stringlist=(char*)calloc(1,size_left)', assigned value is 0 pcb-4.2.2/src/report.c:107:15: note: Assignment 'thestring=stringlist', assigned value is 0 pcb-4.2.2/src/report.c:108:28: note: Null pointer dereference pcb-4.2.2/src/report.c:655:23: warning: If memory allocation fails, then there is a possible null pointer dereference: ename [nullPointerOutOfMemory] pcb-4.2.2/src/report.c:654:22: note: Assuming allocation function fails pcb-4.2.2/src/report.c:654:22: note: Assignment 'ename=strdup(ename)', assigned value is 0 pcb-4.2.2/src/report.c:655:23: note: Null pointer dereference pcb-4.2.2/src/report.c:761:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/report.c:786:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/report.c:618:9: style: Local variable 'l' shadows outer variable [shadowVariable] pcb-4.2.2/src/report.c:614:3: note: Shadowed declaration pcb-4.2.2/src/report.c:618:9: note: Shadow variable pcb-4.2.2/src/report.c:757:10: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/src/report.c:750:5: note: Shadowed declaration pcb-4.2.2/src/report.c:757:10: note: Shadow variable pcb-4.2.2/src/report.c:782:10: style: Local variable 'n' shadows outer variable [shadowVariable] pcb-4.2.2/src/report.c:775:5: note: Shadowed declaration pcb-4.2.2/src/report.c:782:10: note: Shadow variable pcb-4.2.2/src/report.c:665:8: style: Variable 'es' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/report.c:755:10: style: Variable 'ename' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/report.c:757:10: style: Variable 'n' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/report.c:780:10: style: Variable 'ename' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/report.c:782:10: style: Variable 'n' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/report.c:822:7: style: Unused variable: result [unusedVariable] res_lex.c:738:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] res_lex.c:1438:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] res_lex.c:1676:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] res_lex.c:1064:27: warning: Possible null pointer dereference: b [nullPointer] res_lex.c:1061:24: note: Assignment 'b=(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL', assigned value is 0 res_lex.c:1064:27: note: Null pointer dereference res_lex.c:1066:9: warning: Possible null pointer dereference: b [nullPointer] res_lex.c:1061:24: note: Assignment 'b=(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL', assigned value is 0 res_lex.c:1066:9: note: Null pointer dereference res_lex.c:1442:2: warning: Possible null pointer dereference: b [nullPointer] res_lex.c:1331:18: note: Calling function 'res_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 res_lex.c:1442:2: note: Null pointer dereference res_lex.c:1443:2: warning: Possible null pointer dereference: b [nullPointer] res_lex.c:1331:18: note: Calling function 'res_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 res_lex.c:1443:2: note: Null pointer dereference res_lex.l:46:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] res_lex.l:54:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] res_lex.l:72:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] res_lex.l:79:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] res_lex.l:84:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] res_lex.c:1174:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] res_lex.c:384:54: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. res_lex.c:1174:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. res_lex.c:1197:49: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] res_lex.c:598:38: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. res_lex.c:1197:49: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. res_lex.c:1627:49: style:inconclusive: Function 'res_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] res_lex.c:334:48: note: Function 'res_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. res_lex.c:1627:49: note: Function 'res_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. res_lex.c:1640:49: style:inconclusive: Function 'res_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] res_lex.c:335:47: note: Function 'res_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. res_lex.c:1640:49: note: Function 'res_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. res_lex.c:1640:63: style:inconclusive: Function 'res_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] res_lex.c:335:57: note: Function 'res_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. res_lex.c:1640:63: note: Function 'res_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. res_lex.c:1772:25: style:inconclusive: Function 'resset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. [funcArgNamesDifferent] res_lex.c:564:24: note: Function 'resset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. res_lex.c:1772:25: note: Function 'resset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. res_lex.c:1011:17: style: Variable 'source' can be declared as pointer to const [constVariablePointer] res_lex.c:1212:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] res_lex.c:1640:49: style: Parameter 'yybytes' can be declared as pointer to const [constParameterPointer] res_lex.c:1674:43: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] res_parse.y:71:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAG_V [valueFlowBailoutIncompleteVar] res_parse.y:87:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] res_parse.y:147:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Resource [valueFlowBailoutIncompleteVar] res_parse.y:158:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ResourceVal [valueFlowBailoutIncompleteVar] res_parse.y:172:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] res_parse.y:185:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subres [valueFlowBailoutIncompleteVar] res_parse.y:194:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] res_parse.y:206:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subres [valueFlowBailoutIncompleteVar] res_parse.c:1064:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] res_parse.c:981:26: style: Condition 'yyn<0' is always false [knownConditionTrueFalse] res_parse.c:946:22: note: Assuming that condition '-1u.rects[i].bptr' is always true [knownConditionTrueFalse] pcb-4.2.2/src/rtree.c:164:27: style: Condition 'node->u.kids[i]' is always true [knownConditionTrueFalse] pcb-4.2.2/src/rtree.c:208:7: style: Condition '!__r_node_is_good(node)' is always false [knownConditionTrueFalse] pcb-4.2.2/src/rtree.c:208:25: note: Calling function '__r_node_is_good' returns 1 pcb-4.2.2/src/rtree.c:208:7: note: Condition '!__r_node_is_good(node)' is always false pcb-4.2.2/src/rtree.c:435:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:434:38: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:434:10: note: Assignment 'node=(struct rtree_node*)calloc(1,sizeof(*node))', assigned value is 0 pcb-4.2.2/src/rtree.c:435:3: note: Null pointer dereference pcb-4.2.2/src/rtree.c:436:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:434:38: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:434:10: note: Assignment 'node=(struct rtree_node*)calloc(1,sizeof(*node))', assigned value is 0 pcb-4.2.2/src/rtree.c:436:3: note: Null pointer dereference pcb-4.2.2/src/rtree.c:437:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rtree [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:432:29: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:432:11: note: Assignment 'rtree=(struct rtree_t*)calloc(1,sizeof(*rtree))', assigned value is 0 pcb-4.2.2/src/rtree.c:437:3: note: Null pointer dereference pcb-4.2.2/src/rtree.c:445:29: warning: If memory allocation fails, then there is a possible null pointer dereference: rtree [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:432:29: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:432:11: note: Assignment 'rtree=(struct rtree_t*)calloc(1,sizeof(*rtree))', assigned value is 0 pcb-4.2.2/src/rtree.c:445:29: note: Null pointer dereference pcb-4.2.2/src/rtree.c:786:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:785:42: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:785:14: note: Assignment 'new_node=(struct rtree_node*)calloc(1,sizeof(*new_node))', assigned value is 0 pcb-4.2.2/src/rtree.c:786:3: note: Null pointer dereference pcb-4.2.2/src/rtree.c:787:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:785:42: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:785:14: note: Assignment 'new_node=(struct rtree_node*)calloc(1,sizeof(*new_node))', assigned value is 0 pcb-4.2.2/src/rtree.c:787:3: note: Null pointer dereference pcb-4.2.2/src/rtree.c:826:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:785:42: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:785:14: note: Assignment 'new_node=(struct rtree_node*)calloc(1,sizeof(*new_node))', assigned value is 0 pcb-4.2.2/src/rtree.c:826:3: note: Null pointer dereference pcb-4.2.2/src/rtree.c:860:8: warning: If memory allocation fails, then there is a possible null pointer dereference: second [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:859:44: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:859:16: note: Assignment 'second=(struct rtree_node*)calloc(1,sizeof(*second))', assigned value is 0 pcb-4.2.2/src/rtree.c:860:8: note: Null pointer dereference pcb-4.2.2/src/rtree.c:861:12: warning: If memory allocation fails, then there is a possible null pointer dereference: second [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:859:44: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:859:16: note: Assignment 'second=(struct rtree_node*)calloc(1,sizeof(*second))', assigned value is 0 pcb-4.2.2/src/rtree.c:861:12: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1018:11: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:1017:50: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:1017:22: note: Assignment 'new_node=(struct rtree_node*)calloc(1,sizeof(*new_node))', assigned value is 0 pcb-4.2.2/src/rtree.c:1018:11: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1019:11: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:1017:50: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:1017:22: note: Assignment 'new_node=(struct rtree_node*)calloc(1,sizeof(*new_node))', assigned value is 0 pcb-4.2.2/src/rtree.c:1019:11: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1021:11: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:1017:50: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:1017:22: note: Assignment 'new_node=(struct rtree_node*)calloc(1,sizeof(*new_node))', assigned value is 0 pcb-4.2.2/src/rtree.c:1021:11: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1022:11: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:1017:50: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:1017:22: note: Assignment 'new_node=(struct rtree_node*)calloc(1,sizeof(*new_node))', assigned value is 0 pcb-4.2.2/src/rtree.c:1022:11: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1023:11: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:1017:50: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:1017:22: note: Assignment 'new_node=(struct rtree_node*)calloc(1,sizeof(*new_node))', assigned value is 0 pcb-4.2.2/src/rtree.c:1023:11: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1057:11: warning: If memory allocation fails, then there is a possible null pointer dereference: rtree [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:432:29: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:432:11: note: Assignment 'rtree=(struct rtree_t*)calloc(1,sizeof(*rtree))', assigned value is 0 pcb-4.2.2/src/rtree.c:442:23: note: Calling function 'r_insert_entry', 1st argument 'rtree' value is 0 pcb-4.2.2/src/rtree.c:1057:11: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1058:20: warning: If memory allocation fails, then there is a possible null pointer dereference: rtree [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:432:29: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:432:11: note: Assignment 'rtree=(struct rtree_t*)calloc(1,sizeof(*rtree))', assigned value is 0 pcb-4.2.2/src/rtree.c:442:23: note: Calling function 'r_insert_entry', 1st argument 'rtree' value is 0 pcb-4.2.2/src/rtree.c:1058:20: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1059:20: warning: If memory allocation fails, then there is a possible null pointer dereference: rtree [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:432:29: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:432:11: note: Assignment 'rtree=(struct rtree_t*)calloc(1,sizeof(*rtree))', assigned value is 0 pcb-4.2.2/src/rtree.c:442:23: note: Calling function 'r_insert_entry', 1st argument 'rtree' value is 0 pcb-4.2.2/src/rtree.c:1059:20: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1060:23: warning: If memory allocation fails, then there is a possible null pointer dereference: rtree [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:432:29: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:432:11: note: Assignment 'rtree=(struct rtree_t*)calloc(1,sizeof(*rtree))', assigned value is 0 pcb-4.2.2/src/rtree.c:442:23: note: Calling function 'r_insert_entry', 1st argument 'rtree' value is 0 pcb-4.2.2/src/rtree.c:1060:23: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1061:23: warning: If memory allocation fails, then there is a possible null pointer dereference: rtree [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:432:29: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:432:11: note: Assignment 'rtree=(struct rtree_t*)calloc(1,sizeof(*rtree))', assigned value is 0 pcb-4.2.2/src/rtree.c:442:23: note: Calling function 'r_insert_entry', 1st argument 'rtree' value is 0 pcb-4.2.2/src/rtree.c:1061:23: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1062:23: warning: If memory allocation fails, then there is a possible null pointer dereference: rtree [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:432:29: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:432:11: note: Assignment 'rtree=(struct rtree_t*)calloc(1,sizeof(*rtree))', assigned value is 0 pcb-4.2.2/src/rtree.c:442:23: note: Calling function 'r_insert_entry', 1st argument 'rtree' value is 0 pcb-4.2.2/src/rtree.c:1062:23: note: Null pointer dereference pcb-4.2.2/src/rtree.c:1063:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rtree [nullPointerOutOfMemory] pcb-4.2.2/src/rtree.c:432:29: note: Assuming allocation function fails pcb-4.2.2/src/rtree.c:432:11: note: Assignment 'rtree=(struct rtree_t*)calloc(1,sizeof(*rtree))', assigned value is 0 pcb-4.2.2/src/rtree.c:442:23: note: Calling function 'r_insert_entry', 1st argument 'rtree' value is 0 pcb-4.2.2/src/rtree.c:1063:3: note: Null pointer dereference pcb-4.2.2/src/rtree.c:612:44: style:inconclusive: Function 'r_search' argument 2 names different: declaration 'starting_region' definition 'query'. [funcArgNamesDifferent] pcb-4.2.2/src/rtree.h:52:48: note: Function 'r_search' argument 2 names different: declaration 'starting_region' definition 'query'. pcb-4.2.2/src/rtree.c:612:44: note: Function 'r_search' argument 2 names different: declaration 'starting_region' definition 'query'. pcb-4.2.2/src/rtree.c:614:73: style:inconclusive: Function 'r_search' argument 5 names different: declaration 'closure' definition 'cl'. [funcArgNamesDifferent] pcb-4.2.2/src/rtree.h:55:14: note: Function 'r_search' argument 5 names different: declaration 'closure' definition 'cl'. pcb-4.2.2/src/rtree.c:614:73: note: Function 'r_search' argument 5 names different: declaration 'closure' definition 'cl'. pcb-4.2.2/src/rtree.c:1051:61: style:inconclusive: Function 'r_insert_entry' argument 3 names different: declaration 'manage' definition 'man'. [funcArgNamesDifferent] pcb-4.2.2/src/rtree.h:51:66: note: Function 'r_insert_entry' argument 3 names different: declaration 'manage' definition 'man'. pcb-4.2.2/src/rtree.c:1051:61: note: Function 'r_insert_entry' argument 3 names different: declaration 'manage' definition 'man'. pcb-4.2.2/src/rtree.c:1174:50: style:inconclusive: Function 'r_delete_entry' argument 2 names different: declaration 'which' definition 'box'. [funcArgNamesDifferent] pcb-4.2.2/src/rtree.h:50:55: note: Function 'r_delete_entry' argument 2 names different: declaration 'which' definition 'box'. pcb-4.2.2/src/rtree.c:1174:50: note: Function 'r_delete_entry' argument 2 names different: declaration 'which' definition 'box'. pcb-4.2.2/src/rtree.c:704:12: style: Variable 'b' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/rtree.c:899:31: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/rubberband.c:254:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Number [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rubberband.c:436:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Number [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rubberband.c:475:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Number [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rubberband.c:500:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Number [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rubberband.c:554:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rubberband.c:623:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rubberband.c:280:17: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/rubberband.c:381:43: style: Parameter 'Pin' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/rubberband.c:419:23: style: Parameter 'LinePoint' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/rubberband.c:457:20: style: Parameter 'Arc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/rubberband.c:458:22: style: Parameter 'ArcPoint' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/rubberband.c:199:9: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pcb-4.2.2/src/search.c:504:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_POINT_DISTANCE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/search.c:555:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ARC_POINT_DISTANCE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/search.c:573:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_POLYGON_POINT_DISTANCE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/search.c:643:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COORD [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/search.c:701:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COORD [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/search.c:1473:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/search.c:1677:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/search.c:118:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/search.c:192:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/search.c:253:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/search.c:294:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/search.c:345:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/search.c:385:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/search.c:425:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/search.c:468:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/search.c:520:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/search.c:604:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/search.c:660:7: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/search.c:739:46: style: Parameter 'Line' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/search.c:874:48: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/search.c:995:56: style: Parameter 'Pad' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/search.c:1075:42: style: Parameter 'box' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/search.c:1124:56: style: Parameter 'Arc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/search.c:1234:20: style: Variable 'box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/search.c:1348:16: style: Variable 'box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/search.c:1359:16: style: Variable 'box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/search.c:1673:44: style: Parameter 'Name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/search.c:1697:42: style: Parameter 'Name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/search.c:643:17: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pcb-4.2.2/src/search.c:701:17: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pcb-4.2.2/src/select.c:164:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ELEMENTNAMES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/select.c:230:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/select.c:538:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/select.c:734:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/select.c:1032:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/select.c:202:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] pcb-4.2.2/src/select.c:199:9: note: outer condition: PCB->ElementOn pcb-4.2.2/src/select.c:202:11: note: identical inner condition: PCB->ElementOn pcb-4.2.2/src/select.c:383:11: style: Variable 'changed' is reassigned a value before the old one has been used. [redundantAssignment] pcb-4.2.2/src/select.c:365:17: note: changed is assigned pcb-4.2.2/src/select.c:383:11: note: changed is overwritten pcb-4.2.2/src/select.c:383:11: style: Variable 'changed' is reassigned a value before the old one has been used. [redundantAssignment] pcb-4.2.2/src/select.c:377:17: note: changed is assigned pcb-4.2.2/src/select.c:383:11: note: changed is overwritten pcb-4.2.2/src/select.c:736:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/select.c:748:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/select.c:759:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/select.c:770:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/select.c:784:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/select.c:795:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/select.c:809:9: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/select.c:225:23: style: Parameter 'Box' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/set.c:79:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GRID [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/set.c:102:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINESIZE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/set.c:160:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINESIZE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/set.c:172:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_TEXTSCALE [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/set.c:197:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUFFER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/set.c:213:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_MODESTACK_DEPTH [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/set.c:327:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_STYLES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/set.c:184:20: style: The statement 'if (PCB->Changed!=New) PCB->Changed=New' is logically equivalent to 'PCB->Changed=New'. [duplicateConditionalAssign] pcb-4.2.2/src/set.c:186:20: note: Assignment 'PCB->Changed=New' pcb-4.2.2/src/set.c:184:20: note: Condition 'PCB->Changed!=New' is redundant pcb-4.2.2/src/set.c:331:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'Cardinal {aka unsigned int}'. [invalidPrintfArgType_sint] pcb-4.2.2/src/set.c:332:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] pcb-4.2.2/src/set.c:145:39: style: Parameter 'rst' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/set.c:323:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/set.c:388:9: style: Variable 'nstyle' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/set.c:390:9: style: Variable 'thickness' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/set.c:391:9: style: Variable 'diameter' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/set.c:392:9: style: Variable 'drill' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/set.c:393:9: style: Variable 'keepaway' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/set.c:394:9: style: Variable 'mask_aperture' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/set.c:395:9: style: Variable 'units' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/smartdisperse.c:203:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/smartdisperse.c:167:9: style: Variable 'function' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/strflags.c:580:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LAYER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/strflags.c:213:7: error: Common realloc mistake: 'layers' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/strflags.c:369:2: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/strflags.c:376:6: warning: If memory allocation fails, then there is a possible null pointer dereference: bp++ [nullPointerOutOfMemory] pcb-4.2.2/src/strflags.c:371:24: note: Assuming allocation function fails pcb-4.2.2/src/strflags.c:371:8: note: Assignment 'buf=(char*)malloc(len)', assigned value is 0 pcb-4.2.2/src/strflags.c:375:6: note: bp is assigned 'buf' here. pcb-4.2.2/src/strflags.c:376:6: note: Null pointer dereference pcb-4.2.2/src/strflags.c:376:6: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/strflags.c:371:24: note: Assuming allocation function fails pcb-4.2.2/src/strflags.c:371:8: note: Assignment 'buf=(char*)malloc(len)', assigned value is 0 pcb-4.2.2/src/strflags.c:375:6: note: bp is assigned 'buf' here. pcb-4.2.2/src/strflags.c:376:6: note: Null pointer addition pcb-4.2.2/src/strflags.c:571:6: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/strflags.c:581:6: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/strflags.c:592:6: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/strflags.c:609:6: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pcb-4.2.2/src/strflags.c:306:10: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/teardrops.c:262:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/thermal.c:438:15: style: Local variable 't' shadows outer variable [shadowVariable] pcb-4.2.2/src/thermal.c:413:9: note: Shadowed declaration pcb-4.2.2/src/thermal.c:438:15: note: Shadow variable pcb-4.2.2/src/thermal.c:137:24: style: Parameter 'pin' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/thermal.c:94:8: style: struct member 'cent::style' is never used. [unusedStructMember] pcb-4.2.2/src/thermal.c:95:13: style: struct member 'cent::p' is never used. [unusedStructMember] pcb-4.2.2/src/toporouter.c:328:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_STYLES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:345:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_STYLES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:1247:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:1285:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:1312:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:1323:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:1354:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:1559:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gts_allow_floating_vertices [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:1634:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bbox [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:1674:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bbox [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:1812:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:1976:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:2078:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:2193:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gts_allow_floating_vertices [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:2289:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTS_IN [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:2764:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Number [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:2905:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gcost [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:3110:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable routing [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:3267:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:3588:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable routing [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:3619:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:3843:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:3935:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:4327:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable routing [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:4350:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:4485:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:4510:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable route [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:4866:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:5090:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:5804:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:5872:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:5910:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:6023:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:6123:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:6458:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:6729:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable routing [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:6764:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable routing [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:6788:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable routing [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:6847:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:7166:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable route [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:7208:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable routing [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:7701:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:7783:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/toporouter.c:7693:27: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] pcb-4.2.2/src/toporouter.c:7693:35: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] pcb-4.2.2/src/toporouter.c:2952:32: style: Condition 'waiting' is always true [knownConditionTrueFalse] pcb-4.2.2/src/toporouter.c:2950:19: note: Assignment 'waiting=1', assigned value is 1 pcb-4.2.2/src/toporouter.c:2952:32: note: Condition 'waiting' is always true pcb-4.2.2/src/toporouter.c:676:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pcb-4.2.2/src/toporouter.c:676:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pcb-4.2.2/src/toporouter.c:7426:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pcb-4.2.2/src/toporouter.c:7831:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pcb-4.2.2/src/toporouter.c:280:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:278:29: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:278:8: note: Assignment 'dc=(struct drawing_context_t*)calloc(1,sizeof(struct drawing_context_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:280:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:281:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:278:29: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:278:8: note: Assignment 'dc=(struct drawing_context_t*)calloc(1,sizeof(struct drawing_context_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:281:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:282:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:278:29: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:278:8: note: Assignment 'dc=(struct drawing_context_t*)calloc(1,sizeof(struct drawing_context_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:282:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:2586:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:2584:53: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:2584:29: note: Assignment 'c=(struct toporouter_cluster_t*)calloc(1,sizeof(struct toporouter_cluster_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:2586:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:2586:10: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:2584:53: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:2584:29: note: Assignment 'c=(struct toporouter_cluster_t*)calloc(1,sizeof(struct toporouter_cluster_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:2586:10: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:2588:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:2584:53: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:2584:29: note: Assignment 'c=(struct toporouter_cluster_t*)calloc(1,sizeof(struct toporouter_cluster_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:2588:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:2589:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:2584:53: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:2584:29: note: Assignment 'c=(struct toporouter_cluster_t*)calloc(1,sizeof(struct toporouter_cluster_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:2589:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:2630:3: warning: If memory allocation fails, then there is a possible null pointer dereference: nl [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:2629:54: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:2629:30: note: Assignment 'nl=(struct toporouter_netlist_t*)calloc(1,sizeof(struct toporouter_netlist_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:2630:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:2631:3: warning: If memory allocation fails, then there is a possible null pointer dereference: nl [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:2629:54: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:2629:30: note: Assignment 'nl=(struct toporouter_netlist_t*)calloc(1,sizeof(struct toporouter_netlist_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:2631:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:2632:3: warning: If memory allocation fails, then there is a possible null pointer dereference: nl [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:2629:54: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:2629:30: note: Assignment 'nl=(struct toporouter_netlist_t*)calloc(1,sizeof(struct toporouter_netlist_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:2632:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:2633:3: warning: If memory allocation fails, then there is a possible null pointer dereference: nl [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:2629:54: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:2629:30: note: Assignment 'nl=(struct toporouter_netlist_t*)calloc(1,sizeof(struct toporouter_netlist_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:2633:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:2634:3: warning: If memory allocation fails, then there is a possible null pointer dereference: nl [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:2629:54: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:2629:30: note: Assignment 'nl=(struct toporouter_netlist_t*)calloc(1,sizeof(struct toporouter_netlist_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:2634:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:2635:3: warning: If memory allocation fails, then there is a possible null pointer dereference: nl [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:2629:54: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:2629:30: note: Assignment 'nl=(struct toporouter_netlist_t*)calloc(1,sizeof(struct toporouter_netlist_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:2635:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:4624:8: warning:inconclusive: Either the condition 'pv' is redundant or there is possible null pointer dereference: pv. [nullPointerRedundantCheck] pcb-4.2.2/src/toporouter.c:4647:8: note: Assuming that condition 'pv' is not redundant pcb-4.2.2/src/toporouter.c:4624:8: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:4642:10: warning: Either the condition 'pv' is redundant or there is possible null pointer dereference: pv. [nullPointerRedundantCheck] pcb-4.2.2/src/toporouter.c:4647:8: note: Assuming that condition 'pv' is not redundant pcb-4.2.2/src/toporouter.c:4642:10: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:4766:10: warning: Possible null pointer dereference: srcv [nullPointer] pcb-4.2.2/src/toporouter.c:4747:14: note: Assignment 'srcv=NULL', assigned value is 0 pcb-4.2.2/src/toporouter.c:4752:13: note: Assuming condition is false pcb-4.2.2/src/toporouter.c:4766:10: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5777:3: warning: If memory allocation fails, then there is a possible null pointer dereference: serp [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5776:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5776:35: note: Assignment 'serp=(struct toporouter_serpintine_t*)calloc(1,sizeof(struct toporouter_serpintine_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5777:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5778:3: warning: If memory allocation fails, then there is a possible null pointer dereference: serp [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5776:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5776:35: note: Assignment 'serp=(struct toporouter_serpintine_t*)calloc(1,sizeof(struct toporouter_serpintine_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5778:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5779:3: warning: If memory allocation fails, then there is a possible null pointer dereference: serp [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5776:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5776:35: note: Assignment 'serp=(struct toporouter_serpintine_t*)calloc(1,sizeof(struct toporouter_serpintine_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5779:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5780:3: warning: If memory allocation fails, then there is a possible null pointer dereference: serp [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5776:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5776:35: note: Assignment 'serp=(struct toporouter_serpintine_t*)calloc(1,sizeof(struct toporouter_serpintine_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5780:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5781:3: warning: If memory allocation fails, then there is a possible null pointer dereference: serp [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5776:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5776:35: note: Assignment 'serp=(struct toporouter_serpintine_t*)calloc(1,sizeof(struct toporouter_serpintine_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5781:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5782:3: warning: If memory allocation fails, then there is a possible null pointer dereference: serp [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5776:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5776:35: note: Assignment 'serp=(struct toporouter_serpintine_t*)calloc(1,sizeof(struct toporouter_serpintine_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5782:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5783:3: warning: If memory allocation fails, then there is a possible null pointer dereference: serp [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5776:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5776:35: note: Assignment 'serp=(struct toporouter_serpintine_t*)calloc(1,sizeof(struct toporouter_serpintine_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5783:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5784:3: warning: If memory allocation fails, then there is a possible null pointer dereference: serp [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5776:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5776:35: note: Assignment 'serp=(struct toporouter_serpintine_t*)calloc(1,sizeof(struct toporouter_serpintine_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5784:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5785:3: warning: If memory allocation fails, then there is a possible null pointer dereference: serp [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5776:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5776:35: note: Assignment 'serp=(struct toporouter_serpintine_t*)calloc(1,sizeof(struct toporouter_serpintine_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5785:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5786:3: warning: If memory allocation fails, then there is a possible null pointer dereference: serp [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5776:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5776:35: note: Assignment 'serp=(struct toporouter_serpintine_t*)calloc(1,sizeof(struct toporouter_serpintine_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5786:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5787:3: warning: If memory allocation fails, then there is a possible null pointer dereference: serp [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5776:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5776:35: note: Assignment 'serp=(struct toporouter_serpintine_t*)calloc(1,sizeof(struct toporouter_serpintine_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5787:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5933:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rba [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5932:69: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5932:38: note: Assignment 'rba=(struct toporouter_rubberband_arc_t*)calloc(1,sizeof(struct toporouter_rubberband_arc_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5933:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5934:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rba [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5932:69: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5932:38: note: Assignment 'rba=(struct toporouter_rubberband_arc_t*)calloc(1,sizeof(struct toporouter_rubberband_arc_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5934:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5935:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rba [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5932:69: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5932:38: note: Assignment 'rba=(struct toporouter_rubberband_arc_t*)calloc(1,sizeof(struct toporouter_rubberband_arc_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5935:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5936:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rba [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5932:69: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5932:38: note: Assignment 'rba=(struct toporouter_rubberband_arc_t*)calloc(1,sizeof(struct toporouter_rubberband_arc_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5936:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5937:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rba [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5932:69: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5932:38: note: Assignment 'rba=(struct toporouter_rubberband_arc_t*)calloc(1,sizeof(struct toporouter_rubberband_arc_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5937:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:5938:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rba [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:5932:69: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:5932:38: note: Assignment 'rba=(struct toporouter_rubberband_arc_t*)calloc(1,sizeof(struct toporouter_rubberband_arc_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:5938:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6269:8: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6594:30: note: Calling function 'oproute_check_all_loops', 2nd argument 'oproute' value is 0 pcb-4.2.2/src/toporouter.c:6269:8: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6270:7: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6594:30: note: Calling function 'oproute_check_all_loops', 2nd argument 'oproute' value is 0 pcb-4.2.2/src/toporouter.c:6270:7: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6273:45: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6594:30: note: Calling function 'oproute_check_all_loops', 2nd argument 'oproute' value is 0 pcb-4.2.2/src/toporouter.c:6273:45: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6522:7: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6578:24: note: Calling function 'oproute_path_speccut', 1st argument 'oproute' value is 0 pcb-4.2.2/src/toporouter.c:6522:7: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6563:3: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6563:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6564:3: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6564:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6565:3: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6565:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6566:3: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6566:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6566:32: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6566:32: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6567:3: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6567:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6567:34: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6567:34: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6568:3: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6568:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6568:25: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6568:25: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6569:3: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6569:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6570:3: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6570:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6572:3: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6572:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6573:3: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6573:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6592:5: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6592:5: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6592:66: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6592:66: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6592:82: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6592:82: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6636:3: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6636:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6637:3: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6637:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6638:3: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6638:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6639:3: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6639:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6640:3: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6640:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6640:23: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6640:23: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6641:3: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6641:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6642:3: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6642:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6642:20: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6642:20: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6643:3: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6643:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6643:21: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6643:21: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6644:3: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6644:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6644:22: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6644:22: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6646:3: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6646:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6648:3: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6648:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6648:29: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6648:29: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6859:3: warning: If memory allocation fails, then there is a possible null pointer dereference: netscore [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6856:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6856:37: note: Assignment 'netscore=(struct toporouter_netscore_t*)calloc(1,sizeof(struct toporouter_netscore_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6859:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6861:3: warning: If memory allocation fails, then there is a possible null pointer dereference: netscore [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6856:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6856:37: note: Assignment 'netscore=(struct toporouter_netscore_t*)calloc(1,sizeof(struct toporouter_netscore_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6861:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:6862:28: warning: If memory allocation fails, then there is a possible null pointer dereference: netscore [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6856:62: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6856:37: note: Assignment 'netscore=(struct toporouter_netscore_t*)calloc(1,sizeof(struct toporouter_netscore_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6862:28: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7641:8: warning: If memory allocation fails, then there is a possible null pointer dereference: layer [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7640:35: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7640:24: note: Assignment 'layer=(double*)calloc(1,sizeof(double))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7641:8: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7650:10: warning: If memory allocation fails, then there is a possible null pointer dereference: layer [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7649:37: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7649:26: note: Assignment 'layer=(double*)calloc(1,sizeof(double))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7650:10: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7664:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7664:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7666:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7666:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7667:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7667:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7669:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7669:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7671:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7671:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7672:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7672:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7673:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7673:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7675:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7675:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7677:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7677:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7678:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7678:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7680:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7680:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7681:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7681:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7683:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7683:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7685:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7685:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:7686:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:7659:43: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:7659:21: note: Assignment 'r=(struct toporouter_t*)calloc(1,sizeof(struct toporouter_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:7686:3: note: Null pointer dereference pcb-4.2.2/src/toporouter.c:3160:5: style: Redundant initialization for 'i'. The initialized value is overwritten before it is read. [redundantInitialization] pcb-4.2.2/src/toporouter.c:3155:12: note: i is initialized pcb-4.2.2/src/toporouter.c:3160:5: note: i is overwritten pcb-4.2.2/src/toporouter.c:3160:3: style: Variable 'i' is assigned an expression that holds the same value. [redundantAssignment] pcb-4.2.2/src/toporouter.c:3155:12: note: i is assigned 'src_vertices' here. pcb-4.2.2/src/toporouter.c:3160:3: note: Variable 'i' is assigned an expression that holds the same value. pcb-4.2.2/src/toporouter.c:5098:5: style: Redundant initialization for 'i'. The initialized value is overwritten before it is read. [redundantInitialization] pcb-4.2.2/src/toporouter.c:5084:12: note: i is initialized pcb-4.2.2/src/toporouter.c:5098:5: note: i is overwritten pcb-4.2.2/src/toporouter.c:5098:3: style: Variable 'i' is assigned an expression that holds the same value. [redundantAssignment] pcb-4.2.2/src/toporouter.c:5084:12: note: i is assigned 'list' here. pcb-4.2.2/src/toporouter.c:5090:6: note: Assuming condition is false pcb-4.2.2/src/toporouter.c:5098:3: note: Variable 'i' is assigned an expression that holds the same value. pcb-4.2.2/src/toporouter.c:5263:5: style: Redundant initialization for 'i'. The initialized value is overwritten before it is read. [redundantInitialization] pcb-4.2.2/src/toporouter.c:5249:12: note: i is initialized pcb-4.2.2/src/toporouter.c:5263:5: note: i is overwritten pcb-4.2.2/src/toporouter.c:7419:7: style: Redundant initialization for 'k'. The initialized value is overwritten before it is read. [redundantInitialization] pcb-4.2.2/src/toporouter.c:7417:52: note: k is initialized pcb-4.2.2/src/toporouter.c:7419:7: note: k is overwritten pcb-4.2.2/src/toporouter.c:7419:5: style: Variable 'k' is assigned an expression that holds the same value. [redundantAssignment] pcb-4.2.2/src/toporouter.c:7417:52: note: k is assigned 'failed' here. pcb-4.2.2/src/toporouter.c:7419:5: note: Variable 'k' is assigned an expression that holds the same value. pcb-4.2.2/src/toporouter.c:4632:26: style: Local variable 'pv' shadows outer argument [shadowArgument] pcb-4.2.2/src/toporouter.c:4619:122: note: Shadowed declaration pcb-4.2.2/src/toporouter.c:4632:26: note: Shadow variable pcb-4.2.2/src/toporouter.c:4710:12: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/src/toporouter.c:4676:10: note: Shadowed declaration pcb-4.2.2/src/toporouter.c:4710:12: note: Shadow variable pcb-4.2.2/src/toporouter.c:4954:12: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/src/toporouter.c:4676:10: note: Shadowed declaration pcb-4.2.2/src/toporouter.c:4954:12: note: Shadow variable pcb-4.2.2/src/toporouter.c:4971:12: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/src/toporouter.c:4676:10: note: Shadowed declaration pcb-4.2.2/src/toporouter.c:4971:12: note: Shadow variable pcb-4.2.2/src/toporouter.c:4992:12: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/src/toporouter.c:4676:10: note: Shadowed declaration pcb-4.2.2/src/toporouter.c:4992:12: note: Shadow variable pcb-4.2.2/src/toporouter.c:5013:12: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/src/toporouter.c:4676:10: note: Shadowed declaration pcb-4.2.2/src/toporouter.c:5013:12: note: Shadow variable pcb-4.2.2/src/toporouter.c:5307:8: style: Local variable 'wind' shadows outer function [shadowFunction] pcb-4.2.2/src/toporouter.c:1203:1: note: Shadowed declaration pcb-4.2.2/src/toporouter.c:5307:8: note: Shadow variable pcb-4.2.2/src/toporouter.c:5804:13: style: Local variable 'd' shadows outer variable [shadowVariable] pcb-4.2.2/src/toporouter.c:5797:45: note: Shadowed declaration pcb-4.2.2/src/toporouter.c:5804:13: note: Shadow variable pcb-4.2.2/src/toporouter.c:5872:13: style: Local variable 'd' shadows outer variable [shadowVariable] pcb-4.2.2/src/toporouter.c:5869:45: note: Shadowed declaration pcb-4.2.2/src/toporouter.c:5872:13: note: Shadow variable pcb-4.2.2/src/toporouter.c:7554:28: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/src/toporouter.c:7539:10: note: Shadowed declaration pcb-4.2.2/src/toporouter.c:7554:28: note: Shadow variable pcb-4.2.2/src/toporouter.c:141:58: style: Parameter 'klass' can be declared as pointer to const. However it seems that 'toporouter_vertex_class_init' is a callback function, if 'klass' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/toporouter.c:176:32: note: You might need to cast the function pointer here pcb-4.2.2/src/toporouter.c:141:58: note: Parameter 'klass' can be declared as pointer to const pcb-4.2.2/src/toporouter.c:191:66: style: Parameter 'klass' can be declared as pointer to const. However it seems that 'toporouter_constraint_class_init' is a callback function, if 'klass' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/toporouter.c:216:32: note: You might need to cast the function pointer here pcb-4.2.2/src/toporouter.c:191:66: note: Parameter 'klass' can be declared as pointer to const pcb-4.2.2/src/toporouter.c:312:44: style: Parameter 'dc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:325:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:342:24: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:371:33: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:371:48: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:504:31: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:504:46: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:705:16: style: Variable 'pin' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:794:22: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:794:35: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:794:48: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:941:39: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:941:61: style: Parameter 'dc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:941:87: style: Parameter 'cluster' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:961:39: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:961:54: style: Parameter 's' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:961:63: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:961:104: style: Parameter 'datas' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:961:129: style: Parameter 'candidatepoints' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1203:27: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1203:52: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1203:77: style: Parameter 'p3' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1213:54: style: Parameter 'tc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1223:46: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1238:40: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1310:38: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1310:62: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1332:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1332:39: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1362:46: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1362:70: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1624:29: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1648:38: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1726:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:1736:20: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:1736:33: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:2146:12: style: Variable 'min_quality' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:2147:12: style: Variable 'max_area' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:2534:32: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:2534:57: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:2540:3: style: Variable 'cluster' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:2565:37: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:2595:71: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:2810:13: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:2811:13: style: Variable 'j' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:2851:21: style: Variable 'line' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:2945:54: style: Parameter 'v1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:2945:79: style: Parameter 'v2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:3282:51: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:3332:57: style: Parameter 'curpoint' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:3553:24: style: Variable 'v' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:3569:24: style: Variable 'v' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:3815:48: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:3815:71: style: Parameter 'routedata' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:3951:28: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:4091:28: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:4293:32: style: Variable 'tempj' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:4344:26: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:4620:27: style: Parameter 'pair' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:4632:26: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:4633:26: style: Variable 'nv' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:4660:70: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:4712:27: style: Variable 'curroute' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:4953:26: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:5052:87: style: Parameter 'arcv' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:5906:52: style: Parameter 'arc' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:5943:54: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_rubberband_arcs' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/toporouter.c:6156:43: note: You might need to cast the function pointer here pcb-4.2.2/src/toporouter.c:5943:54: note: Parameter 'a' can be declared as pointer to const pcb-4.2.2/src/toporouter.c:5943:86: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_rubberband_arcs' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/toporouter.c:6156:43: note: You might need to cast the function pointer here pcb-4.2.2/src/toporouter.c:5943:86: note: Parameter 'b' can be declared as pointer to const pcb-4.2.2/src/toporouter.c:6774:46: style: Parameter 'routedata' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:6824:23: style: Variable 'ra' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:6825:23: style: Variable 'rb' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:6830:27: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:6857:10: style: Variable 'path' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:7051:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:7277:27: style: Variable 'netlist' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:7288:37: style: Parameter 'netlist' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:7293:3: style: Variable 'cluster' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:7715:36: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:7715:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/toporouter.c:5666:49: warning: Uninitialized variables: arc.object, arc.x0, arc.y0, arc.x1, arc.y1, arc.centre, arc.v, arc.r, arc.dir, arc.clearance, arc.oproute, arc.v1, arc.v2 [uninitvar] pcb-4.2.2/src/toporouter.c:5653:9: note: Assuming condition is false pcb-4.2.2/src/toporouter.c:5666:49: note: Uninitialized variables: arc.object, arc.x0, arc.y0, arc.x1, arc.y1, arc.centre, arc.v, arc.r, arc.dir, arc.clearance, arc.oproute, arc.v1, arc.v2 pcb-4.2.2/src/toporouter.c:5717:25: warning: Uninitialized variable: arc [uninitvar] pcb-4.2.2/src/toporouter.c:5702:9: note: Assuming condition is false pcb-4.2.2/src/toporouter.c:5717:25: note: Uninitialized variable: arc pcb-4.2.2/src/toporouter.c:5832:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/toporouter.c:5832:18: style: Variable 'y' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/toporouter.c:5832:34: style: Variable 'x' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/toporouter.c:5832:43: style: Variable 'y' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/toporouter.c:7448:40: style: Variable 'nscore' is assigned a value that is never used. [unreadVariable] pcb-4.2.2/src/undo.c:1849:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/undo.c:1242:29: style: Condition 'UndoNetlistChange(ptr)' is always true [knownConditionTrueFalse] pcb-4.2.2/src/undo.c:1242:29: note: Calling function 'UndoNetlistChange' returns 1 pcb-4.2.2/src/undo.c:1242:29: note: Condition 'UndoNetlistChange(ptr)' is always true pcb-4.2.2/src/undo.c:270:7: error: Common realloc mistake: 'UndoList' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/undo.c:1844:7: warning: If memory allocation fails, then there is a possible null pointer dereference: old [nullPointerOutOfMemory] pcb-4.2.2/src/undo.c:1842:53: note: Assuming allocation function fails pcb-4.2.2/src/undo.c:1842:38: note: Assignment 'undo->Data.NetlistChange.old=(struct LibraryType*)calloc(1,sizeof(struct LibraryType))', assigned value is 0 pcb-4.2.2/src/undo.c:1843:11: note: old is assigned 'undo->Data.NetlistChange.old' here. pcb-4.2.2/src/undo.c:1844:7: note: Null pointer dereference pcb-4.2.2/src/undo.c:1845:7: warning: If memory allocation fails, then there is a possible null pointer dereference: old [nullPointerOutOfMemory] pcb-4.2.2/src/undo.c:1842:53: note: Assuming allocation function fails pcb-4.2.2/src/undo.c:1842:38: note: Assignment 'undo->Data.NetlistChange.old=(struct LibraryType*)calloc(1,sizeof(struct LibraryType))', assigned value is 0 pcb-4.2.2/src/undo.c:1843:11: note: old is assigned 'undo->Data.NetlistChange.old' here. pcb-4.2.2/src/undo.c:1845:7: note: Null pointer dereference pcb-4.2.2/src/undo.c:1846:7: warning: If memory allocation fails, then there is a possible null pointer dereference: old [nullPointerOutOfMemory] pcb-4.2.2/src/undo.c:1842:53: note: Assuming allocation function fails pcb-4.2.2/src/undo.c:1842:38: note: Assignment 'undo->Data.NetlistChange.old=(struct LibraryType*)calloc(1,sizeof(struct LibraryType))', assigned value is 0 pcb-4.2.2/src/undo.c:1843:11: note: old is assigned 'undo->Data.NetlistChange.old' here. pcb-4.2.2/src/undo.c:1846:7: note: Null pointer dereference pcb-4.2.2/src/undo.c:1846:38: warning: If memory allocation fails, then there is a possible null pointer dereference: old [nullPointerOutOfMemory] pcb-4.2.2/src/undo.c:1842:53: note: Assuming allocation function fails pcb-4.2.2/src/undo.c:1842:38: note: Assignment 'undo->Data.NetlistChange.old=(struct LibraryType*)calloc(1,sizeof(struct LibraryType))', assigned value is 0 pcb-4.2.2/src/undo.c:1843:11: note: old is assigned 'undo->Data.NetlistChange.old' here. pcb-4.2.2/src/undo.c:1846:38: note: Null pointer dereference pcb-4.2.2/src/undo.c:1847:11: warning: If memory allocation fails, then there is a possible null pointer dereference: old [nullPointerOutOfMemory] pcb-4.2.2/src/undo.c:1842:53: note: Assuming allocation function fails pcb-4.2.2/src/undo.c:1842:38: note: Assignment 'undo->Data.NetlistChange.old=(struct LibraryType*)calloc(1,sizeof(struct LibraryType))', assigned value is 0 pcb-4.2.2/src/undo.c:1843:11: note: old is assigned 'undo->Data.NetlistChange.old' here. pcb-4.2.2/src/undo.c:1847:11: note: Null pointer dereference pcb-4.2.2/src/undo.c:892:37: style: Parameter 'Entry' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/undo.c:986:22: style: Variable 'saved' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/undo.c:1561:49: style: Parameter 'Ptr1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/undo.c:1561:61: style: Parameter 'Ptr2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/undo.c:1571:18: style: Variable 'copy' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/undo.c:1799:12: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/vector.c:230:30: style:inconclusive: Function 'vector_duplicate' argument 1 names different: declaration 'vector' definition 'orig'. [funcArgNamesDifferent] pcb-4.2.2/src/vector.h:55:40: note: Function 'vector_duplicate' argument 1 names different: declaration 'vector' definition 'orig'. pcb-4.2.2/src/vector.c:230:30: note: Function 'vector_duplicate' argument 1 names different: declaration 'vector' definition 'orig'. pcb-4.2.2/src/vector.c:83:30: style: Parameter 'vector' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/vector.c:230:30: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/vendor.c:492:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/vendor.c:712:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/vendor.c:812:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/vendor.c:308:11: style: Condition 'fname' is always true [knownConditionTrueFalse] pcb-4.2.2/src/vendor.c:712:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] pcb-4.2.2/src/vendor.c:709:8: error: Common realloc mistake: 'vendor_drills' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/vendor.c:807:15: error: Common realloc mistake: 'lst' nulled but not freed upon failure [memleakOnRealloc] pcb-4.2.2/src/vendor.c:283:13: style: Variable 'res' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/vendor.c:283:19: style: Variable 'drcres' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/vendor.c:701:22: style: Parameter 'sval' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/vendor.c:756:9: style: Variable 'sval' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/vendor.c:981:38: style: Parameter 'data' can be declared as pointer to const. However it seems that 'vendor_get_enabled' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcb-4.2.2/src/vendor.c:987:19: note: You might need to cast the function pointer here pcb-4.2.2/src/vendor.c:981:38: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/tools/gerbertotk.c:62:1: portability: Omitted return type of function 'do_cmd' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] pcb-4.2.2/tools/gerbertotk.c:132:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] pcb-4.2.2/tools/gerbertotk.c:140:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pcb-4.2.2/tools/gerbertotk.c:62:42: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/tools/gerbertotk.c:132:22: style: Parameter 'argv' can be declared as const array [constParameter] pcb-4.2.2/gts/stripe.c:170:3: warning: Null pointer dereference: v1 [ctunullpointer] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v1' is not redundant pcb-4.2.2/gts/stripe.c:687:16: note: Calling function match_vertex, 2nd argument is null pcb-4.2.2/gts/stripe.c:170:3: note: Dereferencing argument v1 that is null pcb-4.2.2/gts/stripe.c:171:3: warning: Null pointer dereference: v2 [ctunullpointer] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v2' is not redundant pcb-4.2.2/gts/stripe.c:687:16: note: Calling function match_vertex, 3rd argument is null pcb-4.2.2/gts/stripe.c:171:3: note: Dereferencing argument v2 that is null pcb-4.2.2/gts/stripe.c:171:3: warning: Null pointer dereference: v3 [ctunullpointer] pcb-4.2.2/gts/stripe.c:690:3: note: Assuming that condition 'v3' is not redundant pcb-4.2.2/gts/stripe.c:687:16: note: Calling function match_vertex, 4th argument is null pcb-4.2.2/gts/stripe.c:171:3: note: Dereferencing argument v3 that is null pcb-4.2.2/src/mymem.c:97:16: warning: If memory allocation fails, then there is a possible null pointer dereference: list [ctunullpointerOutOfMemory] pcb-4.2.2/src/rats.c:370:56: note: Assuming allocation function fails pcb-4.2.2/src/rats.c:370:30: note: Assignment 'generic=(struct PointerListType*)calloc(1,sizeof(struct PointerListType))', assigned value is 0 pcb-4.2.2/src/rats.c:374:34: note: Calling function GetPointerMemory, 1st argument is null pcb-4.2.2/src/mymem.c:97:16: note: Dereferencing argument list that is null pcb-4.2.2/src/polygon.c:1723:8: warning: Null pointer dereference: Data [ctunullpointer] pcb-4.2.2/src/buffer.c:1269:9: note: Assuming that condition 'Data' is not redundant pcb-4.2.2/src/buffer.c:1271:22: note: Calling function RestoreToPolygon, 1st argument is null pcb-4.2.2/src/polygon.c:1723:8: note: Dereferencing argument Data that is null pcb-4.2.2/src/rtree.c:1057:11: error: Null pointer dereference: rtree [ctunullpointer] pcb-4.2.2/src/autoroute.c:2970:19: note: Calling function moveable_edge, 9th argument is null pcb-4.2.2/src/autoroute.c:2659:7: note: Calling function r_insert_entry, 1st argument is null pcb-4.2.2/src/rtree.c:1057:11: note: Dereferencing argument rtree that is null pcb-4.2.2/src/toporouter.c:6269:8: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [ctunullpointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6594:26: note: Calling function oproute_check_all_loops, 2nd argument is null pcb-4.2.2/src/toporouter.c:6269:8: note: Dereferencing argument oproute that is null pcb-4.2.2/src/toporouter.c:6522:7: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [ctunullpointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6578:23: note: Calling function oproute_path_speccut, 1st argument is null pcb-4.2.2/src/toporouter.c:6522:7: note: Dereferencing argument oproute that is null diff: head edif.y:1326:84: style: Same expression on both sides of '-'. [duplicateExpression] head edif.y:4020:13: warning: If memory allocation fails, then there is a possible null pointer dereference: bck [nullPointerOutOfMemory] edif.y:4013:22: note: Assuming allocation function fails edif.y:4013:11: note: Assignment 'bck=(struct Bucket*)malloc(sizeof(struct Bucket))', assigned value is 0 edif.y:4020:13: note: Null pointer dereference head parse_y.y:1937:96: style: Same expression on both sides of '-'. [duplicateExpression] head parse_y.y:2234:88: style: Same expression on both sides of '-'. [duplicateExpression] 2.17.0 pcb-4.2.2/gts/isotetra.c:200:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s1 [nullPointerOutOfMemory] pcb-4.2.2/gts/isotetra.c:195:24: note: Assuming allocation function fails pcb-4.2.2/gts/isotetra.c:195:24: note: Assignment 's1=g_strdup_printf("%d %d %d %d",v1->x,v1->y,v1->z,v1->mid)', assigned value is 0 pcb-4.2.2/gts/isotetra.c:200:14: note: Null pointer dereference 2.17.0 pcb-4.2.2/gts/isotetra.c:200:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s2 [nullPointerOutOfMemory] pcb-4.2.2/gts/isotetra.c:196:24: note: Assuming allocation function fails pcb-4.2.2/gts/isotetra.c:196:24: note: Assignment 's2=g_strdup_printf("%d %d %d %d",v2->x,v2->y,v2->z,v2->mid)', assigned value is 0 pcb-4.2.2/gts/isotetra.c:200:18: note: Null pointer dereference 2.17.0 pcb-4.2.2/intl/os2compat.c:60:33: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/intl/os2compat.c:58:43: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:58:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:60:33: note: Null pointer addition head pcb-4.2.2/intl/os2compat.c:60:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/intl/os2compat.c:58:43: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:58:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:60:33: note: Null pointer addition 2.17.0 pcb-4.2.2/intl/os2compat.c:74:42: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/intl/os2compat.c:72:52: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:72:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:74:42: note: Null pointer addition head pcb-4.2.2/intl/os2compat.c:74:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/intl/os2compat.c:72:52: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:72:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:74:42: note: Null pointer addition 2.17.0 pcb-4.2.2/intl/os2compat.c:88:36: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/intl/os2compat.c:86:46: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:86:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:88:36: note: Null pointer addition head pcb-4.2.2/intl/os2compat.c:88:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/intl/os2compat.c:86:46: note: Assuming allocation function fails pcb-4.2.2/intl/os2compat.c:86:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 pcb-4.2.2/intl/os2compat.c:88:36: note: Null pointer addition head pcb-4.2.2/intl/xsize.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head pcb-4.2.2/src/action.c:3444:23: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3442:18: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3442:18: note: Assignment 'tmps=strdup((element_list[i])->Name[1].TextString)', assigned value is 0 pcb-4.2.2/src/action.c:3444:23: note: Null pointer dereference head pcb-4.2.2/src/action.c:3444:40: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3442:18: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3442:18: note: Assignment 'tmps=strdup((element_list[i])->Name[1].TextString)', assigned value is 0 pcb-4.2.2/src/action.c:3444:40: note: Null pointer dereference head pcb-4.2.2/src/action.c:3577:31: warning: If memory allocation fails, then there is a possible null pointer dereference: tmps [nullPointerOutOfMemory] pcb-4.2.2/src/action.c:3576:22: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3576:22: note: Assignment 'tmps=strdup(PCB->NetlistLib.Menu[i].Entry[j].ListEntry)', assigned value is 0 pcb-4.2.2/src/action.c:3577:31: note: Null pointer dereference 2.17.0 pcb-4.2.2/src/action.c:3579:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/action.c:3576:22: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3576:22: note: Assignment 'tmps=strdup(PCB->NetlistLib.Menu[i].Entry[j].ListEntry)', assigned value is 0 pcb-4.2.2/src/action.c:3579:19: note: Null pointer addition head pcb-4.2.2/src/action.c:3579:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/action.c:3576:22: note: Assuming allocation function fails pcb-4.2.2/src/action.c:3576:22: note: Assignment 'tmps=strdup(PCB->NetlistLib.Menu[i].Entry[j].ListEntry)', assigned value is 0 pcb-4.2.2/src/action.c:3579:19: note: Null pointer addition head pcb-4.2.2/src/autoroute.c:1342:21: warning: Either the condition '!rb' is redundant or there is possible null pointer dereference: rb. [nullPointerRedundantCheck] pcb-4.2.2/src/autoroute.c:1341:3: note: Assuming that condition '!rb' is not redundant pcb-4.2.2/src/autoroute.c:1342:21: note: Null pointer dereference head pcb-4.2.2/src/autoroute.c:4145:25: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] pcb-4.2.2/src/autoroute.c:4144:7: note: Assuming that condition '!p' is not redundant pcb-4.2.2/src/autoroute.c:4145:25: note: Null pointer dereference head pcb-4.2.2/src/autoroute.c:4145:43: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] pcb-4.2.2/src/autoroute.c:4144:7: note: Assuming that condition '!p' is not redundant pcb-4.2.2/src/autoroute.c:4145:43: note: Null pointer dereference 2.17.0 pcb-4.2.2/src/autoroute.c:618:3: warning: If memory allocation fails, then there is a possible null pointer dereference: rb [nullPointerOutOfMemory] pcb-4.2.2/src/autoroute.c:3380:23: note: Assuming allocation function fails pcb-4.2.2/src/autoroute.c:3380:8: note: Assignment 'rb=(struct routebox_t*)calloc(1,sizeof(*rb))', assigned value is 0 pcb-4.2.2/src/autoroute.c:3384:19: note: Calling function 'init_const_box', 1st argument 'rb' value is 0 pcb-4.2.2/src/autoroute.c:618:3: note: Null pointer dereference head pcb-4.2.2/src/buffer.c:884:22: warning: Either the condition 'line' is redundant or there is possible null pointer dereference: line. [nullPointerRedundantCheck] pcb-4.2.2/src/buffer.c:887:9: note: Assuming that condition 'line' is not redundant pcb-4.2.2/src/buffer.c:884:22: note: Null pointer dereference head pcb-4.2.2/src/buffer.c:885:22: warning: Either the condition 'line' is redundant or there is possible null pointer dereference: line. [nullPointerRedundantCheck] pcb-4.2.2/src/buffer.c:887:9: note: Assuming that condition 'line' is not redundant pcb-4.2.2/src/buffer.c:885:22: note: Null pointer dereference head pcb-4.2.2/src/create.c:378:16: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head pcb-4.2.2/src/create.c:386:16: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head pcb-4.2.2/src/create.c:499:28: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head pcb-4.2.2/src/drc/drc.c:1131:20: style: Condition 'count>0' is always true [knownConditionTrueFalse] pcb-4.2.2/src/drc/drc.c:1129:15: note: Assuming that condition 'count==0' is not redundant pcb-4.2.2/src/drc/drc.c:1131:20: note: Condition 'count>0' is always true 2.17.0 pcb-4.2.2/src/free_atexit.c:75:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/free_atexit.c:68:28: note: Assuming allocation function fails pcb-4.2.2/src/free_atexit.c:68:28: note: Assignment 'new_memory=malloc(size+sizeof(union leaky_admin_t))', assigned value is 0 pcb-4.2.2/src/free_atexit.c:75:21: note: Null pointer addition head pcb-4.2.2/src/free_atexit.c:75:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/free_atexit.c:68:28: note: Assuming allocation function fails pcb-4.2.2/src/free_atexit.c:68:28: note: Assignment 'new_memory=malloc(size+sizeof(union leaky_admin_t))', assigned value is 0 pcb-4.2.2/src/free_atexit.c:75:21: note: Null pointer addition head pcb-4.2.2/src/hid/common/hidgl.c:52:4: error: #error autoconf couldnt find gl.h [preprocessorErrorDirective] 2.17.0 pcb-4.2.2/src/hid/common/hidinit.c:109:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:273:36: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:270:47: note: Assuming allocation function fails pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:270:47: note: Assignment 'tmp=g_string_new("")', assigned value is 0 pcb-4.2.2/src/hid/gtk/ghid-main-menu.c:273:36: note: Null pointer dereference head pcb-4.2.2/src/hid/gtk/gtkhid-gl.c:30:4: error: #error autoconf couldnt find gl.h [preprocessorErrorDirective] 2.17.0 pcb-4.2.2/src/hid/gtk/gui-command-window.c:221:8: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] pcb-4.2.2/src/hid/gtk/gui-command-window.c:218:14: note: Assuming allocation function fails pcb-4.2.2/src/hid/gtk/gui-command-window.c:218:14: note: Assignment 'command=g_strdup(ghid_entry_get_text((GtkWidget*)(ghidgui->command_entry)))', assigned value is 0 pcb-4.2.2/src/hid/gtk/gui-command-window.c:221:8: note: Null pointer dereference 2.17.0 pcb-4.2.2/src/hid/gtk/gui-dialog.c:220:22: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] pcb-4.2.2/src/hid/gtk/gui-dialog.c:217:21: note: Assuming allocation function fails pcb-4.2.2/src/hid/gtk/gui-dialog.c:217:21: note: Assignment 'str=g_strconcat("",tmp,"",NULL)', assigned value is 0 pcb-4.2.2/src/hid/gtk/gui-dialog.c:220:22: note: Null pointer dereference 2.17.0 pcb-4.2.2/src/hid/gtk/gui-misc.c:299:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: bold_message [nullPointerOutOfMemory] pcb-4.2.2/src/hid/gtk/gui-misc.c:297:40: note: Assuming allocation function fails pcb-4.2.2/src/hid/gtk/gui-misc.c:297:40: note: Assignment 'bold_message=g_string_new(message)', assigned value is 0 pcb-4.2.2/src/hid/gtk/gui-misc.c:299:20: note: Null pointer dereference 2.17.0 pcb-4.2.2/src/hid/gtk/gui-misc.c:301:30: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: bold_message [nullPointerOutOfMemory] pcb-4.2.2/src/hid/gtk/gui-misc.c:297:40: note: Assuming allocation function fails pcb-4.2.2/src/hid/gtk/gui-misc.c:297:40: note: Assignment 'bold_message=g_string_new(message)', assigned value is 0 pcb-4.2.2/src/hid/gtk/gui-misc.c:301:30: note: Null pointer dereference 2.17.0 pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:370:29: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path_segments [nullPointerOutOfMemory] pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:364:32: note: Assuming allocation function fails pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:364:32: note: Assignment 'path_segments=g_strsplit(menu->Name,"/",0)', assigned value is 0 pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:370:29: note: Null pointer dereference 2.17.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:717:16: warning: If memory allocation fails, then there is a possible null pointer dereference: s [ctunullpointerOutOfMemory] pcb-4.2.2/src/hid/gtk/gui-utils.c:757:23: note: Assuming allocation function fails pcb-4.2.2/src/hid/gtk/gui-utils.c:757:23: note: Assignment 's=g_strconcat(tag,string,NULL)', assigned value is 0 pcb-4.2.2/src/hid/gtk/gui-utils.c:758:24: note: Calling function text_view_append, 2nd argument is null pcb-4.2.2/src/hid/gtk/gui-utils.c:717:16: note: Dereferencing argument s that is null 2.17.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:717:16: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] pcb-4.2.2/src/hid/gtk/gui-utils.c:788:20: note: Assuming allocation function fails pcb-4.2.2/src/hid/gtk/gui-utils.c:788:20: note: Assignment 't=g_strconcat(tag,s,NULL)', assigned value is 0 pcb-4.2.2/src/hid/gtk/gui-utils.c:789:28: note: Calling function 'text_view_append', 2nd argument 't' value is 0 pcb-4.2.2/src/hid/gtk/gui-utils.c:717:16: note: Null pointer dereference head pcb-4.2.2/src/layerflags.c:84:23: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head pcb-4.2.2/src/main.c:1270:1: error: failed to expand 'SSET', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] head pcb-4.2.2/src/misc.c:2712:2: error: #error "Don't know how to create a directory on this system." [preprocessorErrorDirective] head pcb-4.2.2/src/mtspace.c:503:39: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:503:39: note: Null pointer dereference head pcb-4.2.2/src/mtspace.c:504:36: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:504:36: note: Null pointer dereference head pcb-4.2.2/src/mtspace.c:514:39: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:514:39: note: Null pointer dereference head pcb-4.2.2/src/mtspace.c:515:36: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:515:36: note: Null pointer dereference head pcb-4.2.2/src/mtspace.c:517:29: warning: If memory allocation fails, then there is a possible null pointer dereference: work [nullPointerOutOfMemory] pcb-4.2.2/src/mtspace.c:492:28: note: Assuming allocation function fails pcb-4.2.2/src/mtspace.c:492:14: note: Assignment 'work=(struct vetting_t*)calloc(1,sizeof(struct vetting_t))', assigned value is 0 pcb-4.2.2/src/mtspace.c:517:29: note: Null pointer dereference head pcb-4.2.2/src/object_list.c:60:26: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] pcb-4.2.2/src/object_list.c:54:45: note: Assuming allocation function fails pcb-4.2.2/src/object_list.c:54:24: note: Assignment 'list=(struct object_list*)malloc(sizeof(struct object_list))', assigned value is 0 pcb-4.2.2/src/object_list.c:60:26: note: Null pointer dereference 2.17.0 pcb-4.2.2/src/pcb-printf.c:185:20: warning: If memory allocation fails, then there is a possible null pointer dereference: suffix [nullPointerOutOfMemory] pcb-4.2.2/src/pcb-printf.c:180:29: note: Assuming allocation function fails pcb-4.2.2/src/pcb-printf.c:180:29: note: Assignment 'm_suffix=g_strdup(const_suffix)', assigned value is 0 pcb-4.2.2/src/pcb-printf.c:182:18: note: Assignment 'suffix=m_suffix', assigned value is 0 pcb-4.2.2/src/pcb-printf.c:185:20: note: Null pointer dereference head pcb-4.2.2/src/pcb-printf.c:432:24: error: Uninitialized variable: filemode_buff [uninitvar] head pcb-4.2.2/src/pcb-printf.c:577:36: error: Uninitialized variable: buffer [uninitvar] 2.17.0 pcb-4.2.2/src/renumber.c:101:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/renumber.c:99:24: note: Assuming allocation function fails pcb-4.2.2/src/renumber.c:99:15: note: Assignment 'new_ref=(char*)calloc(1,refdes_split-old_ref+strlen(num_buf)+1)', assigned value is 0 pcb-4.2.2/src/renumber.c:101:21: note: Null pointer addition head pcb-4.2.2/src/renumber.c:101:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/renumber.c:99:24: note: Assuming allocation function fails pcb-4.2.2/src/renumber.c:99:15: note: Assignment 'new_ref=(char*)calloc(1,refdes_split-old_ref+strlen(num_buf)+1)', assigned value is 0 pcb-4.2.2/src/renumber.c:101:21: note: Null pointer addition 2.17.0 pcb-4.2.2/src/renumber.c:171:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/renumber.c:169:24: note: Assuming allocation function fails pcb-4.2.2/src/renumber.c:169:15: note: Assignment 'new_ref=(char*)calloc(1,refdes_split-old_ref+strlen(num_buf)+1)', assigned value is 0 pcb-4.2.2/src/renumber.c:171:21: note: Null pointer addition head pcb-4.2.2/src/renumber.c:171:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/renumber.c:169:24: note: Assuming allocation function fails pcb-4.2.2/src/renumber.c:169:15: note: Assignment 'new_ref=(char*)calloc(1,refdes_split-old_ref+strlen(num_buf)+1)', assigned value is 0 pcb-4.2.2/src/renumber.c:171:21: note: Null pointer addition 2.17.0 pcb-4.2.2/src/strflags.c:376:6: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/strflags.c:371:24: note: Assuming allocation function fails pcb-4.2.2/src/strflags.c:371:8: note: Assignment 'buf=(char*)malloc(len)', assigned value is 0 pcb-4.2.2/src/strflags.c:375:6: note: bp is assigned 'buf' here. pcb-4.2.2/src/strflags.c:376:6: note: Null pointer addition head pcb-4.2.2/src/strflags.c:376:6: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pcb-4.2.2/src/strflags.c:371:24: note: Assuming allocation function fails pcb-4.2.2/src/strflags.c:371:8: note: Assignment 'buf=(char*)malloc(len)', assigned value is 0 pcb-4.2.2/src/strflags.c:375:6: note: bp is assigned 'buf' here. pcb-4.2.2/src/strflags.c:376:6: note: Null pointer addition head pcb-4.2.2/src/toporouter.c:2586:10: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:2584:53: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:2584:29: note: Assignment 'c=(struct toporouter_cluster_t*)calloc(1,sizeof(struct toporouter_cluster_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:2586:10: note: Null pointer dereference head pcb-4.2.2/src/toporouter.c:5832:34: style: Variable 'x' is assigned a value that is never used. [unreadVariable] head pcb-4.2.2/src/toporouter.c:5832:43: style: Variable 'y' is assigned a value that is never used. [unreadVariable] head pcb-4.2.2/src/toporouter.c:6269:8: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [ctunullpointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6594:26: note: Calling function oproute_check_all_loops, 2nd argument is null pcb-4.2.2/src/toporouter.c:6269:8: note: Dereferencing argument oproute that is null head pcb-4.2.2/src/toporouter.c:6522:7: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [ctunullpointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6578:23: note: Calling function oproute_path_speccut, 1st argument is null pcb-4.2.2/src/toporouter.c:6522:7: note: Dereferencing argument oproute that is null head pcb-4.2.2/src/toporouter.c:6566:32: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6566:32: note: Null pointer dereference head pcb-4.2.2/src/toporouter.c:6567:34: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6567:34: note: Null pointer dereference head pcb-4.2.2/src/toporouter.c:6568:25: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6568:25: note: Null pointer dereference head pcb-4.2.2/src/toporouter.c:6592:66: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6592:66: note: Null pointer dereference head pcb-4.2.2/src/toporouter.c:6592:82: warning: If memory allocation fails, then there is a possible null pointer dereference: oproute [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6559:59: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6559:35: note: Assignment 'oproute=(struct toporouter_oproute_t*)calloc(1,sizeof(struct toporouter_oproute_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6592:82: note: Null pointer dereference head pcb-4.2.2/src/toporouter.c:6640:23: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6640:23: note: Null pointer dereference head pcb-4.2.2/src/toporouter.c:6642:20: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6642:20: note: Null pointer dereference head pcb-4.2.2/src/toporouter.c:6643:21: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6643:21: note: Null pointer dereference head pcb-4.2.2/src/toporouter.c:6644:22: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6644:22: note: Null pointer dereference head pcb-4.2.2/src/toporouter.c:6648:29: warning: If memory allocation fails, then there is a possible null pointer dereference: routedata [nullPointerOutOfMemory] pcb-4.2.2/src/toporouter.c:6635:57: note: Assuming allocation function fails pcb-4.2.2/src/toporouter.c:6635:35: note: Assignment 'routedata=(struct toporouter_route_t*)calloc(1,sizeof(struct toporouter_route_t))', assigned value is 0 pcb-4.2.2/src/toporouter.c:6648:29: note: Null pointer dereference 2.17.0 pcb-4.2.2/src/toporouter.c:6868:5: error: Memory leak: netscore [memleak] head pcb-4.2.2/src/undo.c:1846:38: warning: If memory allocation fails, then there is a possible null pointer dereference: old [nullPointerOutOfMemory] pcb-4.2.2/src/undo.c:1842:53: note: Assuming allocation function fails pcb-4.2.2/src/undo.c:1842:38: note: Assignment 'undo->Data.NetlistChange.old=(struct LibraryType*)calloc(1,sizeof(struct LibraryType))', assigned value is 0 pcb-4.2.2/src/undo.c:1843:11: note: old is assigned 'undo->Data.NetlistChange.old' here. pcb-4.2.2/src/undo.c:1846:38: note: Null pointer dereference DONE