2026-06-29 02:04 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-124-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.21.0 head-info: 86f4c91 (2026-06-26 08:32:09 +0200) count: 4149 4207 elapsed-time: 112.1 117.0 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 variable pcb-4.2.2/gts/bbtree.c:895:13: note: Shadow local 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:270:20: style: Variable 'c' can be declared as pointer to const [constVariablePointer] 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/gts.h:294:20: style: Variable 'c' can be declared as pointer to const [constVariablePointer] 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:1992:7: style: Condition '!gts_surface_foreach_intersecting_face(s,(GtsBBTreeTraverseFunc*)add_intersecting,intersected)' is always true [knownConditionTrueFalse] pcb-4.2.2/gts/boolean.c:1992:46: note: Calling function 'gts_surface_foreach_intersecting_face' returns 0 pcb-4.2.2/gts/boolean.c:1992:7: note: Condition '!gts_surface_foreach_intersecting_face(s,(GtsBBTreeTraverseFunc*)add_intersecting,intersected)' is always true 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 variable pcb-4.2.2/gts/boolean.c:1754:14: note: Shadow local variable pcb-4.2.2/gts/boolean.c:325:11: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:746:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/boolean.c:758:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] 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:101:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/cdt.c:118: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:101: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 variable pcb-4.2.2/gts/curvature.c:408:15: note: Shadow local 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:411:43: style: Parameter 't' can be declared as pointer to const [constParameterPointer] 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/heap.c:163:15: style: Variable 'elts' can be declared as pointer to const [constVariablePointer] 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 variable pcb-4.2.2/gts/hsurface.c:363:19: note: Shadow local 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 variable pcb-4.2.2/gts/hsurface.c:372:19: note: Shadow local 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 variable pcb-4.2.2/gts/gts.h:270:20: note: Shadow local 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 variable pcb-4.2.2/gts/gts.h:294:20: note: Shadow local 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/matrix.c:120:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] 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:291:12: style: Condition 'seed==NULL' is always true [knownConditionTrueFalse] pcb-4.2.2/gts/partition.c:276:21: note: Assignment 'seed=NULL', assigned value is 0 pcb-4.2.2/gts/partition.c:282:3: note: Assuming condition is false pcb-4.2.2/gts/partition.c:283:3: note: Assuming condition is false pcb-4.2.2/gts/partition.c:291:12: note: Condition 'seed==NULL' is always true 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 variable pcb-4.2.2/gts/partition.c:318:18: note: Shadow local 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 variable pcb-4.2.2/gts/partition.c:319:18: note: Shadow local 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 variable pcb-4.2.2/gts/partition.c:331:13: note: Shadow local 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 variable pcb-4.2.2/gts/partition.c:332:13: note: Shadow local 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 variable pcb-4.2.2/gts/partition.c:760:16: note: Shadow local 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 variable pcb-4.2.2/gts/partition.c:806:16: note: Shadow local 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 variable pcb-4.2.2/gts/partition.c:977:16: note: Shadow local 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 variable pcb-4.2.2/gts/split.c:817:14: note: Shadow local 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 variable pcb-4.2.2/gts/surface.c:1331:16: note: Shadow local 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 variable pcb-4.2.2/gts/surface.c:1387:18: note: Shadow local 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 variable pcb-4.2.2/gts/surface.c:1401:18: note: Shadow local 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 variable pcb-4.2.2/gts/surface.c:1460:12: note: Shadow local 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 argument pcb-4.2.2/gts/surface.c:2672:14: note: Shadow local 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 argument pcb-4.2.2/gts/surface.c:2701:14: note: Shadow local 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:31:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:108:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:169:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:279:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:316:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:376:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:435:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:492:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangles [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:551:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v2 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:604:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:647:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangles [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:673:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangles [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:783:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:823:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v2 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:867:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:919:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:1075:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] pcb-4.2.2/gts/triangle.c:551:7: warning: Possible null pointer dereference: (struct GtsSegment*)(ee1) [nullPointer] pcb-4.2.2/gts/triangle.c:549:0: note: Assignment 'ee1=NULL', assigned value is 0 pcb-4.2.2/gts/triangle.c:551:7: note: Null pointer dereference pcb-4.2.2/gts/triangle.c:551:32: warning: Possible null pointer dereference: (struct GtsSegment*)(ee2) [nullPointer] pcb-4.2.2/gts/triangle.c:549:17: note: Assignment 'ee2=NULL', assigned value is 0 pcb-4.2.2/gts/triangle.c:551:32: note: Null pointer dereference pcb-4.2.2/gts/triangle.c:197:68: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:199:16: style: Variable 's1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:199:22: style: Variable 's2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:199:28: style: Variable 's3' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:261:22: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:371:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:371:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:371:26: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:608:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:639:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:649:21: style: Variable 't1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:692:52: style: Parameter 't1' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:693:24: style: Parameter 't2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:716:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:717:13: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:717:19: style: Variable 'e3' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:746:21: style: Parameter 'e2' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:747:21: style: Parameter 'e3' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:749:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:886:47: style: Parameter 'A' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:887:19: style: Parameter 'B' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:888:19: style: Parameter 'C' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:889:19: style: Parameter 'D' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:915:20: style: Parameter 'A' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:916:20: style: Parameter 'B' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/gts/triangle.c:1069:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:1069:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/gts/triangle.c:1069:26: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] 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 variable pcb-4.2.2/gts/vopt.c:357:11: note: Shadow local 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 variable pcb-4.2.2/gts/vopt.c:384:22: note: Shadow local 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 variable pcb-4.2.2/intl/bindtextdom.c:230:12: note: Shadow local 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 variable pcb-4.2.2/intl/bindtextdom.c:259:15: note: Shadow local 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: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:640:14: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] 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 variable pcb-4.2.2/intl/tsearch.c:182:8: note: Shadow local 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 variable pcb-4.2.2/intl/tsearch.c:282:12: note: Shadow local 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 variable pcb-4.2.2/intl/tsearch.c:343:12: note: Shadow local 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 variable pcb-4.2.2/intl/tsearch.c:368:8: note: Shadow local 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 variable pcb-4.2.2/intl/tsearch.c:618:14: note: Shadow local 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 variable pcb-4.2.2/intl/tsearch.c:641:14: note: Shadow local 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] pcb-4.2.2/intl/plural-exp.c:112:10: style: Variable 'endp' 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.c:1237:24: style:inconclusive: Function 'PLURAL_PARSE' argument 1 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] plural.y:380:29: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] 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: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: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: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: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:759:23: style:inconclusive: Function 'GetFunctionID' argument 1 names different: declaration '' definition 'Ident'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/action.c:2117:25: style:inconclusive: Function 'EventMoveCrosshair' argument 1 names different: declaration '' definition 'ev_x'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/action.c:2117:35: style:inconclusive: Function 'EventMoveCrosshair' argument 2 names different: declaration '' definition 'ev_y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/action.c:6809:19: style:inconclusive: Function 'ChangeFlag' argument 1 names different: declaration '' definition 'what'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/action.c:6809:31: style:inconclusive: Function 'ChangeFlag' argument 2 names different: declaration '' definition 'flag_name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/action.c:6809:46: style:inconclusive: Function 'ChangeFlag' argument 3 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/action.c:6809:59: style:inconclusive: Function 'ChangeFlag' argument 4 names different: declaration '' definition 'cmd_name'. [funcArgNamesDifferentUnnamed] 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 variable pcb-4.2.2/src/action.c:668:15: note: Shadow local 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 variable pcb-4.2.2/src/action.c:1583:10: note: Shadow local 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 variable pcb-4.2.2/src/action.c:1605:10: note: Shadow local 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 variable pcb-4.2.2/src/action.c:3073:10: note: Shadow local 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 argument pcb-4.2.2/src/action.c:5522:12: note: Shadow local 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 argument pcb-4.2.2/src/action.c:5522:15: note: Shadow local 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 argument pcb-4.2.2/src/action.c:6182:12: note: Shadow local 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 argument pcb-4.2.2/src/action.c:6182:15: note: Shadow local 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 argument pcb-4.2.2/src/action.c:7934:13: note: Shadow local 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 argument pcb-4.2.2/src/action.c:7934:16: note: Shadow local 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:1123:14: style: Variable 'bx' 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:2175:9: style: Variable 'val' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/action.c:2176:9: style: Variable 'units' 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:3297:22: style: Variable 'pin' 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:548:27: style: Variable 'boxp' 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 'i' definition 'selected'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/autoroute.c:1750:13: style: Argument 'cost_to_point' shadows outer function [shadowFunction] pcb-4.2.2/src/autoroute.c:1361:1: note: Shadowed function pcb-4.2.2/src/autoroute.c:1750:13: note: Shadow argument pcb-4.2.2/src/autoroute.c:2533:62: style: Argument 'area_vec' shadows outer variable [shadowVariable] pcb-4.2.2/src/autoroute.c:3943:11: note: Shadowed variable pcb-4.2.2/src/autoroute.c:2533:62: note: Shadow argument pcb-4.2.2/src/autoroute.c:2799:14: style: Argument 'area_vec' shadows outer variable [shadowVariable] pcb-4.2.2/src/autoroute.c:3943:11: note: Shadowed variable pcb-4.2.2/src/autoroute.c:2799:14: note: Shadow argument pcb-4.2.2/src/autoroute.c:4363:12: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/src/autoroute.c:4075:13: note: Shadowed variable pcb-4.2.2/src/autoroute.c:4363:12: note: Shadow local variable pcb-4.2.2/src/autoroute.c:5265:11: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/src/autoroute.c:5233:7: note: Shadowed variable pcb-4.2.2/src/autoroute.c:5265:11: note: Shadow local variable pcb-4.2.2/src/autoroute.c:5399:11: style: Local variable 'i' shadows outer variable [shadowVariable] pcb-4.2.2/src/autoroute.c:5233:7: note: Shadowed variable pcb-4.2.2/src/autoroute.c:5399:11: note: Shadow local variable pcb-4.2.2/src/autoroute.c:509:37: style: Parameter 'cl' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/autoroute.c:511:15: style: Variable 'rb' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/autoroute.c:547:6: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/autoroute.c:1020:7: style: Variable 'layer' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/autoroute.c:1684:34: style: Variable 'mtc' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/autoroute.c:1881:19: style: Variable 'target' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/autoroute.c:2090:47: style: Parameter 'src_edge' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/autoroute.c:2262:46: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/autoroute.c:2457:14: style: Parameter 'box' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/autoroute.c:3141:45: style: Parameter 'rb' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/autoroute.c:4653:35: style: Parameter 'cl' can be declared as pointer to const. However it seems that 'bad_boy' 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/autoroute.c:4672:56: note: You might need to cast the function pointer here pcb-4.2.2/src/autoroute.c:4653:35: note: Parameter 'cl' can be declared as pointer to const pcb-4.2.2/src/autoroute.c:4655:15: style: Variable 'box' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/autoroute.c:4722:45: style: Parameter 'ras' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/autoroute.c:5046:12: style: Variable 'pin' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/buffer.c:381:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:825:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ElementN [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:881:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:985:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:1173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:1259:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:1308:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:1403:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUFFER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:1412:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUFFER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:1424:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_BUFFER [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:1451:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:1504:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/buffer.c:1004: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/buffer.c:1048:4: 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/buffer.c:1078:4: 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/buffer.c:602:4: warning: If memory allocation fails, then there is a possible null pointer dereference: footprint_hash [nullPointerOutOfMemory] pcb-4.2.2/src/buffer.c:586:42: note: Assuming allocation function fails pcb-4.2.2/src/buffer.c:586:20: note: Assignment 'footprint_hash=(struct FootprintHashEntry*)calloc(1,num_entries*sizeof(struct FootprintHashEntry))', assigned value is 0 pcb-4.2.2/src/buffer.c:602:4: note: Null pointer dereference pcb-4.2.2/src/buffer.c:603:4: warning: If memory allocation fails, then there is a possible null pointer dereference: footprint_hash [nullPointerOutOfMemory] pcb-4.2.2/src/buffer.c:586:42: note: Assuming allocation function fails pcb-4.2.2/src/buffer.c:586:20: note: Assignment 'footprint_hash=(struct FootprintHashEntry*)calloc(1,num_entries*sizeof(struct FootprintHashEntry))', assigned value is 0 pcb-4.2.2/src/buffer.c:603:4: note: Null pointer dereference pcb-4.2.2/src/buffer.c:651:10: warning: If memory allocation fails, then there is a possible null pointer dereference: footprint_hash [nullPointerOutOfMemory] pcb-4.2.2/src/buffer.c:586:42: note: Assuming allocation function fails pcb-4.2.2/src/buffer.c:586:20: note: Assignment 'footprint_hash=(struct FootprintHashEntry*)calloc(1,num_entries*sizeof(struct FootprintHashEntry))', assigned value is 0 pcb-4.2.2/src/buffer.c:651:10: note: Null pointer dereference pcb-4.2.2/src/buffer.c:884:6: 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:6: note: Null pointer dereference 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 pcb-4.2.2/src/buffer.c:885:6: 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:6: note: Null pointer dereference 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 pcb-4.2.2/src/buffer.c:886:6: 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:886:6: note: Null pointer dereference pcb-4.2.2/src/buffer.c:1449:13: style: Redundant assignment of 'Buffer->X' 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:121:26: style:inconclusive: Function 'AddViaToBuffer' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:132:26: style:inconclusive: Function 'AddRatToBuffer' argument 1 names different: declaration '' definition 'Rat'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:144:29: style:inconclusive: Function 'AddLineToBuffer' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:144:46: style:inconclusive: Function 'AddLineToBuffer' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:163:28: style:inconclusive: Function 'AddArcToBuffer' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:163:44: style:inconclusive: Function 'AddArcToBuffer' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:178:29: style:inconclusive: Function 'AddTextToBuffer' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:178:46: style:inconclusive: Function 'AddTextToBuffer' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:191:32: style:inconclusive: Function 'AddPolygonToBuffer' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:191:52: style:inconclusive: Function 'AddPolygonToBuffer' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:215:34: style:inconclusive: Function 'AddElementToBuffer' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:225:27: style:inconclusive: Function 'MoveViaToBuffer' argument 1 names different: declaration '' definition 'via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:248:27: style:inconclusive: Function 'MoveRatToBuffer' argument 1 names different: declaration '' definition 'rat'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:269:30: style:inconclusive: Function 'MoveLineToBuffer' argument 1 names different: declaration '' definition 'layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:269:47: style:inconclusive: Function 'MoveLineToBuffer' argument 2 names different: declaration '' definition 'line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:294:29: style:inconclusive: Function 'MoveArcToBuffer' argument 1 names different: declaration '' definition 'layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:294:45: style:inconclusive: Function 'MoveArcToBuffer' argument 2 names different: declaration '' definition 'arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:319:30: style:inconclusive: Function 'MoveTextToBuffer' argument 1 names different: declaration '' definition 'layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:319:47: style:inconclusive: Function 'MoveTextToBuffer' argument 2 names different: declaration '' definition 'text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:344:33: style:inconclusive: Function 'MovePolygonToBuffer' argument 1 names different: declaration '' definition 'layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:344:53: style:inconclusive: Function 'MovePolygonToBuffer' argument 2 names different: declaration '' definition 'polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:368:35: style:inconclusive: Function 'MoveElementToBuffer' argument 1 names different: declaration '' definition 'element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:415:35: style:inconclusive: Function 'SetBufferBoundingBox' argument 1 names different: declaration '' definition 'Buffer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:427:26: style:inconclusive: Function 'ClearBuffer' argument 1 names different: declaration '' definition 'Buffer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:442:34: style:inconclusive: Function 'AddSelectedToBuffer' argument 1 names different: declaration '' definition 'Buffer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:442:48: style:inconclusive: Function 'AddSelectedToBuffer' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:442:57: style:inconclusive: Function 'AddSelectedToBuffer' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:442:65: style:inconclusive: Function 'AddSelectedToBuffer' argument 4 names different: declaration '' definition 'LeaveSelected'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:478:34: style:inconclusive: Function 'LoadElementToBuffer' argument 1 names different: declaration '' definition 'Buffer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:478:48: style:inconclusive: Function 'LoadElementToBuffer' argument 2 names different: declaration '' definition 'Name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:478:59: style:inconclusive: Function 'LoadElementToBuffer' argument 3 names different: declaration '' definition 'FromFile'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:857:33: style:inconclusive: Function 'SmashBufferElement' argument 1 names different: declaration '' definition 'Buffer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:972:37: style:inconclusive: Function 'ConvertBufferToElement' argument 1 names different: declaration '' definition 'Buffer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1141:33: style:inconclusive: Function 'LoadLayoutToBuffer' argument 1 names different: declaration '' definition 'Buffer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1141:47: style:inconclusive: Function 'LoadLayoutToBuffer' argument 2 names different: declaration '' definition 'Filename'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1170:27: style:inconclusive: Function 'RotateBuffer' argument 1 names different: declaration '' definition 'Buffer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1170:40: style:inconclusive: Function 'RotateBuffer' argument 2 names different: declaration '' definition 'Number'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1430:27: style:inconclusive: Function 'MirrorBuffer' argument 1 names different: declaration '' definition 'Buffer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1498:25: style:inconclusive: Function 'SwapBuffer' argument 1 names different: declaration '' definition 'Buffer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1625:31: style:inconclusive: Function 'MoveObjectToBuffer' argument 1 names different: declaration '' definition 'Destination'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1625:54: style:inconclusive: Function 'MoveObjectToBuffer' argument 2 names different: declaration '' definition 'Src'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1626:11: style:inconclusive: Function 'MoveObjectToBuffer' argument 3 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1626:23: style:inconclusive: Function 'MoveObjectToBuffer' argument 4 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1626:35: style:inconclusive: Function 'MoveObjectToBuffer' argument 5 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1626:47: style:inconclusive: Function 'MoveObjectToBuffer' argument 6 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1638:31: style:inconclusive: Function 'CopyObjectToBuffer' argument 1 names different: declaration '' definition 'Destination'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1638:54: style:inconclusive: Function 'CopyObjectToBuffer' argument 2 names different: declaration '' definition 'Src'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1639:11: style:inconclusive: Function 'CopyObjectToBuffer' argument 3 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1639:23: style:inconclusive: Function 'CopyObjectToBuffer' argument 4 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1639:35: style:inconclusive: Function 'CopyObjectToBuffer' argument 5 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/buffer.c:1639:47: style:inconclusive: Function 'CopyObjectToBuffer' argument 6 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] 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:354:28: style:inconclusive: Function 'ChangeViaThermal' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:375:32: style:inconclusive: Function 'ChangePinThermal' argument 1 names different: declaration '' definition 'element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:375:50: style:inconclusive: Function 'ChangePinThermal' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:396:25: style:inconclusive: Function 'ChangeViaSize' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:432:28: style:inconclusive: Function 'ChangeVia2ndSize' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:465:30: style:inconclusive: Function 'ChangeViaClearSize' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:500:29: style:inconclusive: Function 'ChangePinSize' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:500:47: style:inconclusive: Function 'ChangePinSize' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:533:34: style:inconclusive: Function 'ChangePinClearSize' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:533:52: style:inconclusive: Function 'ChangePinClearSize' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:566:29: style:inconclusive: Function 'ChangePadSize' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:566:47: style:inconclusive: Function 'ChangePadSize' argument 2 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:596:34: style:inconclusive: Function 'ChangePadClearSize' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:596:52: style:inconclusive: Function 'ChangePadClearSize' argument 2 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:629:36: style:inconclusive: Function 'ChangeElement2ndSize' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:671:32: style:inconclusive: Function 'ChangePin2ndSize' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:671:50: style:inconclusive: Function 'ChangePin2ndSize' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:704:28: style:inconclusive: Function 'ChangeLineSize' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:704:45: style:inconclusive: Function 'ChangeLineSize' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:733:33: style:inconclusive: Function 'ChangeLineClearSize' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:733:50: style:inconclusive: Function 'ChangeLineClearSize' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:765:36: style:inconclusive: Function 'ChangePolygonClearSize' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:765:56: style:inconclusive: Function 'ChangePolygonClearSize' argument 2 names different: declaration '' definition 'poly'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:787:27: style:inconclusive: Function 'ChangeArcSize' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:787:43: style:inconclusive: Function 'ChangeArcSize' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:816:32: style:inconclusive: Function 'ChangeArcClearSize' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:816:48: style:inconclusive: Function 'ChangeArcClearSize' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:850:28: style:inconclusive: Function 'ChangeTextSize' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:850:45: style:inconclusive: Function 'ChangeTextSize' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:881:33: style:inconclusive: Function 'ChangeElementSize' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:929:37: style:inconclusive: Function 'ChangeElementNameSize' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:959:25: style:inconclusive: Function 'ChangeViaName' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:978:29: style:inconclusive: Function 'ChangePinName' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:978:47: style:inconclusive: Function 'ChangePinName' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:998:29: style:inconclusive: Function 'ChangePadName' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:998:47: style:inconclusive: Function 'ChangePadName' argument 2 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1018:28: style:inconclusive: Function 'ChangeLineName' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1018:45: style:inconclusive: Function 'ChangeLineName' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1064:33: style:inconclusive: Function 'ChangeElementName' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1090:28: style:inconclusive: Function 'ChangeTextName' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1090:45: style:inconclusive: Function 'ChangeTextName' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1114:25: style:inconclusive: Function 'ChangeLayoutName' argument 1 names different: declaration '' definition 'Name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1128:33: style:inconclusive: Function 'ChangeElementSide' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1128:48: style:inconclusive: Function 'ChangeElementSide' argument 2 names different: declaration '' definition 'yoff'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1144:29: style:inconclusive: Function 'ChangeLayerName' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1144:42: style:inconclusive: Function 'ChangeLayerName' argument 2 names different: declaration '' definition 'Name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1156:28: style:inconclusive: Function 'ChangeLineJoin' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1156:45: style:inconclusive: Function 'ChangeLineJoin' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1181:25: style:inconclusive: Function 'SetLineJoin' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1181:42: style:inconclusive: Function 'SetLineJoin' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1192:25: style:inconclusive: Function 'ClrLineJoin' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1192:42: style:inconclusive: Function 'ClrLineJoin' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1203:27: style:inconclusive: Function 'ChangeArcJoin' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1203:43: style:inconclusive: Function 'ChangeArcJoin' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1228:24: style:inconclusive: Function 'SetArcJoin' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1228:40: style:inconclusive: Function 'SetArcJoin' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1239:24: style:inconclusive: Function 'ClrArcJoin' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1239:40: style:inconclusive: Function 'ClrArcJoin' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1250:28: style:inconclusive: Function 'ChangeTextJoin' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1250:45: style:inconclusive: Function 'ChangeTextJoin' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1275:25: style:inconclusive: Function 'SetTextJoin' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1275:42: style:inconclusive: Function 'SetTextJoin' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1286:25: style:inconclusive: Function 'ClrTextJoin' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1286:42: style:inconclusive: Function 'ClrTextJoin' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1297:35: style:inconclusive: Function 'ChangeElementSquare' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1320:32: style:inconclusive: Function 'SetElementSquare' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1343:32: style:inconclusive: Function 'ClrElementSquare' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1366:36: style:inconclusive: Function 'ChangeElementOctagon' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1385:33: style:inconclusive: Function 'SetElementOctagon' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1404:33: style:inconclusive: Function 'ClrElementOctagon' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1423:31: style:inconclusive: Function 'ChangePadSquare' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1423:49: style:inconclusive: Function 'ChangePadSquare' argument 2 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1442:28: style:inconclusive: Function 'SetPadSquare' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1442:46: style:inconclusive: Function 'SetPadSquare' argument 2 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1456:28: style:inconclusive: Function 'ClrPadSquare' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1456:46: style:inconclusive: Function 'ClrPadSquare' argument 2 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1470:31: style:inconclusive: Function 'ChangePinSquare' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1470:49: style:inconclusive: Function 'ChangePinSquare' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1489:28: style:inconclusive: Function 'SetPinSquare' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1489:46: style:inconclusive: Function 'SetPinSquare' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1501:28: style:inconclusive: Function 'ClrPinSquare' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1501:46: style:inconclusive: Function 'ClrPinSquare' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1513:28: style:inconclusive: Function 'ChangeViaOctagon' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1532:25: style:inconclusive: Function 'SetViaOctagon' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1544:25: style:inconclusive: Function 'ClrViaOctagon' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1556:32: style:inconclusive: Function 'ChangePinOctagon' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1556:50: style:inconclusive: Function 'ChangePinOctagon' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1575:29: style:inconclusive: Function 'SetPinOctagon' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1575:47: style:inconclusive: Function 'SetPinOctagon' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1587:29: style:inconclusive: Function 'ClrPinOctagon' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1587:47: style:inconclusive: Function 'ClrPinOctagon' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1599:22: style:inconclusive: Function 'ChangeHole' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1642:23: style:inconclusive: Function 'ChangePaste' argument 1 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1658:29: style:inconclusive: Function 'ChangePolyClear' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1658:49: style:inconclusive: Function 'ChangePolyClear' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1705:29: style:inconclusive: Function 'ChangeSelectedThermals' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1705:40: style:inconclusive: Function 'ChangeSelectedThermals' argument 2 names different: declaration '' definition 'therm_style'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1727:30: style:inconclusive: Function 'ChangeSelectedViaLayers' argument 1 names different: declaration '' definition 'from'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1727:40: style:inconclusive: Function 'ChangeSelectedViaLayers' argument 2 names different: declaration '' definition 'to'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1790:25: style:inconclusive: Function 'ChangeSelectedSize' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1790:38: style:inconclusive: Function 'ChangeSelectedSize' argument 2 names different: declaration '' definition 'Difference'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1790:55: style:inconclusive: Function 'ChangeSelectedSize' argument 3 names different: declaration '' definition 'fixIt'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1813:30: style:inconclusive: Function 'ChangeSelectedClearSize' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1813:43: style:inconclusive: Function 'ChangeSelectedClearSize' argument 2 names different: declaration '' definition 'Difference'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1813:60: style:inconclusive: Function 'ChangeSelectedClearSize' argument 3 names different: declaration '' definition 'fixIt'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1839:28: style:inconclusive: Function 'ChangeSelected2ndSize' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1839:41: style:inconclusive: Function 'ChangeSelected2ndSize' argument 2 names different: declaration '' definition 'Difference'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1839:58: style:inconclusive: Function 'ChangeSelected2ndSize' argument 3 names different: declaration '' definition 'fixIt'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1862:25: style:inconclusive: Function 'ChangeSelectedJoin' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1882:22: style:inconclusive: Function 'SetSelectedJoin' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1902:22: style:inconclusive: Function 'ClrSelectedJoin' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1922:27: style:inconclusive: Function 'ChangeSelectedSquare' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1941:24: style:inconclusive: Function 'SetSelectedSquare' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1961:24: style:inconclusive: Function 'ClrSelectedSquare' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:1981:28: style:inconclusive: Function 'ChangeSelectedOctagon' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2001:25: style:inconclusive: Function 'SetSelectedOctagon' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2021:25: style:inconclusive: Function 'ClrSelectedOctagon' argument 1 names different: declaration '' definition 'types'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2090:23: style:inconclusive: Function 'ChangeObjectSize' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2090:35: style:inconclusive: Function 'ChangeObjectSize' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2090:47: style:inconclusive: Function 'ChangeObjectSize' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2090:59: style:inconclusive: Function 'ChangeObjectSize' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2091:11: style:inconclusive: Function 'ChangeObjectSize' argument 5 names different: declaration '' definition 'Difference'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2091:28: style:inconclusive: Function 'ChangeObjectSize' argument 6 names different: declaration '' definition 'fixIt'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2114:28: style:inconclusive: Function 'ChangeObjectClearSize' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2114:40: style:inconclusive: Function 'ChangeObjectClearSize' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2114:52: style:inconclusive: Function 'ChangeObjectClearSize' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2114:64: style:inconclusive: Function 'ChangeObjectClearSize' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2115:16: style:inconclusive: Function 'ChangeObjectClearSize' argument 5 names different: declaration '' definition 'Difference'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2115:33: style:inconclusive: Function 'ChangeObjectClearSize' argument 6 names different: declaration '' definition 'fixIt'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2145:26: style:inconclusive: Function 'ChangeObjectThermal' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2145:38: style:inconclusive: Function 'ChangeObjectThermal' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2145:50: style:inconclusive: Function 'ChangeObjectThermal' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2145:62: style:inconclusive: Function 'ChangeObjectThermal' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2146:12: style:inconclusive: Function 'ChangeObjectThermal' argument 5 names different: declaration '' definition 'therm_type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2169:30: style:inconclusive: Function 'ChangeObjectViaLayers' argument 1 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2169:42: style:inconclusive: Function 'ChangeObjectViaLayers' argument 2 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2169:54: style:inconclusive: Function 'ChangeObjectViaLayers' argument 3 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2170:12: style:inconclusive: Function 'ChangeObjectViaLayers' argument 4 names different: declaration '' definition 'from'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2170:22: style:inconclusive: Function 'ChangeObjectViaLayers' argument 5 names different: declaration '' definition 'to'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2230:26: style:inconclusive: Function 'ChangeObject2ndSize' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2230:38: style:inconclusive: Function 'ChangeObject2ndSize' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2230:50: style:inconclusive: Function 'ChangeObject2ndSize' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2230:62: style:inconclusive: Function 'ChangeObject2ndSize' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2231:14: style:inconclusive: Function 'ChangeObject2ndSize' argument 5 names different: declaration '' definition 'Difference'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2231:31: style:inconclusive: Function 'ChangeObject2ndSize' argument 6 names different: declaration '' definition 'fixIt'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2231:43: style:inconclusive: Function 'ChangeObject2ndSize' argument 7 names different: declaration '' definition 'incundo'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2256:27: style:inconclusive: Function 'ChangeObjectMaskSize' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2256:39: style:inconclusive: Function 'ChangeObjectMaskSize' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2256:51: style:inconclusive: Function 'ChangeObjectMaskSize' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2256:63: style:inconclusive: Function 'ChangeObjectMaskSize' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2257:15: style:inconclusive: Function 'ChangeObjectMaskSize' argument 5 names different: declaration '' definition 'Difference'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2257:32: style:inconclusive: Function 'ChangeObjectMaskSize' argument 6 names different: declaration '' definition 'fixIt'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2284:23: style:inconclusive: Function 'ChangeObjectName' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2284:35: style:inconclusive: Function 'ChangeObjectName' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2284:47: style:inconclusive: Function 'ChangeObjectName' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2284:59: style:inconclusive: Function 'ChangeObjectName' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2284:71: style:inconclusive: Function 'ChangeObjectName' argument 5 names different: declaration '' definition 'Name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2300:23: style:inconclusive: Function 'ChangeObjectJoin' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2300:35: style:inconclusive: Function 'ChangeObjectJoin' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2300:47: style:inconclusive: Function 'ChangeObjectJoin' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2300:59: style:inconclusive: Function 'ChangeObjectJoin' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2317:20: style:inconclusive: Function 'SetObjectJoin' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2317:32: style:inconclusive: Function 'SetObjectJoin' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2317:44: style:inconclusive: Function 'SetObjectJoin' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2317:56: style:inconclusive: Function 'SetObjectJoin' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2334:20: style:inconclusive: Function 'ClrObjectJoin' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2334:32: style:inconclusive: Function 'ClrObjectJoin' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2334:44: style:inconclusive: Function 'ClrObjectJoin' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2334:56: style:inconclusive: Function 'ClrObjectJoin' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2351:25: style:inconclusive: Function 'ChangeObjectSquare' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2351:37: style:inconclusive: Function 'ChangeObjectSquare' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2351:49: style:inconclusive: Function 'ChangeObjectSquare' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2351:61: style:inconclusive: Function 'ChangeObjectSquare' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2369:22: style:inconclusive: Function 'SetObjectSquare' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2369:34: style:inconclusive: Function 'SetObjectSquare' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2369:46: style:inconclusive: Function 'SetObjectSquare' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2369:58: style:inconclusive: Function 'SetObjectSquare' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2386:22: style:inconclusive: Function 'ClrObjectSquare' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2386:34: style:inconclusive: Function 'ClrObjectSquare' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2386:46: style:inconclusive: Function 'ClrObjectSquare' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2386:58: style:inconclusive: Function 'ClrObjectSquare' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2403:26: style:inconclusive: Function 'ChangeObjectOctagon' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2403:38: style:inconclusive: Function 'ChangeObjectOctagon' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2403:50: style:inconclusive: Function 'ChangeObjectOctagon' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2403:62: style:inconclusive: Function 'ChangeObjectOctagon' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2421:23: style:inconclusive: Function 'SetObjectOctagon' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2421:35: style:inconclusive: Function 'SetObjectOctagon' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2421:47: style:inconclusive: Function 'SetObjectOctagon' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2421:59: style:inconclusive: Function 'SetObjectOctagon' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2438:23: style:inconclusive: Function 'ClrObjectOctagon' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2438:35: style:inconclusive: Function 'ClrObjectOctagon' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2438:47: style:inconclusive: Function 'ClrObjectOctagon' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2438:59: style:inconclusive: Function 'ClrObjectOctagon' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2456:36: style:inconclusive: Function 'QueryInputAndChangeObjectName' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2456:48: style:inconclusive: Function 'QueryInputAndChangeObjectName' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2456:60: style:inconclusive: Function 'QueryInputAndChangeObjectName' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2456:72: style:inconclusive: Function 'QueryInputAndChangeObjectName' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2522:22: style:inconclusive: Function 'ChangePCBSize' argument 1 names different: declaration '' definition 'Width'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2522:35: style:inconclusive: Function 'ChangePCBSize' argument 2 names different: declaration '' definition 'Height'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2535:33: style:inconclusive: Function 'ChangePadMaskSize' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2535:51: style:inconclusive: Function 'ChangePadMaskSize' argument 2 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2561:33: style:inconclusive: Function 'ChangePinMaskSize' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2561:51: style:inconclusive: Function 'ChangePinMaskSize' argument 2 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/change.c:2587:29: style:inconclusive: Function 'ChangeViaMaskSize' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] 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/compat.c:43:13: style:inconclusive: Function 'expf' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/compat.c:51:13: style:inconclusive: Function 'logf' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] 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/copy.c:98:35: style:inconclusive: Function 'CopyPolygonLowLevel' argument 1 names different: declaration '' definition 'Dest'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:98:54: style:inconclusive: Function 'CopyPolygonLowLevel' argument 2 names different: declaration '' definition 'Src'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:123:32: style:inconclusive: Function 'CopyElementLowLevel' argument 1 names different: declaration '' definition 'Data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:123:51: style:inconclusive: Function 'CopyElementLowLevel' argument 2 names different: declaration '' definition 'Src'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:124:27: style:inconclusive: Function 'CopyElementLowLevel' argument 3 names different: declaration '' definition 'uniqueName'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:124:45: style:inconclusive: Function 'CopyElementLowLevel' argument 4 names different: declaration '' definition 'dx'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:124:55: style:inconclusive: Function 'CopyElementLowLevel' argument 5 names different: declaration '' definition 'dy'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:190:19: style:inconclusive: Function 'CopyVia' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:209:22: style:inconclusive: Function 'CopyLine' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:209:39: style:inconclusive: Function 'CopyLine' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:232:21: style:inconclusive: Function 'CopyArc' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:232:37: style:inconclusive: Function 'CopyArc' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:251:22: style:inconclusive: Function 'CopyText' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:251:39: style:inconclusive: Function 'CopyText' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:268:25: style:inconclusive: Function 'CopyPolygon' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:268:45: style:inconclusive: Function 'CopyPolygon' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:288:27: style:inconclusive: Function 'CopyElement' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:323:32: style:inconclusive: Function 'CopyPastebufferToLayout' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:323:41: style:inconclusive: Function 'CopyPastebufferToLayout' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:419:17: style:inconclusive: Function 'CopyObject' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:419:29: style:inconclusive: Function 'CopyObject' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:419:41: style:inconclusive: Function 'CopyObject' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:419:53: style:inconclusive: Function 'CopyObject' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:420:12: style:inconclusive: Function 'CopyObject' argument 5 names different: declaration '' definition 'DX'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/copy.c:420:22: style:inconclusive: Function 'CopyObject' argument 6 names different: declaration '' definition 'DY'. [funcArgNamesDifferentUnnamed] 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:87:23: style:inconclusive: Function 'CreateBeLenient' argument 1 names different: declaration '' definition 'v'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:111:36: style:inconclusive: Function 'pcb_colors_from_settings' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:232:28: style:inconclusive: Function 'CreateNewPCBPost' argument 1 names different: declaration '' definition 'pcb'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:232:37: style:inconclusive: Function 'CreateNewPCBPost' argument 2 names different: declaration '' definition 'use_defaults'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:255:25: style:inconclusive: Function 'CreateNewVia' argument 1 names different: declaration '' definition 'Data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:256:14: style:inconclusive: Function 'CreateNewVia' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:256:23: style:inconclusive: Function 'CreateNewVia' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:257:14: style:inconclusive: Function 'CreateNewVia' argument 4 names different: declaration '' definition 'Thickness'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:257:31: style:inconclusive: Function 'CreateNewVia' argument 5 names different: declaration '' definition 'Clearance'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:257:48: style:inconclusive: Function 'CreateNewVia' argument 6 names different: declaration '' definition 'Mask'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:258:14: style:inconclusive: Function 'CreateNewVia' argument 7 names different: declaration '' definition 'DrillingHole'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:258:34: style:inconclusive: Function 'CreateNewVia' argument 8 names different: declaration '' definition 'Name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:258:49: style:inconclusive: Function 'CreateNewVia' argument 9 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:326:27: style:inconclusive: Function 'CreateNewViaEx' argument 1 names different: declaration '' definition 'Data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:327:21: style:inconclusive: Function 'CreateNewViaEx' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:327:30: style:inconclusive: Function 'CreateNewViaEx' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:328:21: style:inconclusive: Function 'CreateNewViaEx' argument 4 names different: declaration '' definition 'Thickness'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:328:38: style:inconclusive: Function 'CreateNewViaEx' argument 5 names different: declaration '' definition 'Clearance'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:328:55: style:inconclusive: Function 'CreateNewViaEx' argument 6 names different: declaration '' definition 'Mask'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:329:21: style:inconclusive: Function 'CreateNewViaEx' argument 7 names different: declaration '' definition 'DrillingHole'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:329:41: style:inconclusive: Function 'CreateNewViaEx' argument 8 names different: declaration '' definition 'Name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:329:56: style:inconclusive: Function 'CreateNewViaEx' argument 9 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:461:36: style:inconclusive: Function 'CreateDrawnLineOnLayer' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:462:10: style:inconclusive: Function 'CreateDrawnLineOnLayer' argument 2 names different: declaration '' definition 'X1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:462:20: style:inconclusive: Function 'CreateDrawnLineOnLayer' argument 3 names different: declaration '' definition 'Y1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:463:10: style:inconclusive: Function 'CreateDrawnLineOnLayer' argument 4 names different: declaration '' definition 'X2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:463:20: style:inconclusive: Function 'CreateDrawnLineOnLayer' argument 5 names different: declaration '' definition 'Y2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:464:10: style:inconclusive: Function 'CreateDrawnLineOnLayer' argument 6 names different: declaration '' definition 'Thickness'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:464:27: style:inconclusive: Function 'CreateDrawnLineOnLayer' argument 7 names different: declaration '' definition 'Clearance'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:465:13: style:inconclusive: Function 'CreateDrawnLineOnLayer' argument 8 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:516:34: style:inconclusive: Function 'CreateNewLineOnLayer' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:517:15: style:inconclusive: Function 'CreateNewLineOnLayer' argument 2 names different: declaration '' definition 'X1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:517:25: style:inconclusive: Function 'CreateNewLineOnLayer' argument 3 names different: declaration '' definition 'Y1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:518:15: style:inconclusive: Function 'CreateNewLineOnLayer' argument 4 names different: declaration '' definition 'X2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:518:25: style:inconclusive: Function 'CreateNewLineOnLayer' argument 5 names different: declaration '' definition 'Y2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:519:15: style:inconclusive: Function 'CreateNewLineOnLayer' argument 6 names different: declaration '' definition 'Thickness'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:519:32: style:inconclusive: Function 'CreateNewLineOnLayer' argument 7 names different: declaration '' definition 'Clearance'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:520:18: style:inconclusive: Function 'CreateNewLineOnLayer' argument 8 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:549:25: style:inconclusive: Function 'CreateNewRat' argument 1 names different: declaration '' definition 'Data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:549:37: style:inconclusive: Function 'CreateNewRat' argument 2 names different: declaration '' definition 'X1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:549:47: style:inconclusive: Function 'CreateNewRat' argument 3 names different: declaration '' definition 'Y1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:550:14: style:inconclusive: Function 'CreateNewRat' argument 4 names different: declaration '' definition 'X2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:550:24: style:inconclusive: Function 'CreateNewRat' argument 5 names different: declaration '' definition 'Y2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:550:37: style:inconclusive: Function 'CreateNewRat' argument 6 names different: declaration '' definition 'group1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:551:17: style:inconclusive: Function 'CreateNewRat' argument 7 names different: declaration '' definition 'group2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:551:31: style:inconclusive: Function 'CreateNewRat' argument 8 names different: declaration '' definition 'Thickness'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:551:51: style:inconclusive: Function 'CreateNewRat' argument 9 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:581:33: style:inconclusive: Function 'CreateNewArcOnLayer' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:582:14: style:inconclusive: Function 'CreateNewArcOnLayer' argument 2 names different: declaration '' definition 'X1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:582:24: style:inconclusive: Function 'CreateNewArcOnLayer' argument 3 names different: declaration '' definition 'Y1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:583:14: style:inconclusive: Function 'CreateNewArcOnLayer' argument 4 names different: declaration '' definition 'width'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:584:14: style:inconclusive: Function 'CreateNewArcOnLayer' argument 5 names different: declaration '' definition 'height'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:585:14: style:inconclusive: Function 'CreateNewArcOnLayer' argument 6 names different: declaration '' definition 'sa'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:586:14: style:inconclusive: Function 'CreateNewArcOnLayer' argument 7 names different: declaration '' definition 'dir'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:586:25: style:inconclusive: Function 'CreateNewArcOnLayer' argument 8 names different: declaration '' definition 'Thickness'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:587:14: style:inconclusive: Function 'CreateNewArcOnLayer' argument 9 names different: declaration '' definition 'Clearance'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:587:34: style:inconclusive: Function 'CreateNewArcOnLayer' argument 10 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:625:43: style:inconclusive: Function 'CreateNewPolygonFromRectangle' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:626:17: style:inconclusive: Function 'CreateNewPolygonFromRectangle' argument 2 names different: declaration '' definition 'X1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:626:27: style:inconclusive: Function 'CreateNewPolygonFromRectangle' argument 3 names different: declaration '' definition 'Y1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:627:17: style:inconclusive: Function 'CreateNewPolygonFromRectangle' argument 4 names different: declaration '' definition 'X2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:627:27: style:inconclusive: Function 'CreateNewPolygonFromRectangle' argument 5 names different: declaration '' definition 'Y2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:628:20: style:inconclusive: Function 'CreateNewPolygonFromRectangle' argument 6 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:649:27: style:inconclusive: Function 'CreateNewText' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:649:44: style:inconclusive: Function 'CreateNewText' argument 2 names different: declaration '' definition 'PCBFont'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:650:15: style:inconclusive: Function 'CreateNewText' argument 3 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:650:24: style:inconclusive: Function 'CreateNewText' argument 4 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:651:18: style:inconclusive: Function 'CreateNewText' argument 5 names different: declaration '' definition 'Direction'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:651:33: style:inconclusive: Function 'CreateNewText' argument 6 names different: declaration '' definition 'Scale'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:651:46: style:inconclusive: Function 'CreateNewText' argument 7 names different: declaration '' definition 'TextString'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:651:67: style:inconclusive: Function 'CreateNewText' argument 8 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:685:30: style:inconclusive: Function 'CreateNewPolygon' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:685:46: style:inconclusive: Function 'CreateNewPolygon' argument 2 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:702:39: style:inconclusive: Function 'CreateNewPointInPolygon' argument 1 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:702:54: style:inconclusive: Function 'CreateNewPointInPolygon' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:702:63: style:inconclusive: Function 'CreateNewPointInPolygon' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] 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:730:29: style:inconclusive: Function 'CreateNewElement' argument 1 names different: declaration '' definition 'Data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:730:45: style:inconclusive: Function 'CreateNewElement' argument 2 names different: declaration '' definition 'PCBFont'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:730:63: style:inconclusive: Function 'CreateNewElement' argument 3 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:731:11: style:inconclusive: Function 'CreateNewElement' argument 4 names different: declaration '' definition 'Description'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:731:30: style:inconclusive: Function 'CreateNewElement' argument 5 names different: declaration '' definition 'NameOnPCB'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:731:47: style:inconclusive: Function 'CreateNewElement' argument 6 names different: declaration '' definition 'Value'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:732:11: style:inconclusive: Function 'CreateNewElement' argument 7 names different: declaration '' definition 'TextX'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:732:24: style:inconclusive: Function 'CreateNewElement' argument 8 names different: declaration '' definition 'TextY'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:732:36: style:inconclusive: Function 'CreateNewElement' argument 9 names different: declaration '' definition 'Direction'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:733:9: style:inconclusive: Function 'CreateNewElement' argument 10 names different: declaration '' definition 'TextScale'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:733:29: style:inconclusive: Function 'CreateNewElement' argument 11 names different: declaration '' definition 'TextFlags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:733:45: style:inconclusive: Function 'CreateNewElement' argument 12 names different: declaration '' definition 'uniqueName'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:770:37: style:inconclusive: Function 'CreateNewArcInElement' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:771:16: style:inconclusive: Function 'CreateNewArcInElement' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:771:25: style:inconclusive: Function 'CreateNewArcInElement' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:772:16: style:inconclusive: Function 'CreateNewArcInElement' argument 4 names different: declaration '' definition 'Width'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:772:29: style:inconclusive: Function 'CreateNewArcInElement' argument 5 names different: declaration '' definition 'Height'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:773:16: style:inconclusive: Function 'CreateNewArcInElement' argument 6 names different: declaration '' definition 'angle'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:773:29: style:inconclusive: Function 'CreateNewArcInElement' argument 7 names different: declaration '' definition 'delta'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:773:42: style:inconclusive: Function 'CreateNewArcInElement' argument 8 names different: declaration '' definition 'Thickness'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:808:38: style:inconclusive: Function 'CreateNewLineInElement' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:809:10: style:inconclusive: Function 'CreateNewLineInElement' argument 2 names different: declaration '' definition 'X1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:809:20: style:inconclusive: Function 'CreateNewLineInElement' argument 3 names different: declaration '' definition 'Y1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:810:10: style:inconclusive: Function 'CreateNewLineInElement' argument 4 names different: declaration '' definition 'X2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:810:20: style:inconclusive: Function 'CreateNewLineInElement' argument 5 names different: declaration '' definition 'Y2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:811:10: style:inconclusive: Function 'CreateNewLineInElement' argument 6 names different: declaration '' definition 'Thickness'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:837:28: style:inconclusive: Function 'CreateNewPin' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:838:14: style:inconclusive: Function 'CreateNewPin' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:838:23: style:inconclusive: Function 'CreateNewPin' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:839:14: style:inconclusive: Function 'CreateNewPin' argument 4 names different: declaration '' definition 'Thickness'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:839:31: style:inconclusive: Function 'CreateNewPin' argument 5 names different: declaration '' definition 'Clearance'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:839:48: style:inconclusive: Function 'CreateNewPin' argument 6 names different: declaration '' definition 'Mask'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:840:14: style:inconclusive: Function 'CreateNewPin' argument 7 names different: declaration '' definition 'DrillingHole'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:840:34: style:inconclusive: Function 'CreateNewPin' argument 8 names different: declaration '' definition 'Name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:840:46: style:inconclusive: Function 'CreateNewPin' argument 9 names different: declaration '' definition 'Number'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:841:17: style:inconclusive: Function 'CreateNewPin' argument 10 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:906:28: style:inconclusive: Function 'CreateNewPad' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:907:14: style:inconclusive: Function 'CreateNewPad' argument 2 names different: declaration '' definition 'X1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:907:24: style:inconclusive: Function 'CreateNewPad' argument 3 names different: declaration '' definition 'Y1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:907:34: style:inconclusive: Function 'CreateNewPad' argument 4 names different: declaration '' definition 'X2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:908:14: style:inconclusive: Function 'CreateNewPad' argument 5 names different: declaration '' definition 'Y2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:908:24: style:inconclusive: Function 'CreateNewPad' argument 6 names different: declaration '' definition 'Thickness'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:908:41: style:inconclusive: Function 'CreateNewPad' argument 7 names different: declaration '' definition 'Clearance'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:909:14: style:inconclusive: Function 'CreateNewPad' argument 8 names different: declaration '' definition 'Mask'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:909:26: style:inconclusive: Function 'CreateNewPad' argument 9 names different: declaration '' definition 'Name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:909:38: style:inconclusive: Function 'CreateNewPad' argument 10 names different: declaration '' definition 'Number'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:909:55: style:inconclusive: Function 'CreateNewPad' argument 11 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:946:29: style:inconclusive: Function 'AddTextToElement' argument 1 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:946:45: style:inconclusive: Function 'AddTextToElement' argument 2 names different: declaration '' definition 'PCBFont'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:947:11: style:inconclusive: Function 'AddTextToElement' argument 3 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:947:20: style:inconclusive: Function 'AddTextToElement' argument 4 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:948:14: style:inconclusive: Function 'AddTextToElement' argument 5 names different: declaration '' definition 'Direction'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:948:31: style:inconclusive: Function 'AddTextToElement' argument 6 names different: declaration '' definition 'TextString'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:948:47: style:inconclusive: Function 'AddTextToElement' argument 7 names different: declaration '' definition 'Scale'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:948:63: style:inconclusive: Function 'AddTextToElement' argument 8 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:967:36: style:inconclusive: Function 'CreateNewLineInSymbol' argument 1 names different: declaration '' definition 'Symbol'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:968:16: style:inconclusive: Function 'CreateNewLineInSymbol' argument 2 names different: declaration '' definition 'X1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:968:26: style:inconclusive: Function 'CreateNewLineInSymbol' argument 3 names different: declaration '' definition 'Y1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:969:16: style:inconclusive: Function 'CreateNewLineInSymbol' argument 4 names different: declaration '' definition 'X2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:969:26: style:inconclusive: Function 'CreateNewLineInSymbol' argument 5 names different: declaration '' definition 'Y2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:969:36: style:inconclusive: Function 'CreateNewLineInSymbol' argument 6 names different: declaration '' definition 'Thickness'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:1000:29: style:inconclusive: Function 'CreateDefaultFont' argument 1 names different: declaration '' definition 'pcb'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:1013:38: style:inconclusive: Function 'CreateNewRubberbandEntry' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:1014:16: style:inconclusive: Function 'CreateNewRubberbandEntry' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:1014:33: style:inconclusive: Function 'CreateNewRubberbandEntry' argument 3 names different: declaration '' definition 'MovedPoint'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:1031:28: style:inconclusive: Function 'CreateNewNet' argument 1 names different: declaration '' definition 'lib'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:1031:39: style:inconclusive: Function 'CreateNewNet' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:1031:51: style:inconclusive: Function 'CreateNewNet' argument 3 names different: declaration '' definition 'style'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:1051:39: style:inconclusive: Function 'CreateNewConnection' argument 1 names different: declaration '' definition 'net'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/create.c:1051:50: style:inconclusive: Function 'CreateNewConnection' argument 2 names different: declaration '' definition 'conn'. [funcArgNamesDifferentUnnamed] 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:997:29: style:inconclusive: Function 'FitCrosshairIntoGrid' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/crosshair.c:997:38: style:inconclusive: Function 'FitCrosshairIntoGrid' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/crosshair.c:1242:30: style:inconclusive: Function 'MoveCrosshairAbsolute' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/crosshair.c:1242:39: style:inconclusive: Function 'MoveCrosshairAbsolute' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/crosshair.c:1315:26: style:inconclusive: Function 'SetCrosshairRange' argument 1 names different: declaration '' definition 'MinX'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/crosshair.c:1315:38: style:inconclusive: Function 'SetCrosshairRange' argument 2 names different: declaration '' definition 'MinY'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/crosshair.c:1315:50: style:inconclusive: Function 'SetCrosshairRange' argument 3 names different: declaration '' definition 'MaxX'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/crosshair.c:1315:62: style:inconclusive: Function 'SetCrosshairRange' argument 4 names different: declaration '' definition 'MaxY'. [funcArgNamesDifferentUnnamed] 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:597:7: 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:595:11: note: Assuming condition is false pcb-4.2.2/src/djopt.c:597:7: 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 variable pcb-4.2.2/src/djopt.c:1533:8: note: Shadow local 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 variable pcb-4.2.2/src/djopt.c:1573:14: note: Shadow local 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 function pcb-4.2.2/src/djopt.c:2238:17: note: Shadow local 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 variable pcb-4.2.2/src/djopt.c:2697:15: note: Shadow local 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:24: style: Parameter 'l' 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:917:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] 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:116:16: style:inconclusive: Function 'AddPart' argument 1 names different: declaration '' definition 'b'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:622:32: style:inconclusive: Function 'DrawEverything' argument 1 names different: declaration '' definition 'drawn_area'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:799:25: style:inconclusive: Function 'DrawEMark' argument 1 names different: declaration '' definition 'e'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:799:34: style:inconclusive: Function 'DrawEMark' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:799:43: style:inconclusive: Function 'DrawEMark' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:799:51: style:inconclusive: Function 'DrawEMark' argument 4 names different: declaration '' definition 'invisible'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:846:36: style:inconclusive: Function 'DrawPPV' argument 2 names different: declaration '' definition 'drawn_area'. [funcArgNamesDifferentUnnamed] 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:1062:26: style:inconclusive: Function 'DrawRats' argument 1 names different: declaration '' definition 'drawn_area'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1099:23: style:inconclusive: Function 'DrawLayer' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1099:45: style:inconclusive: Function 'DrawLayer' argument 2 names different: declaration '' definition 'screen'. [funcArgNamesDifferentUnnamed] 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:1231:19: style:inconclusive: Function 'DrawVia' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1242:23: style:inconclusive: Function 'DrawViaName' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1251:19: style:inconclusive: Function 'DrawPin' argument 1 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1263:23: style:inconclusive: Function 'DrawPinName' argument 1 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1272:19: style:inconclusive: Function 'DrawPad' argument 1 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1283:23: style:inconclusive: Function 'DrawPadName' argument 1 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1292:22: style:inconclusive: Function 'DrawLine' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1292:39: style:inconclusive: Function 'DrawLine' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1301:19: style:inconclusive: Function 'DrawRat' argument 1 names different: declaration '' definition 'Rat'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1326:21: style:inconclusive: Function 'DrawArc' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1326:37: style:inconclusive: Function 'DrawArc' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1335:22: style:inconclusive: Function 'DrawText' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1335:39: style:inconclusive: Function 'DrawText' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1345:25: style:inconclusive: Function 'DrawPolygon' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1345:45: style:inconclusive: Function 'DrawPolygon' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1354:27: style:inconclusive: Function 'DrawElement' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1365:31: style:inconclusive: Function 'DrawElementName' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1376:34: style:inconclusive: Function 'DrawElementPackage' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1394:38: style:inconclusive: Function 'DrawElementPinsAndPads' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1413:20: style:inconclusive: Function 'EraseVia' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1424:20: style:inconclusive: Function 'EraseRat' argument 1 names different: declaration '' definition 'Rat'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1447:24: style:inconclusive: Function 'EraseViaName' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1456:20: style:inconclusive: Function 'ErasePad' argument 1 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1467:24: style:inconclusive: Function 'ErasePadName' argument 1 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1476:20: style:inconclusive: Function 'ErasePin' argument 1 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1487:24: style:inconclusive: Function 'ErasePinName' argument 1 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1496:22: style:inconclusive: Function 'EraseLine' argument 1 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1505:20: style:inconclusive: Function 'EraseArc' argument 1 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1516:23: style:inconclusive: Function 'EraseText' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1516:40: style:inconclusive: Function 'EraseText' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1526:28: style:inconclusive: Function 'ErasePolygon' argument 1 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1535:28: style:inconclusive: Function 'EraseElement' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1555:39: style:inconclusive: Function 'EraseElementPinsAndPads' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1573:32: style:inconclusive: Function 'EraseElementName' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1581:18: style:inconclusive: Function 'EraseObject' argument 1 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1581:30: style:inconclusive: Function 'EraseObject' argument 2 names different: declaration '' definition 'lptr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1581:42: style:inconclusive: Function 'EraseObject' argument 3 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1621:17: style:inconclusive: Function 'DrawObject' argument 1 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1621:29: style:inconclusive: Function 'DrawObject' argument 2 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/draw.c:1621:41: style:inconclusive: Function 'DrawObject' argument 3 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] 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:176:31: style:inconclusive: Function 'pcb_drc_violation_print' argument 1 names different: declaration '' definition 'fp'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/drc/drc_violation.c:176:54: style:inconclusive: Function 'pcb_drc_violation_print' argument 2 names different: declaration '' definition 'violation'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/drc/drc_violation.c:281:55: style:inconclusive: Function 'pcb_drc_violation_update_location' argument 1 names different: declaration '' definition 'v'. [funcArgNamesDifferentUnnamed] 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:55:23: style:inconclusive: Function 'FillDrill' argument 1 names different: declaration '' definition 'Drill'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/drill.c:55:43: style:inconclusive: Function 'FillDrill' argument 2 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/drill.c:55:61: style:inconclusive: Function 'FillDrill' argument 3 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/drill.c:82:29: style:inconclusive: Function 'InitializeDrill' argument 1 names different: declaration '' definition 'drill'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/drill.c:82:45: style:inconclusive: Function 'InitializeDrill' argument 2 names different: declaration '' definition 'pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/drill.c:82:63: style:inconclusive: Function 'InitializeDrill' argument 3 names different: declaration '' definition 'element'. [funcArgNamesDifferentUnnamed] 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:3980:33: style:inconclusive: Function 'ediferror' argument 1 names different: declaration '' definition 'ers'. [funcArgNamesDifferentUnnamed] 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/error.c:104:25: style:inconclusive: Function 'OpenErrorMessage' argument 1 names different: declaration '' definition 'Filename'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/error.c:124:26: style:inconclusive: Function 'PopenErrorMessage' argument 1 names different: declaration '' definition 'Filename'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/error.c:144:28: style:inconclusive: Function 'OpendirErrorMessage' argument 1 names different: declaration '' definition 'DirName'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/error.c:164:26: style:inconclusive: Function 'ChdirErrorMessage' argument 1 names different: declaration '' definition 'DirName'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/error.c:203:18: style:inconclusive: Function 'CatchSignal' argument 1 names different: declaration '' definition 'Signal'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/error.c:104:25: style: Parameter 'Filename' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/error.c:124:26: style: Parameter 'Filename' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/error.c:144:28: style: Parameter 'DirName' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/error.c:164:26: style: Parameter 'DirName' can be declared as pointer to const [constParameterPointer] 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:282:16: style:inconclusive: Function 'ListStart' argument 1 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:282:28: style:inconclusive: Function 'ListStart' argument 2 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:282:40: style:inconclusive: Function 'ListStart' argument 3 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:282:52: style:inconclusive: Function 'ListStart' argument 4 names different: declaration '' definition 'ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:282:62: style:inconclusive: Function 'ListStart' argument 5 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:563:29: style:inconclusive: Function 'LinePadIntersect' argument 1 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:563:44: style:inconclusive: Function 'LinePadIntersect' argument 2 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:569:27: style:inconclusive: Function 'ArcPadIntersect' argument 1 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:569:41: style:inconclusive: Function 'ArcPadIntersect' argument 2 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:592:28: style:inconclusive: Function 'PinLineIntersect' argument 1 names different: declaration '' definition 'PV'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:592:42: style:inconclusive: Function 'PinLineIntersect' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:717:27: style:inconclusive: Function 'ArcArcIntersect' argument 1 names different: declaration '' definition 'Arc1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:717:42: style:inconclusive: Function 'ArcArcIntersect' argument 2 names different: declaration '' definition 'Arc2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:836:33: style:inconclusive: Function 'IsRatPointOnLineEnd' argument 1 names different: declaration '' definition 'Point'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:836:50: style:inconclusive: Function 'IsRatPointOnLineEnd' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:934:30: style:inconclusive: Function 'LineLineIntersect' argument 1 names different: declaration '' definition 'Line1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:934:47: style:inconclusive: Function 'LineLineIntersect' argument 2 names different: declaration '' definition 'Line2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1070:29: style:inconclusive: Function 'LineArcIntersect' argument 1 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1070:44: style:inconclusive: Function 'LineArcIntersect' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1164:26: style:inconclusive: Function 'IsArcInPolygon' argument 1 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1164:44: style:inconclusive: Function 'IsArcInPolygon' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1196:28: style:inconclusive: Function 'IsLineInPolygon' argument 1 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1196:47: style:inconclusive: Function 'IsLineInPolygon' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1239:26: style:inconclusive: Function 'IsPadInPolygon' argument 1 names different: declaration '' definition 'pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1239:44: style:inconclusive: Function 'IsPadInPolygon' argument 2 names different: declaration '' definition 'polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1251:34: style:inconclusive: Function 'IsPolygonInPolygon' argument 1 names different: declaration '' definition 'P1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1251:51: style:inconclusive: Function 'IsPolygonInPolygon' argument 2 names different: declaration '' definition 'P2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1320:26: style:inconclusive: Function 'IsPinInPolygon' argument 1 names different: declaration '' definition 'pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:1320:44: style:inconclusive: Function 'IsPinInPolygon' argument 2 names different: declaration '' definition 'polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2121:36: style:inconclusive: Function 'LookupLOConnectionsToArc' argument 1 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2121:50: style:inconclusive: Function 'LookupLOConnectionsToArc' argument 2 names different: declaration '' definition 'LayerGroup'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2121:66: style:inconclusive: Function 'LookupLOConnectionsToArc' argument 3 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2121:77: style:inconclusive: Function 'LookupLOConnectionsToArc' argument 4 names different: declaration '' definition 'AndRats'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2259:38: style:inconclusive: Function 'LookupLOConnectionsToLine' argument 1 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2259:53: style:inconclusive: Function 'LookupLOConnectionsToLine' argument 2 names different: declaration '' definition 'LayerGroup'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2260:32: style:inconclusive: Function 'LookupLOConnectionsToLine' argument 3 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2260:43: style:inconclusive: Function 'LookupLOConnectionsToLine' argument 4 names different: declaration '' definition 'PolysTo'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2260:57: style:inconclusive: Function 'LookupLOConnectionsToLine' argument 5 names different: declaration '' definition 'AndRats'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2404:41: style:inconclusive: Function 'LookupLOConnectionsToRatEnd' argument 1 names different: declaration '' definition 'Point'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2404:57: style:inconclusive: Function 'LookupLOConnectionsToRatEnd' argument 2 names different: declaration '' definition 'LayerGroup'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2404:73: style:inconclusive: Function 'LookupLOConnectionsToRatEnd' argument 3 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2547:36: style:inconclusive: Function 'LookupLOConnectionsToPad' argument 1 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2547:50: style:inconclusive: Function 'LookupLOConnectionsToPad' argument 2 names different: declaration '' definition 'LayerGroup'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2547:66: style:inconclusive: Function 'LookupLOConnectionsToPad' argument 3 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2547:77: style:inconclusive: Function 'LookupLOConnectionsToPad' argument 4 names different: declaration '' definition 'AndRats'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2694:44: style:inconclusive: Function 'LookupLOConnectionsToPolygon' argument 1 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2694:62: style:inconclusive: Function 'LookupLOConnectionsToPolygon' argument 2 names different: declaration '' definition 'LayerGroup'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2694:78: style:inconclusive: Function 'LookupLOConnectionsToPolygon' argument 3 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2694:89: style:inconclusive: Function 'LookupLOConnectionsToPolygon' argument 4 names different: declaration '' definition 'AndRats'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2787:11: style:inconclusive: Function 'DoIt' argument 1 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2787:23: style:inconclusive: Function 'DoIt' argument 2 names different: declaration '' definition 'bloat'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2787:35: style:inconclusive: Function 'DoIt' argument 3 names different: declaration '' definition 'AndRats'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2787:49: style:inconclusive: Function 'DoIt' argument 4 names different: declaration '' definition 'AndDraw'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2787:63: style:inconclusive: Function 'DoIt' argument 5 names different: declaration '' definition 'is_drc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2823:25: style:inconclusive: Function 'PrepareNextLoop' argument 1 names different: declaration '' definition 'FP'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2849:27: style:inconclusive: Function 'start_do_it_and_dump' argument 1 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2849:39: style:inconclusive: Function 'start_do_it_and_dump' argument 2 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2849:51: style:inconclusive: Function 'start_do_it_and_dump' argument 3 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2849:63: style:inconclusive: Function 'start_do_it_and_dump' argument 4 names different: declaration '' definition 'ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2850:27: style:inconclusive: Function 'start_do_it_and_dump' argument 5 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2850:38: style:inconclusive: Function 'start_do_it_and_dump' argument 6 names different: declaration '' definition 'AndDraw'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2851:29: style:inconclusive: Function 'start_do_it_and_dump' argument 7 names different: declaration '' definition 'bloat'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:2851:41: style:inconclusive: Function 'start_do_it_and_dump' argument 8 names different: declaration '' definition 'is_drc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3131:25: style:inconclusive: Function 'LookupConnection' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3131:34: style:inconclusive: Function 'LookupConnection' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3131:42: style:inconclusive: Function 'LookupConnection' argument 3 names different: declaration '' definition 'AndDraw'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3131:57: style:inconclusive: Function 'LookupConnection' argument 4 names different: declaration '' definition 'Range'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3131:68: style:inconclusive: Function 'LookupConnection' argument 5 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3189:28: style:inconclusive: Function 'LookupConnectionByPin' argument 1 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3189:40: style:inconclusive: Function 'LookupConnectionByPin' argument 2 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3207:18: style:inconclusive: Function 'RatFindHook' argument 1 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3207:30: style:inconclusive: Function 'RatFindHook' argument 2 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3207:42: style:inconclusive: Function 'RatFindHook' argument 3 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3207:54: style:inconclusive: Function 'RatFindHook' argument 4 names different: declaration '' definition 'ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3208:19: style:inconclusive: Function 'RatFindHook' argument 5 names different: declaration '' definition 'undo'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3208:40: style:inconclusive: Function 'RatFindHook' argument 7 names different: declaration '' definition 'AndRats'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3331:26: style:inconclusive: Function 'LookupUnusedPins' argument 1 names different: declaration '' definition 'FP'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3358:40: style:inconclusive: Function 'LookupElementConnections' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3358:56: style:inconclusive: Function 'LookupElementConnections' argument 2 names different: declaration '' definition 'FP'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/find.c:3384:40: style:inconclusive: Function 'LookupConnectionsToAllElements' argument 1 names different: declaration '' definition 'FP'. [funcArgNamesDifferentUnnamed] 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:389:60: style: Condition 'change' is always false [knownConditionTrueFalse] pcb-4.2.2/src/flags.c:387:17: note: Assignment 'change=false', assigned value is 0 pcb-4.2.2/src/flags.c:389:60: note: Condition 'change' is always false pcb-4.2.2/src/flags.c:421:14: style: Condition 'type' is always true [knownConditionTrueFalse] pcb-4.2.2/src/flags.c:217:29: style:inconclusive: Function 'mem_any_set' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/flags.c:217:38: style:inconclusive: Function 'mem_any_set' argument 2 names different: declaration '' definition 'bytes'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/flags.c:229:25: style:inconclusive: Function 'MakeFlags' argument 1 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/flags.c:242:24: style:inconclusive: Function 'OldFlags' argument 1 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/flags.c:261:20: style:inconclusive: Function 'AddFlags' argument 1 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/flags.c:261:39: style:inconclusive: Function 'AddFlags' argument 2 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/flags.c:268:21: style:inconclusive: Function 'MaskFlags' argument 1 names different: declaration '' definition 'flag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/flags.c:268:40: style:inconclusive: Function 'MaskFlags' argument 2 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] 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:135:21: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagTESTFLAG' 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:500:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:135:21: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/flags.c:142:21: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagSETTINGS' 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:519:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:142:21: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/flags.c:149:17: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagMode' 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:476:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:149:17: 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:177:23: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagLayerShown' 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:453:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:177:23: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/flags.c:202:24: style: Parameter 'data' can be declared as pointer to const. However it seems that 'FlagLayerActive' 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:456:28: note: You might need to cast the function pointer here pcb-4.2.2/src/flags.c:202:24: 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:147:38: style:inconclusive: Function 'heap_free' argument 2 names different: declaration 'funcfree' definition 'freefunc'. [funcArgNamesDifferent] pcb-4.2.2/src/heap.h:55:39: note: Function 'heap_free' argument 2 names different: declaration 'funcfree' definition 'freefunc'. pcb-4.2.2/src/heap.c:147:38: note: Function 'heap_free' argument 2 names different: declaration 'funcfree' definition 'freefunc'. 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 variable pcb-4.2.2/src/hid/bom/bom.c:509:17: note: Shadow local 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 variable pcb-4.2.2/src/hid/common/actions.c:222:11: note: Shadow local 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 variable pcb-4.2.2/src/hid/common/draw_helpers.c:582:11: note: Shadow local 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 variable pcb-4.2.2/src/hid/common/draw_helpers.c:619:13: note: Shadow local 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 variable pcb-4.2.2/src/hid/common/draw_helpers.c:658:13: note: Shadow local 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: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:310:17: style: Variable 'ha' can be declared as pointer to const [constVariablePointer] 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/hidinit.c:604:17: style: Variable 'ha' can be declared as pointer to const [constVariablePointer] 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:219:28: style:inconclusive: Function 'tb_project_to_sphere' argument 1 names different: declaration '' definition 'r'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/common/trackball.c:219:37: style:inconclusive: Function 'tb_project_to_sphere' argument 2 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/common/trackball.c:219:46: style:inconclusive: Function 'tb_project_to_sphere' argument 3 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/common/trackball.c:288:22: style:inconclusive: Function 'normalize_quat' argument 1 names different: declaration '' definition 'q'. [funcArgNamesDifferentUnnamed] 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:1495:3: style: Variable 'po' is assigned an expression that holds the same value. [redundantAssignment] pcb-4.2.2/src/hid/gcode/trace.c:1487:11: note: po is assigned 'pp->po' here. pcb-4.2.2/src/hid/gcode/trace.c:1492:7: note: Assuming condition is false pcb-4.2.2/src/hid/gcode/trace.c:1495:3: note: Variable 'po' is assigned an expression that holds the same value. pcb-4.2.2/src/hid/gcode/trace.c:1496:3: style: Variable 'pt' is assigned an expression that holds the same value. [redundantAssignment] pcb-4.2.2/src/hid/gcode/trace.c:1488:15: note: pt is assigned 'pp->pt' here. pcb-4.2.2/src/hid/gcode/trace.c:1492:7: note: Assuming condition is false pcb-4.2.2/src/hid/gcode/trace.c:1496:3: note: Variable 'pt' is assigned an expression that holds the same value. 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:440:73: style:inconclusive: Function 'ghid_route_style_selector_real_add_route_style' argument 1 names different: declaration '' definition 'rss'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/ghid-route-style-selector.c:441:65: style:inconclusive: Function 'ghid_route_style_selector_real_add_route_style' argument 2 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 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:146:24: style:inconclusive: Function 'ghid_destroy_gc' argument 1 names different: declaration '' definition 'gc'. [funcArgNamesDifferentUnnamed] 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:1093:26: style:inconclusive: Function 'ghid_init_renderer' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1093:40: style:inconclusive: Function 'ghid_init_renderer' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1093:56: style:inconclusive: Function 'ghid_init_renderer' argument 3 names different: declaration '' definition 'port'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1101:35: style:inconclusive: Function 'ghid_shutdown_renderer' argument 1 names different: declaration '' definition 'port'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1112:56: style:inconclusive: Function 'ghid_init_drawing_widget' argument 2 names different: declaration '' definition 'port'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1156:41: style:inconclusive: Function 'ghid_drawing_area_expose_cb' argument 1 names different: declaration '' definition 'widget'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1157:46: style:inconclusive: Function 'ghid_drawing_area_expose_cb' argument 2 names different: declaration '' definition 'ev'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1158:40: style:inconclusive: Function 'ghid_drawing_area_expose_cb' argument 3 names different: declaration '' definition 'port'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1171:42: style:inconclusive: Function 'ghid_port_drawing_realize_cb' argument 1 names different: declaration '' definition 'widget'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gtkhid-gdk.c:1171:59: style:inconclusive: Function 'ghid_port_drawing_realize_cb' argument 2 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 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: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:412:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_END [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-print.c:100:40: style:inconclusive: Function 'ghid_attribute_dialog' argument 1 names different: declaration '' definition 'attrs'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:101:14: style:inconclusive: Function 'ghid_attribute_dialog' argument 2 names different: declaration '' definition 'n_attrs'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:101:38: style:inconclusive: Function 'ghid_attribute_dialog' argument 3 names different: declaration '' definition 'results'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:102:23: style:inconclusive: Function 'ghid_attribute_dialog' argument 4 names different: declaration '' definition 'title'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:103:23: style:inconclusive: Function 'ghid_attribute_dialog' argument 5 names different: declaration '' definition 'descr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-dialog-print.c:363:25: style:inconclusive: Function 'ghid_dialog_print' argument 1 names different: declaration '' definition 'hid'. [funcArgNamesDifferentUnnamed] 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:547:30: style:inconclusive: Function 'ghid_fileselect' argument 1 names different: declaration '' definition 'title'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-dialog.c:547:49: style:inconclusive: Function 'ghid_fileselect' argument 2 names different: declaration '' definition 'descr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-dialog.c:548:24: style:inconclusive: Function 'ghid_fileselect' argument 3 names different: declaration '' definition 'default_file'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-dialog.c:548:44: style:inconclusive: Function 'ghid_fileselect' argument 4 names different: declaration '' definition 'default_ext'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-dialog.c:549:16: style:inconclusive: Function 'ghid_fileselect' argument 5 names different: declaration '' definition 'history_tag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-dialog.c:549:33: style:inconclusive: Function 'ghid_fileselect' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] 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-dialog.c:548:24: style: Parameter 'default_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:801:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_END [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:80:26: style: Parameter 'data' can be declared as pointer to const. However it seems that 'drc_refresh_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:807:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-drc-window.c:80:26: note: Parameter 'data' can be declared as pointer to const 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:371:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_END [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:871:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_NONE [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 variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:230:22: note: Shadow local 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 variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:371:22: note: Shadow local 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 variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:451:22: note: Shadow local 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 variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:493:22: note: Shadow local 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 variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:532:22: note: Shadow local variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:545:44: style: Argument 'library_window' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/gtk/gui-library-window.c:71:19: note: Shadowed variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:545:44: note: Shadow argument pcb-4.2.2/src/hid/gtk/gui-library-window.c:683:42: style: Argument 'library_window' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/gtk/gui-library-window.c:71:19: note: Shadowed variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:683:42: note: Shadow argument 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 variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:852:22: note: Shadow local 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 variable pcb-4.2.2/src/hid/gtk/gui-library-window.c:938:22: note: Shadow local 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:100:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_END [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:371:33: style:inconclusive: Function 'ghid_create_abort_dialog' argument 1 names different: declaration '' definition 'msg'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-misc.c:387:24: style:inconclusive: Function 'ghid_get_pointer' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/gtk/gui-misc.c:387:32: style:inconclusive: Function 'ghid_get_pointer' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] 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:822:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_END [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:890:58: style:inconclusive: Function 'ghid_get_net_from_node_name' argument 2 names different: declaration '' definition 'enabled_only'. [funcArgNamesDifferentUnnamed] 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:527:49: style: Parameter 'data' can be declared as pointer to const. However it seems that 'netlist_select_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-netlist-window.c:801:3: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:527:49: note: Parameter 'data' can be declared as pointer to const pcb-4.2.2/src/hid/gtk/gui-netlist-window.c:633:34: style: Parameter 'node_name' can be declared as pointer to const [constParameterPointer] 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:39: style: Parameter 'drawing_area' 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:169:15: style: Parameter 'data' 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:90:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_END [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:351:45: style:inconclusive: Function 'ghid_table_coord_entry' argument 8 names different: declaration '' definition 'step_size'. [funcArgNamesDifferentUnnamed] 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:556:33: style:inconclusive: Function 'lesstif_fileselect' argument 1 names different: declaration '' definition 'title'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/lesstif/dialogs.c:556:52: style:inconclusive: Function 'lesstif_fileselect' argument 2 names different: declaration '' definition 'descr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/lesstif/dialogs.c:557:13: style:inconclusive: Function 'lesstif_fileselect' argument 3 names different: declaration '' definition 'default_file'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/lesstif/dialogs.c:557:33: style:inconclusive: Function 'lesstif_fileselect' argument 4 names different: declaration '' definition 'default_ext'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/lesstif/dialogs.c:558:19: style:inconclusive: Function 'lesstif_fileselect' argument 5 names different: declaration '' definition 'history_tag'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/lesstif/dialogs.c:558:36: style:inconclusive: Function 'lesstif_fileselect' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/lesstif/dialogs.c:570:33: style:inconclusive: Function 'lesstif_prompt_for' argument 1 names different: declaration '' definition 'msg'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/lesstif/dialogs.c:570:50: style:inconclusive: Function 'lesstif_prompt_for' argument 2 names different: declaration '' definition 'default_string'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/lesstif/dialogs.c:1903:34: style:inconclusive: Function 'lesstif_attributes_dialog' argument 1 names different: declaration '' definition 'owner'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/lesstif/dialogs.c:1903:60: style:inconclusive: Function 'lesstif_attributes_dialog' argument 2 names different: declaration '' definition 'attrs_list'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/hid/lesstif/dialogs.c:643:40: style: Argument 'ok' shadows outer variable [shadowVariable] pcb-4.2.2/src/hid/lesstif/dialogs.c:33:12: note: Shadowed variable pcb-4.2.2/src/hid/lesstif/dialogs.c:643:40: note: Shadow argument 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 variable pcb-4.2.2/src/hid/lesstif/dialogs.c:796:22: note: Shadow local 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 variable pcb-4.2.2/src/hid/lesstif/dialogs.c:978:16: note: Shadow local 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 variable pcb-4.2.2/src/hid/lesstif/dialogs.c:1011:7: note: Shadow local 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 variable pcb-4.2.2/src/hid/lesstif/dialogs.c:1089:7: note: Shadow local 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 variable pcb-4.2.2/src/hid/lesstif/dialogs.c:1487:13: note: Shadow local 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 variable pcb-4.2.2/src/hid/lesstif/dialogs.c:1873:10: note: Shadow local variable pcb-4.2.2/src/hid/lesstif/dialogs.c:41:34: style: Parameter 'v' can be declared as pointer to const. However it seems that 'dialog_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:1951:25: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/dialogs.c:41:34: note: Parameter 'v' can be declared as pointer to const 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:557:33: style: Parameter 'default_ext' 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:1871:45: style: Parameter 'v' can be declared as pointer to const. However it seems that 'attributes_delete_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:1804:25: note: You might need to cast the function pointer here pcb-4.2.2/src/hid/lesstif/dialogs.c:1871:45: note: Parameter 'v' 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/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 variable pcb-4.2.2/src/hid/lesstif/library.c:68:9: note: Shadow local 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 variable pcb-4.2.2/src/hid/lesstif/styles.c:137:10: note: Shadow local 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 variable pcb-4.2.2/src/hid/lesstif/styles.c:160:9: note: Shadow local 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 variable pcb-4.2.2/src/hid/lesstif/styles.c:267:10: note: Shadow local 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/insert.c:92:30: style:inconclusive: Function 'InsertPointIntoRat' argument 1 names different: declaration '' definition 'Rat'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:121:33: style:inconclusive: Function 'InsertPointIntoLine' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:121:50: style:inconclusive: Function 'InsertPointIntoLine' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:163:36: style:inconclusive: Function 'InsertPointIntoPolygon' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:163:56: style:inconclusive: Function 'InsertPointIntoPolygon' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:215:28: style:inconclusive: Function 'InsertPointIntoObject' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:215:40: style:inconclusive: Function 'InsertPointIntoObject' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:215:52: style:inconclusive: Function 'InsertPointIntoObject' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:215:69: style:inconclusive: Function 'InsertPointIntoObject' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:216:16: style:inconclusive: Function 'InsertPointIntoObject' argument 5 names different: declaration '' definition 'DX'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:216:26: style:inconclusive: Function 'InsertPointIntoObject' argument 6 names different: declaration '' definition 'DY'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:216:35: style:inconclusive: Function 'InsertPointIntoObject' argument 7 names different: declaration '' definition 'Force'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/insert.c:217:15: style:inconclusive: Function 'InsertPointIntoObject' argument 8 names different: declaration '' definition 'insert_last'. [funcArgNamesDifferentUnnamed] 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: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/line.c:100:34: style:inconclusive: Function 'FortyFiveLine' argument 1 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/line.c:182:21: style:inconclusive: Function 'AdjustTwoLine' argument 1 names different: declaration '' definition 'way'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/lrealpath.c:84:24: style:inconclusive: Function 'lrealpath' argument 1 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] 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 [syntaxError] 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/mirror.c:65:37: style:inconclusive: Function 'MirrorElementCoordinates' argument 1 names different: declaration '' definition 'Data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mirror.c:65:56: style:inconclusive: Function 'MirrorElementCoordinates' argument 2 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mirror.c:66:12: style:inconclusive: Function 'MirrorElementCoordinates' argument 3 names different: declaration '' definition 'yoff'. [funcArgNamesDifferentUnnamed] 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:112:32: style:inconclusive: Function 'MoveElementLowLevel' argument 1 names different: declaration '' definition 'Data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:112:51: style:inconclusive: Function 'MoveElementLowLevel' argument 2 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:113:14: style:inconclusive: Function 'MoveElementLowLevel' argument 3 names different: declaration '' definition 'DX'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:113:24: style:inconclusive: Function 'MoveElementLowLevel' argument 4 names different: declaration '' definition 'DY'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:177:31: style:inconclusive: Function 'MoveElementName' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:213:27: style:inconclusive: Function 'MoveElement' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:245:19: style:inconclusive: Function 'MoveVia' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:266:22: style:inconclusive: Function 'MoveLine' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:266:39: style:inconclusive: Function 'MoveLine' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:287:21: style:inconclusive: Function 'MoveArc' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:287:37: style:inconclusive: Function 'MoveArc' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:311:22: style:inconclusive: Function 'MoveText' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:311:39: style:inconclusive: Function 'MoveText' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:333:35: style:inconclusive: Function 'MovePolygonLowLevel' argument 1 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:333:50: style:inconclusive: Function 'MovePolygonLowLevel' argument 2 names different: declaration '' definition 'DeltaX'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:333:64: style:inconclusive: Function 'MovePolygonLowLevel' argument 3 names different: declaration '' definition 'DeltaY'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:347:25: style:inconclusive: Function 'MovePolygon' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:347:45: style:inconclusive: Function 'MovePolygon' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:369:27: style:inconclusive: Function 'MoveLinePoint' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:369:44: style:inconclusive: Function 'MoveLinePoint' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:369:61: style:inconclusive: Function 'MoveLinePoint' argument 3 names different: declaration '' definition 'Point'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:409:30: style:inconclusive: Function 'MovePolygonPoint' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:409:50: style:inconclusive: Function 'MovePolygonPoint' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:410:16: style:inconclusive: Function 'MovePolygonPoint' argument 3 names different: declaration '' definition 'Point'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:475:28: style:inconclusive: Function 'MoveArcToLayer' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:475:44: style:inconclusive: Function 'MoveArcToLayer' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:507:26: style:inconclusive: Function 'MoveRatToLayer' argument 1 names different: declaration '' definition 'Rat'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:564:29: style:inconclusive: Function 'MoveLineToLayer' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:564:46: style:inconclusive: Function 'MoveLineToLayer' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:678:29: style:inconclusive: Function 'MoveTextToLayer' argument 1 names different: declaration '' definition 'layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:678:46: style:inconclusive: Function 'MoveTextToLayer' argument 2 names different: declaration '' definition 'text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:749:32: style:inconclusive: Function 'MovePolygonToLayer' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:749:52: style:inconclusive: Function 'MovePolygonToLayer' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:787:17: style:inconclusive: Function 'MoveObject' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:787:29: style:inconclusive: Function 'MoveObject' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:787:41: style:inconclusive: Function 'MoveObject' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:787:53: style:inconclusive: Function 'MoveObject' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:787:65: style:inconclusive: Function 'MoveObject' argument 5 names different: declaration '' definition 'DX'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:787:75: style:inconclusive: Function 'MoveObject' argument 6 names different: declaration '' definition 'DY'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:803:30: style:inconclusive: Function 'MoveObjectAndRubberband' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:803:42: style:inconclusive: Function 'MoveObjectAndRubberband' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:803:54: style:inconclusive: Function 'MoveObjectAndRubberband' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:803:66: style:inconclusive: Function 'MoveObjectAndRubberband' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:804:11: style:inconclusive: Function 'MoveObjectAndRubberband' argument 5 names different: declaration '' definition 'DX'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:804:21: style:inconclusive: Function 'MoveObjectAndRubberband' argument 6 names different: declaration '' definition 'DY'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:845:24: style:inconclusive: Function 'MoveObjectToLayer' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:845:36: style:inconclusive: Function 'MoveObjectToLayer' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:845:48: style:inconclusive: Function 'MoveObjectToLayer' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:845:60: style:inconclusive: Function 'MoveObjectToLayer' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:846:17: style:inconclusive: Function 'MoveObjectToLayer' argument 5 names different: declaration '' definition 'Target'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:846:30: style:inconclusive: Function 'MoveObjectToLayer' argument 6 names different: declaration '' definition 'enmasse'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:863:40: style:inconclusive: Function 'MoveSelectedObjectsToLayer' argument 1 names different: declaration '' definition 'Target'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/move.c:333:50: style: Argument 'DeltaX' shadows outer variable [shadowVariable] pcb-4.2.2/src/move.c:84:14: note: Shadowed variable pcb-4.2.2/src/move.c:333:50: note: Shadow argument pcb-4.2.2/src/move.c:333:64: style: Argument 'DeltaY' shadows outer variable [shadowVariable] pcb-4.2.2/src/move.c:84:22: note: Shadowed variable pcb-4.2.2/src/move.c:333:64: note: Shadow argument 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:413:27: style:inconclusive: Function 'mtsFreeWork' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mtspace.c:610:26: style:inconclusive: Function 'mtsBoxCount' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] 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 variable pcb-4.2.2/src/mtspace.c:576:19: note: Shadow local 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:182:25: style: Parameter 'mtspace' can be declared as pointer to const [constParameterPointer] pcb-4.2.2/src/mtspace.c:475:57: style: Parameter 'desired' can be declared as pointer to const [constParameterPointer] 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:95:36: style:inconclusive: Function 'GetPointerMemory' argument 1 names different: declaration '' definition 'list'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:112:41: style:inconclusive: Function 'FreePointerListMemory' argument 1 names different: declaration '' definition 'list'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:124:28: style:inconclusive: Function 'GetBoxMemory' argument 1 names different: declaration '' definition 'Boxes'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:147:31: style:inconclusive: Function 'GetConnectionMemory' argument 1 names different: declaration '' definition 'Net'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:169:28: style:inconclusive: Function 'GetNetMemory' argument 1 names different: declaration '' definition 'Netlist'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:190:36: style:inconclusive: Function 'GetNetListMemory' argument 1 names different: declaration '' definition 'Netlistlist'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:213:28: style:inconclusive: Function 'GetPinMemory' argument 1 names different: declaration '' definition 'element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:236:28: style:inconclusive: Function 'GetPadMemory' argument 1 names different: declaration '' definition 'element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:259:25: style:inconclusive: Function 'GetViaMemory' argument 1 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:282:25: style:inconclusive: Function 'GetRatMemory' argument 1 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:305:27: style:inconclusive: Function 'GetLineMemory' argument 1 names different: declaration '' definition 'layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:328:26: style:inconclusive: Function 'GetArcMemory' argument 1 names different: declaration '' definition 'layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:351:27: style:inconclusive: Function 'GetTextMemory' argument 1 names different: declaration '' definition 'layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:374:30: style:inconclusive: Function 'GetPolygonMemory' argument 1 names different: declaration '' definition 'layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:397:39: style:inconclusive: Function 'GetPointMemoryInPolygon' argument 1 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:419:43: style:inconclusive: Function 'GetHoleIndexMemoryInPolygon' argument 1 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:441:29: style:inconclusive: Function 'GetElementMemory' argument 1 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:468:36: style:inconclusive: Function 'GetLibraryMenuMemory' argument 1 names different: declaration '' definition 'lib'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:490:41: style:inconclusive: Function 'GetLibraryEntryMemory' argument 1 names different: declaration '' definition 'Menu'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:512:35: style:inconclusive: Function 'GetDrillElementMemory' argument 1 names different: declaration '' definition 'Drill'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:537:31: style:inconclusive: Function 'GetDrillPinMemory' argument 1 names different: declaration '' definition 'Drill'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:560:41: style:inconclusive: Function 'GetDrillInfoDrillMemory' argument 1 names different: declaration '' definition 'DrillInfo'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:579:33: style:inconclusive: Function 'FreePolygonMemory' argument 1 names different: declaration '' definition 'polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:598:33: style:inconclusive: Function 'FreeBoxListMemory' argument 1 names different: declaration '' definition 'Boxlist'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:611:33: style:inconclusive: Function 'FreeNetListMemory' argument 1 names different: declaration '' definition 'Netlist'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:629:41: style:inconclusive: Function 'FreeNetListListMemory' argument 1 names different: declaration '' definition 'Netlistlist'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:647:25: style:inconclusive: Function 'FreeNetMemory' argument 1 names different: declaration '' definition 'Net'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:677:33: style:inconclusive: Function 'FreeElementMemory' argument 1 names different: declaration '' definition 'element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:713:25: style:inconclusive: Function 'FreePCBMemory' argument 1 names different: declaration '' definition 'pcb'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:739:27: style:inconclusive: Function 'FreeDataMemory' argument 1 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:817:33: style:inconclusive: Function 'FreeLibraryMemory' argument 1 names different: declaration '' definition 'lib'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:841:31: style:inconclusive: Function 'DSRealloc' argument 1 names different: declaration '' definition 'Ptr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:841:43: style:inconclusive: Function 'DSRealloc' argument 2 names different: declaration '' definition 'Length'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:857:36: style:inconclusive: Function 'DSAddCharacter' argument 1 names different: declaration '' definition 'Ptr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:857:46: style:inconclusive: Function 'DSAddCharacter' argument 2 names different: declaration '' definition 'Char'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:870:33: style:inconclusive: Function 'DSAddString' argument 1 names different: declaration '' definition 'Ptr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:870:50: style:inconclusive: Function 'DSAddString' argument 2 names different: declaration '' definition 'S'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:885:35: style:inconclusive: Function 'DSClearString' argument 1 names different: declaration '' definition 'Ptr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/mymem.c:898:36: style:inconclusive: Function 'StripWhiteSpaceAndDup' argument 1 names different: declaration '' definition 'S'. [funcArgNamesDifferentUnnamed] 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:2248:27: style:inconclusive: Function 'yyalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] parse_l.c:2253:26: style:inconclusive: Function 'yyrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] parse_l.c:2253:42: style:inconclusive: Function 'yyrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] parse_l.c:2265:21: style:inconclusive: Function 'yyfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] parse_l.l:203:24: style:inconclusive: Function 'Parse' argument 1 names different: declaration '' definition 'Executable'. [funcArgNamesDifferentUnnamed] parse_l.l:203:42: style:inconclusive: Function 'Parse' argument 2 names different: declaration '' definition 'Path'. [funcArgNamesDifferentUnnamed] parse_l.l:203:54: style:inconclusive: Function 'Parse' argument 3 names different: declaration '' definition 'Filename'. [funcArgNamesDifferentUnnamed] parse_l.l:203:70: style:inconclusive: Function 'Parse' argument 4 names different: declaration '' definition 'Parameter'. [funcArgNamesDifferentUnnamed] 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] parse_y.y:2246:25: style:inconclusive: Function 'check_file_version' argument 1 names different: declaration '' definition 'ver'. [funcArgNamesDifferentUnnamed] 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:271:35: style:inconclusive: Function 'coord_to_unit' argument 1 names different: declaration '' definition 'unit'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/pcb-printf.c:271:47: style:inconclusive: Function 'coord_to_unit' argument 2 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/pcb-printf.c:290:34: style:inconclusive: Function 'unit_to_coord' argument 1 names different: declaration '' definition 'unit'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/pcb-printf.c:290:47: style:inconclusive: Function 'unit_to_coord' argument 2 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] 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:274:24: style:inconclusive: Function 'ContourToPoly' argument 1 names different: declaration '' definition 'contour'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:293:30: style:inconclusive: Function 'original_poly' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:358:29: style:inconclusive: Function 'PolygonToPoly' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:430:22: style:inconclusive: Function 'frac_circle' argument 1 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:430:31: style:inconclusive: Function 'frac_circle' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:430:40: style:inconclusive: Function 'frac_circle' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:430:50: style:inconclusive: Function 'frac_circle' argument 4 names different: declaration '' definition 'v'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:430:57: style:inconclusive: Function 'frac_circle' argument 5 names different: declaration '' definition 'fraction'. [funcArgNamesDifferentUnnamed] 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:1303:39: style:inconclusive: Function 'RemoveExcessPolygonPoints' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1303:59: style:inconclusive: Function 'RemoveExcessPolygonPoints' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1338:45: style:inconclusive: Function 'GetLowestDistancePolygonPoint' argument 1 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1338:60: style:inconclusive: Function 'GetLowestDistancePolygonPoint' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1338:69: style:inconclusive: Function 'GetLowestDistancePolygonPoint' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] 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:1629:26: style:inconclusive: Function 'PlowsPolygon' argument 1 names different: declaration '' definition 'Data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1629:36: style:inconclusive: Function 'PlowsPolygon' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1629:48: style:inconclusive: Function 'PlowsPolygon' argument 3 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1629:60: style:inconclusive: Function 'PlowsPolygon' argument 4 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1630:21: style:inconclusive: Function 'PlowsPolygon' argument 5 names different: declaration 'callback' definition 'call_back'. [funcArgNamesDifferent] pcb-4.2.2/src/polygon.h:76:25: note: Function 'PlowsPolygon' argument 5 names different: declaration 'callback' definition 'call_back'. pcb-4.2.2/src/polygon.c:1630:21: note: Function 'PlowsPolygon' argument 5 names different: declaration 'callback' definition 'call_back'. pcb-4.2.2/src/polygon.c:1721:30: style:inconclusive: Function 'RestoreToPolygon' argument 1 names different: declaration '' definition 'Data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1721:40: style:inconclusive: Function 'RestoreToPolygon' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1721:52: style:inconclusive: Function 'RestoreToPolygon' argument 3 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1721:64: style:inconclusive: Function 'RestoreToPolygon' argument 4 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1733:30: style:inconclusive: Function 'ClearFromPolygon' argument 1 names different: declaration '' definition 'Data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1733:40: style:inconclusive: Function 'ClearFromPolygon' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1733:52: style:inconclusive: Function 'ClearFromPolygon' argument 3 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1733:64: style:inconclusive: Function 'ClearFromPolygon' argument 4 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1751:20: style:inconclusive: Function 'isects' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1751:36: style:inconclusive: Function 'isects' argument 2 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1751:44: style:inconclusive: Function 'isects' argument 3 names different: declaration '' definition 'fr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1767:25: style:inconclusive: Function 'IsPointInPolygon' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1767:34: style:inconclusive: Function 'IsPointInPolygon' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1767:43: style:inconclusive: Function 'IsPointInPolygon' argument 3 names different: declaration '' definition 'r'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1767:59: style:inconclusive: Function 'IsPointInPolygon' argument 4 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1792:36: style:inconclusive: Function 'IsPointInPolygonIgnoreHoles' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1792:45: style:inconclusive: Function 'IsPointInPolygonIgnoreHoles' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1792:61: style:inconclusive: Function 'IsPointInPolygonIgnoreHoles' argument 3 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1801:29: style:inconclusive: Function 'IsRectangleInPolygon' argument 1 names different: declaration '' definition 'X1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1801:39: style:inconclusive: Function 'IsRectangleInPolygon' argument 2 names different: declaration '' definition 'Y1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1801:49: style:inconclusive: Function 'IsRectangleInPolygon' argument 3 names different: declaration '' definition 'X2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1801:59: style:inconclusive: Function 'IsRectangleInPolygon' argument 4 names different: declaration '' definition 'Y2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1801:76: style:inconclusive: Function 'IsRectangleInPolygon' argument 5 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1904:26: style:inconclusive: Function 'MorphPolygon' argument 1 names different: declaration '' definition 'layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:1904:46: style:inconclusive: Function 'MorphPolygon' argument 2 names different: declaration '' definition 'poly'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:2027:34: style:inconclusive: Function 'PolyToPolygonsOnLayer' argument 1 names different: declaration '' definition 'Destination'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:2027:58: style:inconclusive: Function 'PolyToPolygonsOnLayer' argument 2 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:2028:34: style:inconclusive: Function 'PolyToPolygonsOnLayer' argument 3 names different: declaration '' definition 'Input'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/polygon.c:2028:50: style:inconclusive: Function 'PolyToPolygonsOnLayer' argument 4 names different: declaration '' definition 'Flags'. [funcArgNamesDifferentUnnamed] 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 variable pcb-4.2.2/src/polygon1.c:2199:15: note: Shadow local 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: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: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:1965:35: style:inconclusive: Function 'mark_line_for_deletion' argument 1 names different: declaration '' definition 'l'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/puller.c:106:47: style: Argument 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed variable pcb-4.2.2/src/puller.c:106:47: note: Shadow argument pcb-4.2.2/src/puller.c:106:56: style: Argument 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed variable pcb-4.2.2/src/puller.c:106:56: note: Shadow argument pcb-4.2.2/src/puller.c:148:16: style: Argument 'cx' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:94:14: note: Shadowed variable pcb-4.2.2/src/puller.c:148:16: note: Shadow argument pcb-4.2.2/src/puller.c:148:26: style: Argument 'cy' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:94:18: note: Shadowed variable pcb-4.2.2/src/puller.c:148:26: note: Shadow argument pcb-4.2.2/src/puller.c:161:14: style: Argument 'cx' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:94:14: note: Shadowed variable pcb-4.2.2/src/puller.c:161:14: note: Shadow argument pcb-4.2.2/src/puller.c:161:24: style: Argument 'cy' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:94:18: note: Shadowed variable pcb-4.2.2/src/puller.c:161:24: note: Shadow argument 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 variable pcb-4.2.2/src/puller.c:246:10: note: Shadow local 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 variable pcb-4.2.2/src/puller.c:246:13: note: Shadow local 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 variable pcb-4.2.2/src/puller.c:272:10: note: Shadow local 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 variable pcb-4.2.2/src/puller.c:272:13: note: Shadow local variable pcb-4.2.2/src/puller.c:670:20: style: Argument 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed variable pcb-4.2.2/src/puller.c:670:20: note: Shadow argument pcb-4.2.2/src/puller.c:804:42: style: Argument 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed variable pcb-4.2.2/src/puller.c:804:42: note: Shadow argument pcb-4.2.2/src/puller.c:804:51: style: Argument 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed variable pcb-4.2.2/src/puller.c:804:51: note: Shadow argument pcb-4.2.2/src/puller.c:828:41: style: Argument 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed variable pcb-4.2.2/src/puller.c:828:41: note: Shadow argument pcb-4.2.2/src/puller.c:828:50: style: Argument 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed variable pcb-4.2.2/src/puller.c:828:50: note: Shadow argument pcb-4.2.2/src/puller.c:901:41: style: Argument 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed variable pcb-4.2.2/src/puller.c:901:41: note: Shadow argument pcb-4.2.2/src/puller.c:901:50: style: Argument 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed variable pcb-4.2.2/src/puller.c:901:50: note: Shadow argument 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 variable pcb-4.2.2/src/puller.c:1352:9: note: Shadow local 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 variable pcb-4.2.2/src/puller.c:1352:12: note: Shadow local variable pcb-4.2.2/src/puller.c:1396:31: style: Argument 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed variable pcb-4.2.2/src/puller.c:1396:31: note: Shadow argument pcb-4.2.2/src/puller.c:1396:40: style: Argument 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed variable pcb-4.2.2/src/puller.c:1396:40: note: Shadow argument pcb-4.2.2/src/puller.c:1443:23: style: Argument 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed variable pcb-4.2.2/src/puller.c:1443:23: note: Shadow argument pcb-4.2.2/src/puller.c:1443:32: style: Argument 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed variable pcb-4.2.2/src/puller.c:1443:32: note: Shadow argument pcb-4.2.2/src/puller.c:1612:19: style: Argument 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed variable pcb-4.2.2/src/puller.c:1612:19: note: Shadow argument pcb-4.2.2/src/puller.c:1612:28: style: Argument 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed variable pcb-4.2.2/src/puller.c:1612:28: note: Shadow argument pcb-4.2.2/src/puller.c:1872:37: style: Argument 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed variable pcb-4.2.2/src/puller.c:1872:37: note: Shadow argument pcb-4.2.2/src/puller.c:1872:46: style: Argument 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed variable pcb-4.2.2/src/puller.c:1872:46: note: Shadow argument 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 variable pcb-4.2.2/src/puller.c:2029:9: note: Shadow local 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 variable pcb-4.2.2/src/puller.c:2029:13: note: Shadow local variable pcb-4.2.2/src/puller.c:2591:43: style: Argument 'x' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:14: note: Shadowed variable pcb-4.2.2/src/puller.c:2591:43: note: Shadow argument pcb-4.2.2/src/puller.c:2591:52: style: Argument 'y' shadows outer variable [shadowVariable] pcb-4.2.2/src/puller.c:93:17: note: Shadowed variable pcb-4.2.2/src/puller.c:2591:52: note: Shadow argument 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:471:15: warning: If memory allocation fails, then there is a possible null pointer dereference: Netl [nullPointerOutOfMemory] pcb-4.2.2/src/rats.c:763:32: note: Assuming allocation function fails pcb-4.2.2/src/rats.c:763:10: note: Assignment 'Nets=(struct NetListType*)calloc(1,sizeof(struct NetListType))', assigned value is 0 pcb-4.2.2/src/rats.c:790:30: note: Calling function 'GatherSubnets', 1st argument 'Nets' value is 0 pcb-4.2.2/src/rats.c:471:15: note: Null pointer dereference pcb-4.2.2/src/rats.c:471:37: warning: If memory allocation fails, then there is a possible null pointer dereference: Netl [nullPointerOutOfMemory] pcb-4.2.2/src/rats.c:763:32: note: Assuming allocation function fails pcb-4.2.2/src/rats.c:763:10: note: Assignment 'Nets=(struct NetListType*)calloc(1,sizeof(struct NetListType))', assigned value is 0 pcb-4.2.2/src/rats.c:790:30: note: Calling function 'GatherSubnets', 1st argument 'Nets' value is 0 pcb-4.2.2/src/rats.c:471:37: note: Null pointer dereference pcb-4.2.2/src/rats.c:481:27: warning: If memory allocation fails, then there is a possible null pointer dereference: Netl [nullPointerOutOfMemory] pcb-4.2.2/src/rats.c:763:32: note: Assuming allocation function fails pcb-4.2.2/src/rats.c:763:10: note: Assignment 'Nets=(struct NetListType*)calloc(1,sizeof(struct NetListType))', assigned value is 0 pcb-4.2.2/src/rats.c:790:30: note: Calling function 'GatherSubnets', 1st argument 'Nets' value is 0 pcb-4.2.2/src/rats.c:481:27: note: Null pointer dereference pcb-4.2.2/src/rats.c:791:9: warning: If memory allocation fails, then there is a possible null pointer dereference: Nets [nullPointerOutOfMemory] pcb-4.2.2/src/rats.c:763:32: note: Assuming allocation function fails pcb-4.2.2/src/rats.c:763:10: note: Assignment 'Nets=(struct NetListType*)calloc(1,sizeof(struct NetListType))', assigned value is 0 pcb-4.2.2/src/rats.c:791:9: note: Null pointer dereference pcb-4.2.2/src/rats.c:100:24: style:inconclusive: Function 'ParseConnection' argument 1 names different: declaration '' definition 'InString'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:100:40: style:inconclusive: Function 'ParseConnection' argument 2 names different: declaration '' definition 'ElementName'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:100:59: style:inconclusive: Function 'ParseConnection' argument 3 names different: declaration '' definition 'PinNum'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:129:16: style:inconclusive: Function 'FindPad' argument 1 names different: declaration '' definition 'ElementName'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:129:35: style:inconclusive: Function 'FindPad' argument 2 names different: declaration '' definition 'PinNum'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:129:60: style:inconclusive: Function 'FindPad' argument 3 names different: declaration '' definition 'conn'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:129:71: style:inconclusive: Function 'FindPad' argument 4 names different: declaration '' definition 'Same'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:190:29: style:inconclusive: Function 'SeekPad' argument 1 names different: declaration '' definition 'entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:190:53: style:inconclusive: Function 'SeekPad' argument 2 names different: declaration '' definition 'conn'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:190:64: style:inconclusive: Function 'SeekPad' argument 3 names different: declaration '' definition 'Same'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:227:27: style:inconclusive: Function 'ProcNetlist' argument 1 names different: declaration '' definition 'net_menu'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:346:27: style:inconclusive: Function 'TransferNet' argument 1 names different: declaration '' definition 'Netl'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:346:42: style:inconclusive: Function 'TransferNet' argument 2 names different: declaration '' definition 'SourceNet'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:346:62: style:inconclusive: Function 'TransferNet' argument 3 names different: declaration '' definition 'DestNet'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:367:31: style:inconclusive: Function 'CheckShorts' argument 1 names different: declaration '' definition 'theNet'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:464:29: style:inconclusive: Function 'GatherSubnets' argument 1 names different: declaration '' definition 'Netl'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:464:40: style:inconclusive: Function 'GatherSubnets' argument 2 names different: declaration '' definition 'NoWarn'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:464:53: style:inconclusive: Function 'GatherSubnets' argument 3 names different: declaration '' definition 'AndRats'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:592:32: style:inconclusive: Function 'DrawShortestRats' argument 1 names different: declaration '' definition 'Netl'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:592:45: style:inconclusive: Function 'DrawShortestRats' argument 2 names different: declaration '' definition 'funcp'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:742:18: style:inconclusive: Function 'AddAllRats' argument 1 names different: declaration '' definition 'SelectedOnly'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:742:39: style:inconclusive: Function 'AddAllRats' argument 2 names different: declaration '' definition 'funcp'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:836:22: style:inconclusive: Function 'CollectSubnets' argument 1 names different: declaration '' definition 'SelectedOnly'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:1026:21: style:inconclusive: Function 'ConnectionName' argument 1 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:1026:33: style:inconclusive: Function 'ConnectionName' argument 2 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rats.c:1026:45: style:inconclusive: Function 'ConnectionName' argument 3 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] 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/remove.c:119:21: style:inconclusive: Function 'RemovePCB' argument 1 names different: declaration '' definition 'Ptr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:130:22: style:inconclusive: Function 'DestroyVia' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:147:25: style:inconclusive: Function 'DestroyLine' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:147:42: style:inconclusive: Function 'DestroyLine' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:164:24: style:inconclusive: Function 'DestroyArc' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:164:40: style:inconclusive: Function 'DestroyArc' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:180:28: style:inconclusive: Function 'DestroyPolygon' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:180:48: style:inconclusive: Function 'DestroyPolygon' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:197:33: style:inconclusive: Function 'DestroyPolygonPoint' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:198:21: style:inconclusive: Function 'DestroyPolygonPoint' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:198:41: style:inconclusive: Function 'DestroyPolygonPoint' argument 3 names different: declaration '' definition 'Point'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:237:25: style:inconclusive: Function 'DestroyText' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:237:42: style:inconclusive: Function 'DestroyText' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:254:30: style:inconclusive: Function 'DestroyElement' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:294:22: style:inconclusive: Function 'DestroyRat' argument 1 names different: declaration '' definition 'Rat'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:312:21: style:inconclusive: Function 'RemoveVia' argument 1 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:329:21: style:inconclusive: Function 'RemoveRat' argument 1 names different: declaration '' definition 'Rat'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:378:29: style:inconclusive: Function 'RemoveLinePoint' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:378:46: style:inconclusive: Function 'RemoveLinePoint' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:378:63: style:inconclusive: Function 'RemoveLinePoint' argument 3 names different: declaration '' definition 'Point'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:403:24: style:inconclusive: Function 'RemoveLine' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:403:41: style:inconclusive: Function 'RemoveLine' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:420:23: style:inconclusive: Function 'RemoveArc' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:420:39: style:inconclusive: Function 'RemoveArc' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:437:24: style:inconclusive: Function 'RemoveText' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:437:41: style:inconclusive: Function 'RemoveText' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:455:27: style:inconclusive: Function 'RemovePolygon' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:455:47: style:inconclusive: Function 'RemovePolygon' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:474:34: style:inconclusive: Function 'RemovePolygonContour' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:475:36: style:inconclusive: Function 'RemovePolygonContour' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:476:32: style:inconclusive: Function 'RemovePolygonContour' argument 3 names different: declaration '' definition 'contour'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:524:32: style:inconclusive: Function 'RemovePolygonPoint' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:525:20: style:inconclusive: Function 'RemovePolygonPoint' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:525:40: style:inconclusive: Function 'RemovePolygonPoint' argument 3 names different: declaration '' definition 'Point'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:578:29: style:inconclusive: Function 'RemoveElement' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:631:19: style:inconclusive: Function 'RemoveObject' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:631:31: style:inconclusive: Function 'RemoveObject' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:631:43: style:inconclusive: Function 'RemoveObject' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:631:55: style:inconclusive: Function 'RemoveObject' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:643:18: style:inconclusive: Function 'DeleteRats' argument 1 names different: declaration '' definition 'selected'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:671:26: style:inconclusive: Function 'DestroyObject' argument 1 names different: declaration '' definition 'Target'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:671:38: style:inconclusive: Function 'DestroyObject' argument 2 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:671:50: style:inconclusive: Function 'DestroyObject' argument 3 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:672:15: style:inconclusive: Function 'DestroyObject' argument 4 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/remove.c:672:27: style:inconclusive: Function 'DestroyObject' argument 5 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] 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: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 variable pcb-4.2.2/src/report.c:618:9: note: Shadow local 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 variable pcb-4.2.2/src/report.c:757:10: note: Shadow local 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 variable pcb-4.2.2/src/report.c:782:10: note: Shadow local 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:1854:28: style:inconclusive: Function 'resalloc' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] res_lex.c:1859:27: style:inconclusive: Function 'resrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] res_lex.c:1859:43: style:inconclusive: Function 'resrealloc' argument 2 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] res_lex.c:1871:22: style:inconclusive: Function 'resfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] 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:1470:45: style: Comparing expression of type 'unsigned int' against value 4294967295. Condition is always true. [compareValueOutOfTypeRangeError] res_parse.c:981:26: style: Condition 'yyn<0' is always false [knownConditionTrueFalse] res_parse.c:946:22: note: Assuming that condition '-1' definition 'str'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:222:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ELEMENTNAMES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rotate.c:332:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ELEMENTNAMES [valueFlowBailoutIncompleteVar] pcb-4.2.2/src/rotate.c:104:31: style:inconclusive: Function 'RotateLineLowLevel' argument 1 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:104:43: style:inconclusive: Function 'RotateLineLowLevel' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:104:52: style:inconclusive: Function 'RotateLineLowLevel' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:104:64: style:inconclusive: Function 'RotateLineLowLevel' argument 4 names different: declaration '' definition 'Number'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:140:31: style:inconclusive: Function 'RotateTextLowLevel' argument 1 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:140:43: style:inconclusive: Function 'RotateTextLowLevel' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:140:52: style:inconclusive: Function 'RotateTextLowLevel' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:140:64: style:inconclusive: Function 'RotateTextLowLevel' argument 4 names different: declaration '' definition 'Number'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:159:37: style:inconclusive: Function 'RotatePolygonLowLevel' argument 1 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:159:52: style:inconclusive: Function 'RotatePolygonLowLevel' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:159:61: style:inconclusive: Function 'RotatePolygonLowLevel' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:159:73: style:inconclusive: Function 'RotatePolygonLowLevel' argument 4 names different: declaration '' definition 'Number'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:173:24: style:inconclusive: Function 'RotateText' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:173:41: style:inconclusive: Function 'RotateText' argument 2 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:190:29: style:inconclusive: Function 'RotateArcLowLevel' argument 1 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:190:40: style:inconclusive: Function 'RotateArcLowLevel' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:190:49: style:inconclusive: Function 'RotateArcLowLevel' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:190:61: style:inconclusive: Function 'RotateArcLowLevel' argument 4 names different: declaration '' definition 'Number'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:214:34: style:inconclusive: Function 'RotateElementLowLevel' argument 1 names different: declaration '' definition 'Data'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:214:53: style:inconclusive: Function 'RotateElementLowLevel' argument 2 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:215:16: style:inconclusive: Function 'RotateElementLowLevel' argument 3 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:215:25: style:inconclusive: Function 'RotateElementLowLevel' argument 4 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:215:37: style:inconclusive: Function 'RotateElementLowLevel' argument 5 names different: declaration '' definition 'Number'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:267:29: style:inconclusive: Function 'RotateLinePoint' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:267:46: style:inconclusive: Function 'RotateLinePoint' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:267:63: style:inconclusive: Function 'RotateLinePoint' argument 3 names different: declaration '' definition 'Point'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:298:23: style:inconclusive: Function 'RotateArc' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:298:39: style:inconclusive: Function 'RotateArc' argument 2 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:316:29: style:inconclusive: Function 'RotateElement' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:329:33: style:inconclusive: Function 'RotateElementName' argument 1 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:348:29: style:inconclusive: Function 'RotateBoxLowLevel' argument 1 names different: declaration '' definition 'Box'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:348:40: style:inconclusive: Function 'RotateBoxLowLevel' argument 2 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:348:49: style:inconclusive: Function 'RotateBoxLowLevel' argument 3 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:348:61: style:inconclusive: Function 'RotateBoxLowLevel' argument 4 names different: declaration '' definition 'Number'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:367:19: style:inconclusive: Function 'RotateObject' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:367:31: style:inconclusive: Function 'RotateObject' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:367:43: style:inconclusive: Function 'RotateObject' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:367:55: style:inconclusive: Function 'RotateObject' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:368:14: style:inconclusive: Function 'RotateObject' argument 5 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:368:23: style:inconclusive: Function 'RotateObject' argument 6 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:368:35: style:inconclusive: Function 'RotateObject' argument 7 names different: declaration '' definition 'Steps'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:424:27: style:inconclusive: Function 'RotateScreenObject' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:424:36: style:inconclusive: Function 'RotateScreenObject' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:424:48: style:inconclusive: Function 'RotateScreenObject' argument 3 names different: declaration '' definition 'Steps'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rotate.c:95:67: style: Argument 'Number' shadows outer variable [shadowVariable] pcb-4.2.2/src/rotate.c:75:17: note: Shadowed variable pcb-4.2.2/src/rotate.c:95:67: note: Shadow argument pcb-4.2.2/src/rotate.c:104:64: style: Argument 'Number' shadows outer variable [shadowVariable] pcb-4.2.2/src/rotate.c:75:17: note: Shadowed variable pcb-4.2.2/src/rotate.c:104:64: note: Shadow argument pcb-4.2.2/src/rotate.c:140:64: style: Argument 'Number' shadows outer variable [shadowVariable] pcb-4.2.2/src/rotate.c:75:17: note: Shadowed variable pcb-4.2.2/src/rotate.c:140:64: note: Shadow argument pcb-4.2.2/src/rotate.c:159:73: style: Argument 'Number' shadows outer variable [shadowVariable] pcb-4.2.2/src/rotate.c:75:17: note: Shadowed variable pcb-4.2.2/src/rotate.c:159:73: note: Shadow argument pcb-4.2.2/src/rotate.c:190:61: style: Argument 'Number' shadows outer variable [shadowVariable] pcb-4.2.2/src/rotate.c:75:17: note: Shadowed variable pcb-4.2.2/src/rotate.c:190:61: note: Shadow argument pcb-4.2.2/src/rotate.c:215:37: style: Argument 'Number' shadows outer variable [shadowVariable] pcb-4.2.2/src/rotate.c:75:17: note: Shadowed variable pcb-4.2.2/src/rotate.c:215:37: note: Shadow argument pcb-4.2.2/src/rotate.c:348:61: style: Argument 'Number' shadows outer variable [shadowVariable] pcb-4.2.2/src/rotate.c:75:17: note: Shadowed variable pcb-4.2.2/src/rotate.c:348:61: note: Shadow argument pcb-4.2.2/src/rtree.c:125:31: style: Condition 'node->u.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:171:27: warning: Either the condition 'node->u.kids[i]' is redundant or there is possible null pointer dereference: node->u.kids[i]. [nullPointerRedundantCheck] pcb-4.2.2/src/rtree.c:164:27: note: Assuming that condition 'node->u.kids[i]' is not redundant pcb-4.2.2/src/rtree.c:171:27: note: Null pointer dereference pcb-4.2.2/src/rtree.c:173:27: warning: Either the condition 'node->u.kids[i]' is redundant or there is possible null pointer dereference: node->u.kids[i]. [nullPointerRedundantCheck] pcb-4.2.2/src/rtree.c:164:27: note: Assuming that condition 'node->u.kids[i]' is not redundant pcb-4.2.2/src/rtree.c:173:27: note: Null pointer dereference 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:867:7: 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:867:7: 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:227:35: style:inconclusive: Function '__r_dump_tree' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rtree.c:227:45: style:inconclusive: Function '__r_dump_tree' argument 2 names different: declaration '' definition 'depth'. [funcArgNamesDifferentUnnamed] 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:613:17: style:inconclusive: Function 'r_search' argument 3 names different: declaration 'region_in_search' definition 'check_region'. [funcArgNamesDifferent] pcb-4.2.2/src/rtree.h:53:14: note: Function 'r_search' argument 3 names different: declaration 'region_in_search' definition 'check_region'. pcb-4.2.2/src/rtree.c:613:17: note: Function 'r_search' argument 3 names different: declaration 'region_in_search' definition 'check_region'. pcb-4.2.2/src/rtree.c:614:17: style:inconclusive: Function 'r_search' argument 4 names different: declaration 'rectangle_in_region' definition 'found_rectangle'. [funcArgNamesDifferent] pcb-4.2.2/src/rtree.h:54:14: note: Function 'r_search' argument 4 names different: declaration 'rectangle_in_region' definition 'found_rectangle'. pcb-4.2.2/src/rtree.c:614:17: note: Function 'r_search' argument 4 names different: declaration 'rectangle_in_region' definition 'found_rectangle'. 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:238:43: style:inconclusive: Function 'CheckPadForRubberbandConnection' argument 1 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:358:34: style:inconclusive: Function 'CheckLinePointForRat' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:358:52: style:inconclusive: Function 'CheckLinePointForRat' argument 2 names different: declaration '' definition 'Point'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:381:43: style:inconclusive: Function 'CheckPinForRubberbandConnection' argument 1 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:417:51: style:inconclusive: Function 'CheckLinePointForRubberbandConnection' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:418:22: style:inconclusive: Function 'CheckLinePointForRubberbandConnection' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:419:23: style:inconclusive: Function 'CheckLinePointForRubberbandConnection' argument 3 names different: declaration '' definition 'LinePoint'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:420:17: style:inconclusive: Function 'CheckLinePointForRubberbandConnection' argument 4 names different: declaration '' definition 'Exact'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:493:49: style:inconclusive: Function 'CheckPolygonForRubberbandConnection' argument 1 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:494:23: style:inconclusive: Function 'CheckPolygonForRubberbandConnection' argument 2 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:536:28: style:inconclusive: Function 'LookupRubberbandLines' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:536:40: style:inconclusive: Function 'LookupRubberbandLines' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:536:52: style:inconclusive: Function 'LookupRubberbandLines' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:536:64: style:inconclusive: Function 'LookupRubberbandLines' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:615:21: style:inconclusive: Function 'LookupRatLines' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:615:33: style:inconclusive: Function 'LookupRatLines' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:615:45: style:inconclusive: Function 'LookupRatLines' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/rubberband.c:615:57: style:inconclusive: Function 'LookupRatLines' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] 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:133:26: style:inconclusive: Function 'SearchViaByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:133:45: style:inconclusive: Function 'SearchViaByLocation' argument 2 names different: declaration '' definition 'Via'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:133:61: style:inconclusive: Function 'SearchViaByLocation' argument 3 names different: declaration '' definition 'Dummy1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:134:19: style:inconclusive: Function 'SearchViaByLocation' argument 4 names different: declaration '' definition 'Dummy2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:162:26: style:inconclusive: Function 'SearchPinByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:162:49: style:inconclusive: Function 'SearchPinByLocation' argument 2 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:162:69: style:inconclusive: Function 'SearchPinByLocation' argument 3 names different: declaration '' definition 'Pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:163:19: style:inconclusive: Function 'SearchPinByLocation' argument 4 names different: declaration '' definition 'Dummy'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:220:26: style:inconclusive: Function 'SearchPadByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:220:49: style:inconclusive: Function 'SearchPadByLocation' argument 2 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:220:69: style:inconclusive: Function 'SearchPadByLocation' argument 3 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:221:19: style:inconclusive: Function 'SearchPadByLocation' argument 4 names different: declaration '' definition 'Dummy'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:221:31: style:inconclusive: Function 'SearchPadByLocation' argument 5 names different: declaration '' definition 'BackToo'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:269:27: style:inconclusive: Function 'SearchLineByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:269:48: style:inconclusive: Function 'SearchLineByLocation' argument 2 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:269:67: style:inconclusive: Function 'SearchLineByLocation' argument 3 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:270:21: style:inconclusive: Function 'SearchLineByLocation' argument 4 names different: declaration '' definition 'Dummy'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:312:30: style:inconclusive: Function 'SearchRatLineByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:312:49: style:inconclusive: Function 'SearchRatLineByLocation' argument 2 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:312:66: style:inconclusive: Function 'SearchRatLineByLocation' argument 3 names different: declaration '' definition 'Dummy1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:313:16: style:inconclusive: Function 'SearchRatLineByLocation' argument 4 names different: declaration '' definition 'Dummy2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:361:26: style:inconclusive: Function 'SearchArcByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:361:47: style:inconclusive: Function 'SearchArcByLocation' argument 2 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:361:65: style:inconclusive: Function 'SearchArcByLocation' argument 3 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:362:19: style:inconclusive: Function 'SearchArcByLocation' argument 4 names different: declaration '' definition 'Dummy'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:400:27: style:inconclusive: Function 'SearchTextByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:400:48: style:inconclusive: Function 'SearchTextByLocation' argument 2 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:400:67: style:inconclusive: Function 'SearchTextByLocation' argument 3 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:401:21: style:inconclusive: Function 'SearchTextByLocation' argument 4 names different: declaration '' definition 'Dummy'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:441:30: style:inconclusive: Function 'SearchPolygonByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:441:51: style:inconclusive: Function 'SearchPolygonByLocation' argument 2 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:442:20: style:inconclusive: Function 'SearchPolygonByLocation' argument 3 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:442:44: style:inconclusive: Function 'SearchPolygonByLocation' argument 4 names different: declaration '' definition 'Dummy'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:496:32: style:inconclusive: Function 'SearchLinePointByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:496:53: style:inconclusive: Function 'SearchLinePointByLocation' argument 2 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:497:19: style:inconclusive: Function 'SearchLinePointByLocation' argument 3 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:497:38: style:inconclusive: Function 'SearchLinePointByLocation' argument 4 names different: declaration '' definition 'Point'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:567:28: style:inconclusive: Function 'SearchPointByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:567:49: style:inconclusive: Function 'SearchPointByLocation' argument 2 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:568:25: style:inconclusive: Function 'SearchPointByLocation' argument 3 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:568:47: style:inconclusive: Function 'SearchPointByLocation' argument 4 names different: declaration '' definition 'Point'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:631:34: style:inconclusive: Function 'SearchElementNameByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:631:57: style:inconclusive: Function 'SearchElementNameByLocation' argument 2 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:632:21: style:inconclusive: Function 'SearchElementNameByLocation' argument 3 names different: declaration '' definition 'Text'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:632:39: style:inconclusive: Function 'SearchElementNameByLocation' argument 4 names different: declaration '' definition 'Dummy'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:633:14: style:inconclusive: Function 'SearchElementNameByLocation' argument 5 names different: declaration '' definition 'BackToo'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:688:30: style:inconclusive: Function 'SearchElementByLocation' argument 1 names different: declaration '' definition 'locked'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:689:20: style:inconclusive: Function 'SearchElementByLocation' argument 2 names different: declaration '' definition 'Element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:690:20: style:inconclusive: Function 'SearchElementByLocation' argument 3 names different: declaration '' definition 'Dummy1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:690:43: style:inconclusive: Function 'SearchElementByLocation' argument 4 names different: declaration '' definition 'Dummy2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:691:10: style:inconclusive: Function 'SearchElementByLocation' argument 5 names different: declaration '' definition 'BackToo'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:716:21: style:inconclusive: Function 'IsPointOnPin' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:716:30: style:inconclusive: Function 'IsPointOnPin' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:716:39: style:inconclusive: Function 'IsPointOnPin' argument 3 names different: declaration '' definition 'Radius'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:716:56: style:inconclusive: Function 'IsPointOnPin' argument 4 names different: declaration '' definition 'pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:739:25: style:inconclusive: Function 'IsPointOnLineEnd' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:739:34: style:inconclusive: Function 'IsPointOnLineEnd' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:739:46: style:inconclusive: Function 'IsPointOnLineEnd' argument 3 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:799:22: style:inconclusive: Function 'IsPointOnLine' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:799:31: style:inconclusive: Function 'IsPointOnLine' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:799:40: style:inconclusive: Function 'IsPointOnLine' argument 3 names different: declaration '' definition 'Radius'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:799:58: style:inconclusive: Function 'IsPointOnLine' argument 4 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:826:26: style:inconclusive: Function 'IsLineInRectangle' argument 1 names different: declaration '' definition 'X1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:826:36: style:inconclusive: Function 'IsLineInRectangle' argument 2 names different: declaration '' definition 'Y1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:826:46: style:inconclusive: Function 'IsLineInRectangle' argument 3 names different: declaration '' definition 'X2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:826:56: style:inconclusive: Function 'IsLineInRectangle' argument 4 names different: declaration '' definition 'Y2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:826:70: style:inconclusive: Function 'IsLineInRectangle' argument 5 names different: declaration '' definition 'Line'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:949:25: style:inconclusive: Function 'IsArcInRectangle' argument 1 names different: declaration '' definition 'X1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:949:35: style:inconclusive: Function 'IsArcInRectangle' argument 2 names different: declaration '' definition 'Y1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:949:45: style:inconclusive: Function 'IsArcInRectangle' argument 3 names different: declaration '' definition 'X2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:949:55: style:inconclusive: Function 'IsArcInRectangle' argument 4 names different: declaration '' definition 'Y2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:949:68: style:inconclusive: Function 'IsArcInRectangle' argument 5 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:995:21: style:inconclusive: Function 'IsPointInPad' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:995:30: style:inconclusive: Function 'IsPointInPad' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:995:39: style:inconclusive: Function 'IsPointInPad' argument 3 names different: declaration '' definition 'Radius'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:995:56: style:inconclusive: Function 'IsPointInPad' argument 4 names different: declaration '' definition 'Pad'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1075:21: style:inconclusive: Function 'IsPointInBox' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1075:30: style:inconclusive: Function 'IsPointInBox' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1075:42: style:inconclusive: Function 'IsPointInBox' argument 3 names different: declaration '' definition 'box'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1075:53: style:inconclusive: Function 'IsPointInBox' argument 4 names different: declaration '' definition 'Radius'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1124:21: style:inconclusive: Function 'IsPointOnArc' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1124:30: style:inconclusive: Function 'IsPointOnArc' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1124:39: style:inconclusive: Function 'IsPointOnArc' argument 3 names different: declaration '' definition 'Radius'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1124:56: style:inconclusive: Function 'IsPointOnArc' argument 4 names different: declaration '' definition 'Arc'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1273:34: style:inconclusive: Function 'SearchObjectByLocation' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1274:11: style:inconclusive: Function 'SearchObjectByLocation' argument 2 names different: declaration '' definition 'Result1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1274:27: style:inconclusive: Function 'SearchObjectByLocation' argument 3 names different: declaration '' definition 'Result2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1274:43: style:inconclusive: Function 'SearchObjectByLocation' argument 4 names different: declaration '' definition 'Result3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1275:10: style:inconclusive: Function 'SearchObjectByLocation' argument 5 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1275:19: style:inconclusive: Function 'SearchObjectByLocation' argument 6 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1275:28: style:inconclusive: Function 'SearchObjectByLocation' argument 7 names different: declaration '' definition 'Radius'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1467:29: style:inconclusive: Function 'SearchObjectByID' argument 1 names different: declaration '' definition 'Base'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1468:12: style:inconclusive: Function 'SearchObjectByID' argument 2 names different: declaration '' definition 'Result1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1468:28: style:inconclusive: Function 'SearchObjectByID' argument 3 names different: declaration '' definition 'Result2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1468:44: style:inconclusive: Function 'SearchObjectByID' argument 4 names different: declaration '' definition 'Result3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1468:57: style:inconclusive: Function 'SearchObjectByID' argument 5 names different: declaration '' definition 'ID'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1469:9: style:inconclusive: Function 'SearchObjectByID' argument 6 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1673:32: style:inconclusive: Function 'SearchElementByName' argument 1 names different: declaration '' definition 'Base'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1673:44: style:inconclusive: Function 'SearchElementByName' argument 2 names different: declaration '' definition 'Name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1719:21: style:inconclusive: Function 'SearchScreen' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1719:30: style:inconclusive: Function 'SearchScreen' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1719:37: style:inconclusive: Function 'SearchScreen' argument 3 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1719:50: style:inconclusive: Function 'SearchScreen' argument 4 names different: declaration '' definition 'Result1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1720:15: style:inconclusive: Function 'SearchScreen' argument 5 names different: declaration '' definition 'Result2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/search.c:1720:31: style:inconclusive: Function 'SearchScreen' argument 6 names different: declaration '' definition 'Result3'. [funcArgNamesDifferentUnnamed] 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:1701:3: style: Variable 'layer' can be declared as pointer to const [constVariablePointer] 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:225:23: style:inconclusive: Function 'SelectBlock' argument 1 names different: declaration '' definition 'Box'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/select.c:225:33: style:inconclusive: Function 'SelectBlock' argument 2 names different: declaration '' definition 'select'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/select.c:450:38: style:inconclusive: Function 'ObjectOperation' argument 1 names different: declaration '' definition 'F'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/select.c:451:8: style:inconclusive: Function 'ObjectOperation' argument 2 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/select.c:451:20: style:inconclusive: Function 'ObjectOperation' argument 3 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/select.c:451:32: style:inconclusive: Function 'ObjectOperation' argument 4 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/select.c:451:44: style:inconclusive: Function 'ObjectOperation' argument 5 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/select.c:532:40: style:inconclusive: Function 'SelectedOperation' argument 1 names different: declaration '' definition 'F'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/select.c:532:48: style:inconclusive: Function 'SelectedOperation' argument 2 names different: declaration '' definition 'Reset'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/select.c:532:59: style:inconclusive: Function 'SelectedOperation' argument 3 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] 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:401:12: warning: Possible null pointer dereference: nstyle [nullPointer] pcb-4.2.2/src/set.c:388:18: note: Assignment 'nstyle=argc>(0)?argv[0]:0', assigned value is 0 pcb-4.2.2/src/set.c:401:12: note: Null pointer dereference 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:76:16: style:inconclusive: Function 'SetGrid' argument 1 names different: declaration '' definition 'Grid'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:76:27: style:inconclusive: Function 'SetGrid' argument 2 names different: declaration '' definition 'align'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:100:20: style:inconclusive: Function 'SetLineSize' argument 1 names different: declaration '' definition 'Size'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:114:19: style:inconclusive: Function 'SetViaSize' argument 1 names different: declaration '' definition 'Size'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:114:30: style:inconclusive: Function 'SetViaSize' argument 2 names different: declaration '' definition 'Force'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:128:27: style:inconclusive: Function 'SetViaDrillingHole' argument 1 names different: declaration '' definition 'Size'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:128:38: style:inconclusive: Function 'SetViaDrillingHole' argument 2 names different: declaration '' definition 'Force'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:139:26: style:inconclusive: Function 'SetViaMaskAperture' argument 1 names different: declaration '' definition 'Size'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:145:39: style:inconclusive: Function 'pcb_use_route_style' argument 1 names different: declaration '' definition 'rst'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:158:25: style:inconclusive: Function 'SetKeepawayWidth' argument 1 names different: declaration '' definition 'Width'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:170:19: style:inconclusive: Function 'SetTextScale' argument 1 names different: declaration '' definition 'Scale'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:182:22: style:inconclusive: Function 'SetChangedFlag' argument 1 names different: declaration '' definition 'New'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:195:22: style:inconclusive: Function 'SetBufferNumber' argument 1 names different: declaration '' definition 'Number'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:242:14: style:inconclusive: Function 'SetMode' argument 1 names different: declaration '' definition 'Mode'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:323:22: style:inconclusive: Function 'SetRouteStyle' argument 1 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:340:20: style:inconclusive: Function 'SetLocalRef' argument 1 names different: declaration '' definition 'X'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:340:29: style:inconclusive: Function 'SetLocalRef' argument 2 names different: declaration '' definition 'Y'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/set.c:340:37: style:inconclusive: Function 'SetLocalRef' argument 3 names different: declaration '' definition 'Showing'. [funcArgNamesDifferentUnnamed] 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:327:3: style: Variable 'style' can be declared as pointer to const [constVariablePointer] 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:458:21: style:inconclusive: Function 'ThermPoly' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/thermal.c:458:33: style:inconclusive: Function 'ThermPoly' argument 2 names different: declaration '' definition 'pin'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/thermal.c:458:47: style:inconclusive: Function 'ThermPoly' argument 3 names different: declaration '' definition 'laynum'. [funcArgNamesDifferentUnnamed] 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 variable pcb-4.2.2/src/thermal.c:438:15: note: Shadow local 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: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: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: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:4314:28: error: Allocation with g_list_copy, g_list_concat doesn't release it. [leakNoVarFunctionCall] pcb-4.2.2/src/toporouter.c:4534:28: error: Allocation with g_list_copy, g_list_concat doesn't release it. [leakNoVarFunctionCall] pcb-4.2.2/src/toporouter.c:4535:28: error: Allocation with g_list_copy, g_list_concat doesn't release it. [leakNoVarFunctionCall] pcb-4.2.2/src/toporouter.c:4558:30: error: Allocation with g_list_copy, g_list_concat doesn't release it. [leakNoVarFunctionCall] pcb-4.2.2/src/toporouter.c:4572:30: error: Allocation with g_list_copy, g_list_concat doesn't release it. [leakNoVarFunctionCall] 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:6871: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:6864:6: note: Assuming condition is false pcb-4.2.2/src/toporouter.c:6871:3: 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 argument pcb-4.2.2/src/toporouter.c:4632:26: note: Shadow local 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 variable pcb-4.2.2/src/toporouter.c:4710:12: note: Shadow local 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 variable pcb-4.2.2/src/toporouter.c:4954:12: note: Shadow local 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 variable pcb-4.2.2/src/toporouter.c:4971:12: note: Shadow local 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 variable pcb-4.2.2/src/toporouter.c:4992:12: note: Shadow local 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 variable pcb-4.2.2/src/toporouter.c:5013:12: note: Shadow local 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 function pcb-4.2.2/src/toporouter.c:5307:8: note: Shadow local variable pcb-4.2.2/src/toporouter.c:5795:36: style: Argument 'wind' shadows outer function [shadowFunction] pcb-4.2.2/src/toporouter.c:1203:1: note: Shadowed function pcb-4.2.2/src/toporouter.c:5795:36: note: Shadow argument 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 variable pcb-4.2.2/src/toporouter.c:5804:13: note: Shadow local variable pcb-4.2.2/src/toporouter.c:5867:36: style: Argument 'wind' shadows outer function [shadowFunction] pcb-4.2.2/src/toporouter.c:1203:1: note: Shadowed function pcb-4.2.2/src/toporouter.c:5867:36: note: Shadow argument 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 variable pcb-4.2.2/src/toporouter.c:5872:13: note: Shadow local variable pcb-4.2.2/src/toporouter.c:5930:102: style: Argument 'wind' shadows outer function [shadowFunction] pcb-4.2.2/src/toporouter.c:1203:1: note: Shadowed function pcb-4.2.2/src/toporouter.c:5930:102: note: Shadow argument pcb-4.2.2/src/toporouter.c:7085:37: style: Argument 'route' shadows outer function [shadowFunction] pcb-4.2.2/src/toporouter.c:4672:1: note: Shadowed function pcb-4.2.2/src/toporouter.c:7085:37: note: Shadow argument pcb-4.2.2/src/toporouter.c:7148:38: style: Argument 'route' shadows outer function [shadowFunction] pcb-4.2.2/src/toporouter.c:4672:1: note: Shadowed function pcb-4.2.2/src/toporouter.c:7148:38: note: Shadow argument pcb-4.2.2/src/toporouter.c:7192:35: style: Argument 'route' shadows outer function [shadowFunction] pcb-4.2.2/src/toporouter.c:4672:1: note: Shadowed function pcb-4.2.2/src/toporouter.c:7192:35: note: Shadow argument 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 variable pcb-4.2.2/src/toporouter.c:7554:28: note: Shadow local 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:328:3: style: Variable 'style' can be declared as pointer to const [constVariablePointer] 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:345:3: style: Variable 'style' can be declared as pointer to const [constVariablePointer] 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:586:34: style: Parameter 'v' 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:712:16: style: Variable 'pad' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:720:17: style: Variable 'line' 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:45: style: Parameter 'pv' can be declared as pointer to const [constParameterPointer] 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:7148:65: style: Parameter 'temproute' 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:7789:16: style: Variable 'pad0' can be declared as pointer to const [constVariablePointer] pcb-4.2.2/src/toporouter.c:7790:16: style: Variable 'pad1' can be declared as pointer to const [constVariablePointer] 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:250:18: style:inconclusive: Function 'GetUndoSlot' argument 1 names different: declaration '' definition 'CommandType'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:250:35: style:inconclusive: Function 'GetUndoSlot' argument 2 names different: declaration '' definition 'ID'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:250:43: style:inconclusive: Function 'GetUndoSlot' argument 3 names different: declaration '' definition 'Kind'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:319:26: style:inconclusive: Function 'DrawRecoveredObject' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:319:38: style:inconclusive: Function 'DrawRecoveredObject' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:319:50: style:inconclusive: Function 'DrawRecoveredObject' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:319:62: style:inconclusive: Function 'DrawRecoveredObject' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:338:27: style:inconclusive: Function 'UndoRotate' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:363:30: style:inconclusive: Function 'UndoClearPoly' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:388:31: style:inconclusive: Function 'UndoChangeName' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:410:34: style:inconclusive: Function 'UndoChange2ndSize' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:436:33: style:inconclusive: Function 'UndoChangeAngles' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:470:36: style:inconclusive: Function 'UndoChangeClearSize' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:499:35: style:inconclusive: Function 'UndoChangeMaskSize' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:532:31: style:inconclusive: Function 'UndoChangeSize' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:612:25: style:inconclusive: Function 'UndoFlag' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:660:27: style:inconclusive: Function 'UndoMirror' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:688:33: style:inconclusive: Function 'UndoCopyOrCreate' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:716:25: style:inconclusive: Function 'UndoMove' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:741:27: style:inconclusive: Function 'UndoRemove' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:767:32: style:inconclusive: Function 'UndoMoveToLayer' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:793:32: style:inconclusive: Function 'UndoRemovePoint' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:839:32: style:inconclusive: Function 'UndoInsertPoint' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:937:34: style:inconclusive: Function 'UndoRemoveContour' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:949:34: style:inconclusive: Function 'UndoInsertContour' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1040:33: style:inconclusive: Function 'UndoSetViaLayers' argument 1 names different: declaration '' definition 'Entry'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1074:12: style:inconclusive: Function 'Undo' argument 1 names different: declaration '' definition 'draw'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1147:28: style:inconclusive: Function 'PerformUndo' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1265:12: style:inconclusive: Function 'Redo' argument 1 names different: declaration '' definition 'draw'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1394:26: style:inconclusive: Function 'MergeUndoSerialRange' argument 1 names different: declaration '' definition 'min'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1394:35: style:inconclusive: Function 'MergeUndoSerialRange' argument 2 names different: declaration '' definition 'max'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1413:21: style:inconclusive: Function 'ClearUndoList' argument 1 names different: declaration '' definition 'Force'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1447:35: style:inconclusive: Function 'AddObjectToClearPolyUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1447:47: style:inconclusive: Function 'AddObjectToClearPolyUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1447:59: style:inconclusive: Function 'AddObjectToClearPolyUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1447:71: style:inconclusive: Function 'AddObjectToClearPolyUndoList' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1448:15: style:inconclusive: Function 'AddObjectToClearPolyUndoList' argument 5 names different: declaration '' definition 'clear'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1464:32: style:inconclusive: Function 'AddObjectToMirrorUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1464:44: style:inconclusive: Function 'AddObjectToMirrorUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1464:56: style:inconclusive: Function 'AddObjectToMirrorUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1464:68: style:inconclusive: Function 'AddObjectToMirrorUndoList' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1465:13: style:inconclusive: Function 'AddObjectToMirrorUndoList' argument 5 names different: declaration '' definition 'yoff'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1480:32: style:inconclusive: Function 'AddObjectToRotateUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1480:44: style:inconclusive: Function 'AddObjectToRotateUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1480:56: style:inconclusive: Function 'AddObjectToRotateUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1480:68: style:inconclusive: Function 'AddObjectToRotateUndoList' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1481:13: style:inconclusive: Function 'AddObjectToRotateUndoList' argument 5 names different: declaration '' definition 'CenterX'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1481:28: style:inconclusive: Function 'AddObjectToRotateUndoList' argument 6 names different: declaration '' definition 'CenterY'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1482:12: style:inconclusive: Function 'AddObjectToRotateUndoList' argument 7 names different: declaration '' definition 'Steps'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1500:33: style:inconclusive: Function 'MoveObjectToRemoveUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1500:45: style:inconclusive: Function 'MoveObjectToRemoveUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1500:57: style:inconclusive: Function 'MoveObjectToRemoveUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1500:69: style:inconclusive: Function 'MoveObjectToRemoveUndoList' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1516:37: style:inconclusive: Function 'AddObjectToRemovePointUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1517:11: style:inconclusive: Function 'AddObjectToRemovePointUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1517:23: style:inconclusive: Function 'AddObjectToRemovePointUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1517:38: style:inconclusive: Function 'AddObjectToRemovePointUndoList' argument 4 names different: declaration '' definition 'index'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1561:37: style:inconclusive: Function 'AddObjectToInsertPointUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1561:49: style:inconclusive: Function 'AddObjectToInsertPointUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1561:61: style:inconclusive: Function 'AddObjectToInsertPointUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1561:73: style:inconclusive: Function 'AddObjectToInsertPointUndoList' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1590:39: style:inconclusive: Function 'AddObjectToRemoveContourUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1591:18: style:inconclusive: Function 'AddObjectToRemoveContourUndoList' argument 2 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1591:38: style:inconclusive: Function 'AddObjectToRemoveContourUndoList' argument 3 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1602:39: style:inconclusive: Function 'AddObjectToInsertContourUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1603:18: style:inconclusive: Function 'AddObjectToInsertContourUndoList' argument 2 names different: declaration '' definition 'Layer'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1603:38: style:inconclusive: Function 'AddObjectToInsertContourUndoList' argument 3 names different: declaration '' definition 'Polygon'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1612:30: style:inconclusive: Function 'AddObjectToMoveUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1612:42: style:inconclusive: Function 'AddObjectToMoveUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1612:54: style:inconclusive: Function 'AddObjectToMoveUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1612:66: style:inconclusive: Function 'AddObjectToMoveUndoList' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1613:11: style:inconclusive: Function 'AddObjectToMoveUndoList' argument 5 names different: declaration '' definition 'DX'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1613:21: style:inconclusive: Function 'AddObjectToMoveUndoList' argument 6 names different: declaration '' definition 'DY'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1629:36: style:inconclusive: Function 'AddObjectToChangeNameUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1629:48: style:inconclusive: Function 'AddObjectToChangeNameUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1629:60: style:inconclusive: Function 'AddObjectToChangeNameUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1629:72: style:inconclusive: Function 'AddObjectToChangeNameUndoList' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1630:17: style:inconclusive: Function 'AddObjectToChangeNameUndoList' argument 5 names different: declaration '' definition 'OldName'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1645:37: style:inconclusive: Function 'AddObjectToMoveToLayerUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1645:49: style:inconclusive: Function 'AddObjectToMoveToLayerUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1645:61: style:inconclusive: Function 'AddObjectToMoveToLayerUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1645:73: style:inconclusive: Function 'AddObjectToMoveToLayerUndoList' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1661:32: style:inconclusive: Function 'AddObjectToCreateUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1661:44: style:inconclusive: Function 'AddObjectToCreateUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1661:56: style:inconclusive: Function 'AddObjectToCreateUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1661:68: style:inconclusive: Function 'AddObjectToCreateUndoList' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1672:30: style:inconclusive: Function 'AddObjectToFlagUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1672:42: style:inconclusive: Function 'AddObjectToFlagUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1672:54: style:inconclusive: Function 'AddObjectToFlagUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1672:66: style:inconclusive: Function 'AddObjectToFlagUndoList' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1687:30: style:inconclusive: Function 'AddObjectToSizeUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1687:42: style:inconclusive: Function 'AddObjectToSizeUndoList' argument 2 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1687:54: style:inconclusive: Function 'AddObjectToSizeUndoList' argument 3 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1687:66: style:inconclusive: Function 'AddObjectToSizeUndoList' argument 4 names different: declaration '' definition 'ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1723:35: style:inconclusive: Function 'AddObjectToClearSizeUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1723:47: style:inconclusive: Function 'AddObjectToClearSizeUndoList' argument 2 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1723:59: style:inconclusive: Function 'AddObjectToClearSizeUndoList' argument 3 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1723:71: style:inconclusive: Function 'AddObjectToClearSizeUndoList' argument 4 names different: declaration '' definition 'ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1753:34: style:inconclusive: Function 'AddObjectToMaskSizeUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1753:46: style:inconclusive: Function 'AddObjectToMaskSizeUndoList' argument 2 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1753:58: style:inconclusive: Function 'AddObjectToMaskSizeUndoList' argument 3 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1753:70: style:inconclusive: Function 'AddObjectToMaskSizeUndoList' argument 4 names different: declaration '' definition 'ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1777:33: style:inconclusive: Function 'AddObjectTo2ndSizeUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1777:45: style:inconclusive: Function 'AddObjectTo2ndSizeUndoList' argument 2 names different: declaration '' definition 'ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1777:57: style:inconclusive: Function 'AddObjectTo2ndSizeUndoList' argument 3 names different: declaration '' definition 'ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1777:69: style:inconclusive: Function 'AddObjectTo2ndSizeUndoList' argument 4 names different: declaration '' definition 'ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1796:38: style:inconclusive: Function 'AddObjectToChangeAnglesUndoList' argument 1 names different: declaration '' definition 'Type'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1796:50: style:inconclusive: Function 'AddObjectToChangeAnglesUndoList' argument 2 names different: declaration '' definition 'Ptr1'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1796:62: style:inconclusive: Function 'AddObjectToChangeAnglesUndoList' argument 3 names different: declaration '' definition 'Ptr2'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1796:74: style:inconclusive: Function 'AddObjectToChangeAnglesUndoList' argument 4 names different: declaration '' definition 'Ptr3'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1813:31: style:inconclusive: Function 'AddLayerChangeToUndoList' argument 1 names different: declaration '' definition 'old_index'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1813:46: style:inconclusive: Function 'AddLayerChangeToUndoList' argument 2 names different: declaration '' definition 'new_index'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/undo.c:1829:39: style:inconclusive: Function 'AddNetlistLibToUndoList' argument 1 names different: declaration '' definition 'lib'. [funcArgNamesDifferentUnnamed] 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:627:21: style:inconclusive: Function 'vendorDrillMap' argument 1 names different: declaration '' definition 'in'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/vendor.c:701:22: style:inconclusive: Function 'add_to_drills' argument 1 names different: declaration '' definition 'sval'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/vendor.c:752:27: style:inconclusive: Function 'process_skips' argument 1 names different: declaration '' definition 'res'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/vendor.c:829:39: style:inconclusive: Function 'vendorIsElementMappable' argument 1 names different: declaration '' definition 'element'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/vendor.c:892:22: style:inconclusive: Function 'rematch' argument 1 names different: declaration '' definition 're'. [funcArgNamesDifferentUnnamed] pcb-4.2.2/src/vendor.c:892:38: style:inconclusive: Function 'rematch' argument 2 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] 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:23: style: Argument 'gc' shadows outer variable [shadowVariable] pcb-4.2.2/tools/gerbertotk.c:53:15: note: Shadowed variable pcb-4.2.2/tools/gerbertotk.c:62:23: note: Shadow argument 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/mymem.c:562:22: warning: If memory allocation fails, then there is a possible null pointer dereference: DrillInfo [ctunullpointerOutOfMemory] pcb-4.2.2/src/drill.c:127:39: note: Assuming allocation function fails pcb-4.2.2/src/drill.c:127:15: note: Assignment 'AllDrills=(struct DrillInfoType*)calloc(1,sizeof(struct DrillInfoType))', assigned value is 0 pcb-4.2.2/src/drill.c:133:34: note: Calling function GetDrillInfoDrillMemory, 1st argument is null pcb-4.2.2/src/mymem.c:562:22: note: Dereferencing argument DrillInfo 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/rats.c:471:15: warning: If memory allocation fails, then there is a possible null pointer dereference: Netl [ctunullpointerOutOfMemory] pcb-4.2.2/src/rats.c:763:32: note: Assuming allocation function fails pcb-4.2.2/src/rats.c:763:10: note: Assignment 'Nets=(struct NetListType*)calloc(1,sizeof(struct NetListType))', assigned value is 0 pcb-4.2.2/src/rats.c:790:29: note: Calling function GatherSubnets, 1st argument is null pcb-4.2.2/src/rats.c:471:15: note: Dereferencing argument Netl 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: 2.21.0 pcb-4.2.2/gts/bbtree.c:1018:17: style:inconclusive: Function 'gts_bb_tree_triangle_distance' argument 4 names different: declaration '' definition 'delta'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/bbtree.c:1019:20: style:inconclusive: Function 'gts_bb_tree_triangle_distance' argument 5 names different: declaration '' definition 'range'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/bbtree.c:1093:16: style:inconclusive: Function 'gts_bb_tree_segment_distance' argument 4 names different: declaration '' definition 'delta'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/bbtree.c:1094:19: style:inconclusive: Function 'gts_bb_tree_segment_distance' argument 5 names different: declaration '' definition 'range'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/bbtree.c:1173:16: style:inconclusive: Function 'gts_bb_tree_surface_distance' argument 4 names different: declaration '' definition 'delta'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/bbtree.c:1174:19: style:inconclusive: Function 'gts_bb_tree_surface_distance' argument 5 names different: declaration '' definition 'range'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/bbtree.c:1255:18: style:inconclusive: Function 'gts_bb_tree_surface_boundary_distance' argument 4 names different: declaration '' definition 'delta'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/bbtree.c:1256:21: style:inconclusive: Function 'gts_bb_tree_surface_boundary_distance' argument 5 names different: declaration '' definition 'range'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/bbtree.c:732:21: style:inconclusive: Function 'gts_bb_tree_traverse_overlapping' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/bbtree.c:928:20: style:inconclusive: Function 'gts_bb_tree_point_distance' argument 4 names different: declaration '' definition 'bbox'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/bbtree.c:967:21: style:inconclusive: Function 'gts_bb_tree_point_closest' argument 4 names different: declaration '' definition 'distance'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/boolean.c:1947:16: style:inconclusive: Function 'gts_surface_foreach_intersecting_face' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head pcb-4.2.2/gts/boolean.c:1992:7: style: Condition '!gts_surface_foreach_intersecting_face(s,(GtsBBTreeTraverseFunc*)add_intersecting,intersected)' is always true [knownConditionTrueFalse] pcb-4.2.2/gts/boolean.c:1992:46: note: Calling function 'gts_surface_foreach_intersecting_face' returns 0 pcb-4.2.2/gts/boolean.c:1992:7: note: Condition '!gts_surface_foreach_intersecting_face(s,(GtsBBTreeTraverseFunc*)add_intersecting,intersected)' is always true 2.21.0 pcb-4.2.2/gts/container.c:293:17: style:inconclusive: Function 'gts_container_foreach' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/eheap.c:36:15: style:inconclusive: Function 'gts_eheap_new' argument 2 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/face.c:241:14: style:inconclusive: Function 'gts_face_foreach_neighbor' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/fifo.c:166:63: style:inconclusive: Function 'gts_fifo_foreach' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/graph.c:1035:67: style:inconclusive: Function 'gts_graph_foreach_edge' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/graph.c:104:15: style:inconclusive: Function 'gts_gnode_foreach_neighbor' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/graph.c:134:18: style:inconclusive: Function 'gts_gnode_foreach_edge' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/hsurface.c:229:14: style:inconclusive: Function 'gts_hsurface_new' argument 5 names different: declaration '' definition 'expand_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/hsurface.c:230:16: style:inconclusive: Function 'gts_hsurface_new' argument 6 names different: declaration '' definition 'collapse_key'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/hsurface.c:231:14: style:inconclusive: Function 'gts_hsurface_new' argument 7 names different: declaration '' definition 'collapse_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/hsurface.c:313:25: style:inconclusive: Function 'gts_hsurface_traverse' argument 5 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/hsurface.c:346:21: style:inconclusive: Function 'gts_hsurface_foreach' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/iso.c:410:20: style:inconclusive: Function 'gts_isosurface_cartesian' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/iso.c:411:19: style:inconclusive: Function 'gts_isosurface_cartesian' argument 5 names different: declaration '' definition 'iso'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:375:46: style:inconclusive: Function 'gts_matrix_print' argument 2 names different: declaration '' definition 'fptr'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:444:16: style:inconclusive: Function 'gts_matrix_compatible_row' argument 2 names different: declaration '' definition 'b'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:445:12: style:inconclusive: Function 'gts_matrix_compatible_row' argument 3 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:446:16: style:inconclusive: Function 'gts_matrix_compatible_row' argument 4 names different: declaration '' definition 'A1'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:447:14: style:inconclusive: Function 'gts_matrix_compatible_row' argument 5 names different: declaration '' definition 'b1'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:499:17: style:inconclusive: Function 'gts_matrix_quadratic_optimization' argument 2 names different: declaration '' definition 'b'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:500:13: style:inconclusive: Function 'gts_matrix_quadratic_optimization' argument 3 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:501:19: style:inconclusive: Function 'gts_matrix_quadratic_optimization' argument 4 names different: declaration '' definition 'H'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:502:17: style:inconclusive: Function 'gts_matrix_quadratic_optimization' argument 5 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:586:61: style:inconclusive: Function 'gts_matrix_product' argument 2 names different: declaration '' definition 'm2'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:650:56: style:inconclusive: Function 'gts_matrix_scale' argument 2 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:670:60: style:inconclusive: Function 'gts_matrix_translate' argument 2 names different: declaration '' definition 't'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:693:21: style:inconclusive: Function 'gts_matrix_rotate' argument 2 names different: declaration '' definition 'r'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:694:19: style:inconclusive: Function 'gts_matrix_rotate' argument 3 names different: declaration '' definition 'angle'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:86:12: style:inconclusive: Function 'gts_matrix_assign' argument 2 names different: declaration '' definition 'a00'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:86:25: style:inconclusive: Function 'gts_matrix_assign' argument 3 names different: declaration '' definition 'a01'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:86:38: style:inconclusive: Function 'gts_matrix_assign' argument 4 names different: declaration '' definition 'a02'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:86:51: style:inconclusive: Function 'gts_matrix_assign' argument 5 names different: declaration '' definition 'a03'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:87:12: style:inconclusive: Function 'gts_matrix_assign' argument 6 names different: declaration '' definition 'a10'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:87:25: style:inconclusive: Function 'gts_matrix_assign' argument 7 names different: declaration '' definition 'a11'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:87:38: style:inconclusive: Function 'gts_matrix_assign' argument 8 names different: declaration '' definition 'a12'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:87:51: style:inconclusive: Function 'gts_matrix_assign' argument 9 names different: declaration '' definition 'a13'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:88:12: style:inconclusive: Function 'gts_matrix_assign' argument 10 names different: declaration '' definition 'a20'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:88:25: style:inconclusive: Function 'gts_matrix_assign' argument 11 names different: declaration '' definition 'a21'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:88:38: style:inconclusive: Function 'gts_matrix_assign' argument 12 names different: declaration '' definition 'a22'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:88:51: style:inconclusive: Function 'gts_matrix_assign' argument 13 names different: declaration '' definition 'a23'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:89:12: style:inconclusive: Function 'gts_matrix_assign' argument 14 names different: declaration '' definition 'a30'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:89:25: style:inconclusive: Function 'gts_matrix_assign' argument 15 names different: declaration '' definition 'a31'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:89:38: style:inconclusive: Function 'gts_matrix_assign' argument 16 names different: declaration '' definition 'a32'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/matrix.c:89:51: style:inconclusive: Function 'gts_matrix_assign' argument 17 names different: declaration '' definition 'a33'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/partition.c:273:19: style:inconclusive: Function 'gts_graph_bubble_partition' argument 5 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head pcb-4.2.2/gts/partition.c:291:12: style: Condition 'seed==NULL' is always true [knownConditionTrueFalse] pcb-4.2.2/gts/partition.c:276:21: note: Assignment 'seed=NULL', assigned value is 0 pcb-4.2.2/gts/partition.c:282:3: note: Assuming condition is false pcb-4.2.2/gts/partition.c:283:3: note: Assuming condition is false pcb-4.2.2/gts/partition.c:291:12: note: Condition 'seed==NULL' is always true 2.21.0 pcb-4.2.2/gts/pgraph.c:565:15: style:inconclusive: Function 'gts_pgraph_down' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/psurface.c:232:14: style:inconclusive: Function 'gts_psurface_new' argument 5 names different: declaration '' definition 'cost_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/psurface.c:233:20: style:inconclusive: Function 'gts_psurface_new' argument 6 names different: declaration '' definition 'coarsen_func'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/psurface.c:234:14: style:inconclusive: Function 'gts_psurface_new' argument 7 names different: declaration '' definition 'coarsen_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/psurface.c:235:17: style:inconclusive: Function 'gts_psurface_new' argument 8 names different: declaration '' definition 'stop_func'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/psurface.c:236:14: style:inconclusive: Function 'gts_psurface_new' argument 9 names different: declaration '' definition 'stop_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/psurface.c:237:13: style:inconclusive: Function 'gts_psurface_new' argument 10 names different: declaration '' definition 'minangle'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/psurface.c:459:16: style:inconclusive: Function 'gts_psurface_foreach_vertex' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/refine.c:269:17: style:inconclusive: Function 'gts_delaunay_conform' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/refine.c:365:16: style:inconclusive: Function 'gts_delaunay_refine' argument 4 names different: declaration '' definition 'encroach_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/refine.c:366:18: style:inconclusive: Function 'gts_delaunay_refine' argument 5 names different: declaration '' definition 'cost'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/refine.c:367:16: style:inconclusive: Function 'gts_delaunay_refine' argument 6 names different: declaration '' definition 'cost_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/refine.c:60:18: style:inconclusive: Function 'gts_edge_is_encroached' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/split.c:1049:26: style:inconclusive: Function 'gts_split_traverse' argument 5 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1032:71: style:inconclusive: Function 'gts_surface_foreach_edge' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1081:20: style:inconclusive: Function 'gts_surface_foreach_face' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1163:21: style:inconclusive: Function 'gts_surface_foreach_face_remove' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1269:14: style:inconclusive: Function 'gts_surface_refine' argument 3 names different: declaration '' definition 'cost_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1270:19: style:inconclusive: Function 'gts_surface_refine' argument 4 names different: declaration '' definition 'refine_func'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1271:14: style:inconclusive: Function 'gts_surface_refine' argument 5 names different: declaration '' definition 'refine_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1272:17: style:inconclusive: Function 'gts_surface_refine' argument 6 names different: declaration '' definition 'stop_func'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1273:14: style:inconclusive: Function 'gts_surface_refine' argument 7 names different: declaration '' definition 'stop_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1648:15: style:inconclusive: Function 'gts_surface_coarsen' argument 3 names different: declaration '' definition 'cost_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1649:21: style:inconclusive: Function 'gts_surface_coarsen' argument 4 names different: declaration '' definition 'coarsen_func'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1650:15: style:inconclusive: Function 'gts_surface_coarsen' argument 5 names different: declaration '' definition 'coarsen_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1651:18: style:inconclusive: Function 'gts_surface_coarsen' argument 6 names different: declaration '' definition 'stop_func'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1652:15: style:inconclusive: Function 'gts_surface_coarsen' argument 7 names different: declaration '' definition 'stop_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:1653:14: style:inconclusive: Function 'gts_surface_coarsen' argument 8 names different: declaration '' definition 'minangle'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:2004:18: style:inconclusive: Function 'gts_surface_tessellate' argument 3 names different: declaration '' definition 'refine_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/gts/surface.c:970:73: style:inconclusive: Function 'gts_surface_foreach_vertex' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head pcb-4.2.2/gts/triangle.c:1069:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:1069:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:1069:26: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:1075:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:108:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] 2.21.0 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] head pcb-4.2.2/gts/triangle.c:169:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:197:68: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:199:16: style: Variable 's1' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:199:22: style: Variable 's2' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:199:28: style: Variable 's3' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:261:22: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:279:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:316:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:31:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:371:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:371:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:371:26: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:376:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:435:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:492:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangles [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:551:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v2 [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:551:32: warning: Possible null pointer dereference: (struct GtsSegment*)(ee2) [nullPointer] pcb-4.2.2/gts/triangle.c:549:17: note: Assignment 'ee2=NULL', assigned value is 0 pcb-4.2.2/gts/triangle.c:551:32: note: Null pointer dereference head pcb-4.2.2/gts/triangle.c:551:7: warning: Possible null pointer dereference: (struct GtsSegment*)(ee1) [nullPointer] pcb-4.2.2/gts/triangle.c:549:0: note: Assignment 'ee1=NULL', assigned value is 0 pcb-4.2.2/gts/triangle.c:551:7: note: Null pointer dereference head pcb-4.2.2/gts/triangle.c:604:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:608:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:639:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:647:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangles [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:649:21: style: Variable 't1' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:673:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangles [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:692:52: style: Parameter 't1' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:693:24: style: Parameter 't2' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:716:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:717:13: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:717:19: style: Variable 'e3' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:746:21: style: Parameter 'e2' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:747:21: style: Parameter 'e3' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:749:12: style: Variable 'i' can be declared as pointer to const [constVariablePointer] head pcb-4.2.2/gts/triangle.c:783:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:823:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v2 [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:867:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head pcb-4.2.2/gts/triangle.c:886:47: style: Parameter 'A' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:887:19: style: Parameter 'B' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:888:19: style: Parameter 'C' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:889:19: style: Parameter 'D' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:915:20: style: Parameter 'A' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:916:20: style: Parameter 'B' can be declared as pointer to const [constParameterPointer] head pcb-4.2.2/gts/triangle.c:919:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v1 [valueFlowBailoutIncompleteVar] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:213:18: style:inconclusive: Function 'ghid_check_button_connected' argument 9 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:213:32: style:inconclusive: Function 'ghid_check_button_connected' argument 10 names different: declaration '' definition 'string'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:235:57: style:inconclusive: Function 'ghid_button_connected' argument 8 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:236:18: style:inconclusive: Function 'ghid_button_connected' argument 9 names different: declaration '' definition 'string'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:258:14: style:inconclusive: Function 'ghid_coord_entry' argument 9 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:258:29: style:inconclusive: Function 'ghid_coord_entry' argument 10 names different: declaration '' definition 'right_align'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:258:50: style:inconclusive: Function 'ghid_coord_entry' argument 11 names different: declaration '' definition 'string'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:303:59: style:inconclusive: Function 'ghid_spin_button' argument 11 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:303:74: style:inconclusive: Function 'ghid_spin_button' argument 12 names different: declaration '' definition 'right_align'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:304:13: style:inconclusive: Function 'ghid_spin_button' argument 13 names different: declaration '' definition 'string'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:353:13: style:inconclusive: Function 'ghid_table_coord_entry' argument 11 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:353:28: style:inconclusive: Function 'ghid_table_coord_entry' argument 12 names different: declaration '' definition 'right_align'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:353:49: style:inconclusive: Function 'ghid_table_coord_entry' argument 13 names different: declaration '' definition 'string'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:405:58: style:inconclusive: Function 'ghid_table_spin_button' argument 13 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:406:13: style:inconclusive: Function 'ghid_table_spin_button' argument 14 names different: declaration '' definition 'right_align'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:406:34: style:inconclusive: Function 'ghid_table_spin_button' argument 15 names different: declaration '' definition 'string'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:463:36: style:inconclusive: Function 'ghid_range_control' argument 17 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/hid/gtk/gui-utils.c:598:62: style:inconclusive: Function 'ghid_scrolled_selection' argument 7 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/polygon.c:1502:21: style:inconclusive: Function 'PolygonHoles' argument 4 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/polygon.c:1633:21: style:inconclusive: Function 'PlowsPolygon' argument 6 names different: declaration '' definition 'userdata'. [funcArgNamesDifferentUnnamed] 2.21.0 pcb-4.2.2/src/polygon.c:1870:60: style:inconclusive: Function 'NoHolesPolygonDicer' argument 4 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] head pcb-4.2.2/src/rtree.c:171:27: warning: Either the condition 'node->u.kids[i]' is redundant or there is possible null pointer dereference: node->u.kids[i]. [nullPointerRedundantCheck] pcb-4.2.2/src/rtree.c:164:27: note: Assuming that condition 'node->u.kids[i]' is not redundant pcb-4.2.2/src/rtree.c:171:27: note: Null pointer dereference head pcb-4.2.2/src/rtree.c:173:27: warning: Either the condition 'node->u.kids[i]' is redundant or there is possible null pointer dereference: node->u.kids[i]. [nullPointerRedundantCheck] pcb-4.2.2/src/rtree.c:164:27: note: Assuming that condition 'node->u.kids[i]' is not redundant pcb-4.2.2/src/rtree.c:173:27: note: Null pointer dereference 2.21.0 pcb-4.2.2/src/rtree.c:614:17: style:inconclusive: Function 'r_search' argument 4 names different: declaration '' definition 'found_rectangle'. [funcArgNamesDifferentUnnamed] head pcb-4.2.2/src/rtree.c:614:17: style:inconclusive: Function 'r_search' argument 4 names different: declaration 'rectangle_in_region' definition 'found_rectangle'. [funcArgNamesDifferent] pcb-4.2.2/src/rtree.h:54:14: note: Function 'r_search' argument 4 names different: declaration 'rectangle_in_region' definition 'found_rectangle'. pcb-4.2.2/src/rtree.c:614:17: note: Function 'r_search' argument 4 names different: declaration 'rectangle_in_region' definition 'found_rectangle'. 2.21.0 pcb-4.2.2/src/rtree.c:614:73: style:inconclusive: Function 'r_search' argument 5 names different: declaration '' definition 'cl'. [funcArgNamesDifferentUnnamed] head 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'. DONE