2026-05-30 02:58 ftp://ftp.de.debian.org/debian/pool/main/s/sgt-puzzles/sgt-puzzles_20250730.a7c7826.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --library=gtk --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.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: bc2b84d (2026-05-29 17:18:27 +0200) count: 1374 1309 elapsed-time: 181.5 180.1 head-timing-info: old-timing-info: head results: sgt-puzzles-20250730.a7c7826/auxiliary/combi-test.c:10:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/combi-test.c:4:26: style: Parameter 'argv' can be declared as const array [constParameter] sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:215:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:54:13: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:51:12: note: Assuming that condition 'p' is not redundant sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:54:13: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:67:17: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:64:16: note: Assuming that condition 'p' is not redundant sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:67:17: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:74:14: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:71:16: note: Assuming that condition 'p' is not redundant sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:74:14: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:55:6: warning: Either the condition 'p' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:51:12: note: Assuming that condition 'p' is not redundant sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:55:6: note: Null pointer addition sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:68:10: warning: Either the condition 'p' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:64:16: note: Assuming that condition 'p' is not redundant sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:68:10: note: Null pointer addition sgt-puzzles-20250730.a7c7826/auxiliary/findloop-test.c:132:11: style: Variable 'row' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:26:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:57:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:79:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:160:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TT_KITE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:298:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_LEFT [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:542:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:643:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KE_NKEEP [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:49:41: style: Parameter 'hc1' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:49:57: style: Parameter 'hc2' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:391:70: style: Parameter 'coords' can be declared as pointer to const. However it seems that 'bbox_add_hat' is a callback function, if 'coords' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:715:26: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:391:70: note: Parameter 'coords' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:503:66: style: Parameter 'coords' can be declared as pointer to const. However it seems that 'draw_hat' is a callback function, if 'coords' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:737:26: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:503:66: note: Parameter 'coords' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/auxiliary/hat-test.c:620:30: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:507:19: style: Local variable 'm' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:448:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:507:19: note: Shadow local variable sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:124:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:124:36: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:319:20: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:319:46: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:329:12: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:330:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:735:15: style: Variable 'm' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/latin-test.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/latin-test.c:64:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/latin-test.c:12:32: style: Parameter 'sq' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/auxiliary/latin-test.c:69:26: style: Parameter 'argv' can be declared as const array [constParameter] sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:171:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:350:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:100:32: style: Parameter 'av' can be declared as pointer to const. However it seems that 'compare_nodes' is a callback function, if 'av' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:151:23: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:100:32: note: Parameter 'av' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:100:42: style: Parameter 'bv' can be declared as pointer to const. However it seems that 'compare_nodes' is a callback function, if 'bv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:151:23: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:100:42: note: Parameter 'bv' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:131:32: style: Parameter 'av' can be declared as pointer to const. However it seems that 'compare_edges' is a callback function, if 'av' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:154:24: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:131:32: note: Parameter 'av' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:131:42: style: Parameter 'bv' can be declared as pointer to const. However it seems that 'compare_edges' is a callback function, if 'bv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:154:24: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:131:42: note: Parameter 'bv' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:157:19: style: Variable 'Lname' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:157:27: style: Variable 'Rname' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:214:30: style: Variable 'Lnn' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:215:30: style: Variable 'Rnn' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/matching.c:320:23: style: Variable 'st' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/obfusc.c:138:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/penrose-legacy-test.c:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/penrose-legacy-test.c:61:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/penrose-legacy-test.c:55:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/penrose-test.c:42:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PENROSE_P2 [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/penrose-test.c:14:21: style: Variable 'tctx' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/sort-test.c:8:58: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'testcmp' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/auxiliary/sort-test.c:41:38: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/auxiliary/sort-test.c:8:58: note: Parameter 'ctx' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:308:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spectre_angles [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:562:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spectre_angles [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:645:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEX_S [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:89:61: error: Array 'hexdata[1]' accessed at index 8, which is out of bounds. [arrayIndexOutOfBounds] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:635:19: note: Assuming that condition 'i<9' is not redundant sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:639:26: note: Calling function 'lay_out_hexagons', 1st argument 'i' value is 8 sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:89:61: note: Array index out of bounds sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:270:62: error: Array 'hexdata[1]' accessed at index 8, which is out of bounds. [arrayIndexOutOfBounds] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:642:19: note: Assuming that condition 'i<9' is not redundant sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:648:26: note: Calling function 'lay_out_spectres', 1st argument 'i' value is 8 sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:270:62: note: Array index out of bounds sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:629:13: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:628:21: note: Assuming allocation function fails sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:628:21: note: Assignment 'fp=fopen("spectre-tables-auto.h","w")', assigned value is 0 sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:629:13: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:61:27: style: Parameter 'av' can be declared as pointer to const. However it seems that 'edge_cmp' is a callback function, if 'av' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:265:36: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:61:27: note: Parameter 'av' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:61:37: style: Parameter 'bv' can be declared as pointer to const. However it seems that 'edge_cmp' is a callback function, if 'bv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:265:36: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:61:37: note: Parameter 'bv' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:219:23: style: Variable 'our_edge' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:243:23: style: Variable 'our_edge' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:363:31: style: Variable 'rev' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:448:23: style: Variable 'our_edge' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-gen.c:471:23: style: Variable 'our_edge' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-help.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-help.c:397:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-help.c:134:32: style: Parameter 'gr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:234:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:369:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Spectre [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:630:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:704:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:423:24: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:392:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:423:24: note: Shadow local variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:42:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:278:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parent [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:502:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL234_LT [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:33: style: Argument 'tree' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:53:17: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:33: note: Shadow argument sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:46: style: Argument 'array' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:48:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:46: note: Shadow argument sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:57: style: Argument 'arraylen' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:49:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:57: note: Shadow argument sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:32: style: Argument 'tree' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:53:17: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:32: note: Shadow argument sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:45: style: Argument 'array' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:48:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:45: note: Shadow argument sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:56: style: Argument 'arraylen' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:49:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:56: note: Shadow argument sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:443:24: style: Parameter 'av' can be declared as pointer to const. However it seems that 'mycmp' is a callback function, if 'av' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:702:24: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:443:24: note: Parameter 'av' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:443:34: style: Parameter 'bv' can be declared as pointer to const. However it seems that 'mycmp' is a callback function, if 'bv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:702:24: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:443:34: note: Parameter 'bv' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:600:13: warning: Uninitialized variable: in [uninitvar] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:589:19: note: Assuming condition is false sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:600:13: note: Uninitialized variable: in sgt-puzzles-20250730.a7c7826/blackbox.c:280:15: style: Condition 'x<0' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/blackbox.c:279:20: note: Assignment 'x=bmp[(i+1)*2+0]', assigned value is greater than -1 sgt-puzzles-20250730.a7c7826/blackbox.c:280:15: note: Condition 'x<0' is always false sgt-puzzles-20250730.a7c7826/blackbox.c:280:24: style: Condition 'y<0' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/blackbox.c:279:42: note: Assignment 'y=bmp[(i+1)*2+1]', assigned value is greater than -1 sgt-puzzles-20250730.a7c7826/blackbox.c:280:24: note: Condition 'y<0' is always false sgt-puzzles-20250730.a7c7826/blackbox.c:1490:38: style: Condition 'state->nguesses<=state->maxballs' is always true [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/blackbox.c:1487:33: note: Assuming that condition 'state->nguesses>state->maxballs' is not redundant sgt-puzzles-20250730.a7c7826/blackbox.c:1490:38: note: Condition 'state->nguesses<=state->maxballs' is always true sgt-puzzles-20250730.a7c7826/blackbox.c:579:32: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/blackbox.c:1231:61: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/blackbox.c:1509:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/blackbox.c:1576:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/blackbox.c:1509:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/blackbox.c:1515:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/blackbox.c:1577:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/blackbox.c:1515:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/bridges.c:1707:17: style: Condition '!solve_island_stage2(is,&didsth)' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/bridges.c:1707:37: note: Calling function 'solve_island_stage2' returns 1 sgt-puzzles-20250730.a7c7826/bridges.c:1707:17: note: Condition '!solve_island_stage2(is,&didsth)' is always false sgt-puzzles-20250730.a7c7826/bridges.c:1716:17: style: Condition '!solve_island_stage3(is,&didsth)' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/bridges.c:1716:37: note: Calling function 'solve_island_stage3' returns 1 sgt-puzzles-20250730.a7c7826/bridges.c:1716:17: note: Condition '!solve_island_stage3(is,&didsth)' is always false sgt-puzzles-20250730.a7c7826/bridges.c:2540:46: style: Condition 'button==CURSOR_SELECT2' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/bridges.c:2563:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/bridges.c:2397:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/bridges.c:2563:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/bridges.c:2563:42: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/bridges.c:2397:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/bridges.c:2563:42: note: Shadow local variable sgt-puzzles-20250730.a7c7826/bridges.c:228:20: style: Variable 'is' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/bridges.c:258:37: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/bridges.c:401:59: style: Parameter 'i2' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/bridges.c:834:20: style: Variable 'is' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/bridges.c:1150:25: style: Variable 'is_join' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/bridges.c:1231:20: style: Variable 'is' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/bridges.c:1285:17: style: Variable 'state' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/bridges.c:1398:20: style: Variable 'is_orth' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/bridges.c:1401:17: style: Variable 'state' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/bridges.c:2110:37: style: Parameter 'me' can be declared as pointer to const. However it seems that 'new_game' is a callback function, if 'me' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/bridges.c:3319:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/bridges.c:2110:37: note: Parameter 'me' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/bridges.c:2149:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/bridges.c:3324:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/bridges.c:2149:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/bridges.c:2176:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/bridges.c:3330:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/bridges.c:2176:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/bridges.c:2703:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/bridges.c:2818:53: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/bridges.c:2898:54: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/bridges.c:3218:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/bridges.c:3339:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/bridges.c:3218:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/bridges.c:3224:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/bridges.c:3340:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/bridges.c:3224:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/bridges.c:3259:26: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/bridges.c:3290:24: style: Variable 'is' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/bridges.c:862:13: style: Variable 'run' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/bridges.c:3291:14: style: Variable 'grid' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/cube.c:1425:13: style: Local variable 'pkey' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/cube.c:1233:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/cube.c:1425:13: note: Shadow local variable sgt-puzzles-20250730.a7c7826/cube.c:1581:27: style: Local variable 't' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/cube.c:1573:11: note: Shadowed variable sgt-puzzles-20250730.a7c7826/cube.c:1581:27: note: Shadow local variable sgt-puzzles-20250730.a7c7826/cube.c:526:71: style: Parameter 'sq' can be declared as pointer to const. However it seems that 'count_grid_square_callback' is a callback function, if 'sq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/cube.c:591:31: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/cube.c:526:71: note: Parameter 'sq' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/cube.c:611:74: style: Parameter 'sq' can be declared as pointer to const. However it seems that 'classify_grid_square_callback' is a callback function, if 'sq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/cube.c:655:31: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/cube.c:611:74: note: Parameter 'sq' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/cube.c:729:69: style: Parameter 'sq' can be declared as pointer to const. However it seems that 'add_grid_square_callback' is a callback function, if 'sq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/cube.c:916:31: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/cube.c:729:69: note: Parameter 'sq' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/cube.c:862:9: style: Variable 'mat' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/cube.c:863:9: style: Variable 'mat' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/cube.c:864:9: style: Variable 'mat' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/cube.c:867:9: style: Variable 'mat' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/cube.c:868:9: style: Variable 'mat' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/cube.c:869:9: style: Variable 'mat' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/cube.c:1037:30: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'free_ui' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/cube.c:1765:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/cube.c:1037:30: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/cube.c:1041:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/cube.c:1769:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/cube.c:1041:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/cube.c:1564:54: style: Parameter 'ds' can be declared as pointer to const. However it seems that 'game_redraw' is a callback function, if 'ds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/cube.c:1777:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/cube.c:1564:54: note: Parameter 'ds' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/cube.c:1726:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/cube.c:1778:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/cube.c:1726:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/cube.c:1732:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/cube.c:1779:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/cube.c:1732:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/cube.c:1620:26: warning: Uninitialized variable: coords [uninitvar] sgt-puzzles-20250730.a7c7826/cube.c:1613:23: note: Assuming condition is false sgt-puzzles-20250730.a7c7826/cube.c:1620:26: note: Uninitialized variable: coords sgt-puzzles-20250730.a7c7826/divvy.c:215:59: style: Parameter 'own' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/dominosa.c:632:17: style: The statement 'if (!done_something) done_something=true' is logically equivalent to 'done_something=true'. [duplicateConditionalAssign] sgt-puzzles-20250730.a7c7826/dominosa.c:633:32: note: Assignment 'done_something=true' sgt-puzzles-20250730.a7c7826/dominosa.c:632:17: note: Condition '!done_something' is redundant sgt-puzzles-20250730.a7c7826/dominosa.c:1805:14: style: Condition 'done_something' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/dominosa.c:1800:13: note: Assuming that condition 'done_something' is not redundant sgt-puzzles-20250730.a7c7826/dominosa.c:1805:14: note: Condition 'done_something' is always false sgt-puzzles-20250730.a7c7826/dominosa.c:2062:29: style: Same expression on both sides of '>'. [duplicateExpression] sgt-puzzles-20250730.a7c7826/dominosa.c:2062:29: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] sgt-puzzles-20250730.a7c7826/dominosa.c:2062:29: style: Same expression on both sides of '<'. [duplicateExpression] sgt-puzzles-20250730.a7c7826/dominosa.c:2152:29: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:2152:29: note: Shadow local variable sgt-puzzles-20250730.a7c7826/dominosa.c:2152:54: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:2152:54: note: Shadow local variable sgt-puzzles-20250730.a7c7826/dominosa.c:2190:21: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:2190:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/dominosa.c:2190:36: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:2190:36: note: Shadow local variable sgt-puzzles-20250730.a7c7826/dominosa.c:3279:17: style: Local variable 'n' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:3253:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:3279:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/dominosa.c:3404:20: style: Local variable 'c' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:3388:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:3404:20: note: Shadow local variable sgt-puzzles-20250730.a7c7826/dominosa.c:566:57: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/dominosa.c:567:57: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/dominosa.c:576:27: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:577:27: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:795:27: style: Variable 'd' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:803:31: style: Variable 'sq' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:854:31: style: Variable 'di' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:899:42: style: Variable 'pk' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:1330:47: style: Variable 'sq2' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:1443:31: style: Variable 'sq' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:1475:31: style: Variable 'duplicated_domino' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:1492:38: style: Variable 'q' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:1567:35: style: Variable 'd' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:1937:27: style: Variable 'val' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:1952:27: style: Parameter 'as' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/dominosa.c:1987:27: style: Variable 'val' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:2571:38: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:3036:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/dominosa.c:3137:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/dominosa.c:3335:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/dominosa.c:3457:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/dominosa.c:3335:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/dominosa.c:210:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/drawing.c:363:71: style:inconclusive: Function 'print_rgb_mono_colour' argument 5 names different: declaration 'mono' definition 'grey'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:299:71: note: Function 'print_rgb_mono_colour' argument 5 names different: declaration 'mono' definition 'grey'. sgt-puzzles-20250730.a7c7826/drawing.c:363:71: note: Function 'print_rgb_mono_colour' argument 5 names different: declaration 'mono' definition 'grey'. sgt-puzzles-20250730.a7c7826/dsf.c:61:32: style: Comparing expression of type 'signed int' against value 2147483648. Condition is always true. [compareValueOutOfTypeRangeError] sgt-puzzles-20250730.a7c7826/dsf.c:279:44: style: Variable 'root' is reassigned a value before the old one has been used. [redundantAssignment] sgt-puzzles-20250730.a7c7826/dsf.c:278:18: note: root is assigned sgt-puzzles-20250730.a7c7826/dsf.c:279:44: note: root is overwritten sgt-puzzles-20250730.a7c7826/dsf.c:236:46: style:inconclusive: Function 'dsf_canonify_flip' argument 3 names different: declaration 'flip' definition 'inverse'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:488:46: note: Function 'dsf_canonify_flip' argument 3 names different: declaration 'flip' definition 'inverse'. sgt-puzzles-20250730.a7c7826/dsf.c:236:46: note: Function 'dsf_canonify_flip' argument 3 names different: declaration 'flip' definition 'inverse'. sgt-puzzles-20250730.a7c7826/dsf.c:250:52: style:inconclusive: Function 'dsf_merge_flip' argument 4 names different: declaration 'flip' definition 'inverse'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:487:52: note: Function 'dsf_merge_flip' argument 4 names different: declaration 'flip' definition 'inverse'. sgt-puzzles-20250730.a7c7826/dsf.c:250:52: note: Function 'dsf_merge_flip' argument 4 names different: declaration 'flip' definition 'inverse'. sgt-puzzles-20250730.a7c7826/emcc.c:354:35: style: Argument 'key' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/emcc.c:116:6: note: Shadowed function sgt-puzzles-20250730.a7c7826/emcc.c:354:35: note: Shadow argument sgt-puzzles-20250730.a7c7826/emcc.c:900:32: style: Argument 'me' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/emcc.c:192:16: note: Shadowed variable sgt-puzzles-20250730.a7c7826/emcc.c:900:32: note: Shadow argument sgt-puzzles-20250730.a7c7826/emcc.c:942:34: style: Argument 'me' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/emcc.c:192:16: note: Shadowed variable sgt-puzzles-20250730.a7c7826/emcc.c:942:34: note: Shadow argument sgt-puzzles-20250730.a7c7826/emcc.c:198:33: style: Parameter 'fe' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/emcc.c:203:31: style: Parameter 'fe' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/emcc.c:482:31: style: Parameter 'ignored' can be declared as pointer to const. However it seems that 'ids_changed' is a callback function, if 'ignored' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/emcc.c:1062:35: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/emcc.c:482:31: note: Parameter 'ignored' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/emcc.c:491:35: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'js_draw_text' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/emcc.c:549:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/emcc.c:491:35: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/emcc.c:511:35: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'js_draw_line' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/emcc.c:551:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/emcc.c:511:35: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/emcc.c:517:41: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'js_draw_thick_line' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/emcc.c:571:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/emcc.c:517:41: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/emcc.c:541:40: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'js_text_fallback' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/emcc.c:570:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/emcc.c:541:40: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/emcc.c:964:12: style: Variable 'colours' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/fifteen.c:1012:62: style: Condition 't==-1' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/fifteen.c:288:5: warning: Possible null pointer dereference: ret [nullPointer] sgt-puzzles-20250730.a7c7826/fifteen.c:276:11: note: Assignment 'ret=NULL', assigned value is 0 sgt-puzzles-20250730.a7c7826/fifteen.c:278:19: note: Assuming condition is false sgt-puzzles-20250730.a7c7826/fifteen.c:288:5: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/fifteen.c:157:29: style: Parameter 'perm' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/fifteen.c:171:30: style: Parameter 'tiles' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/fifteen.c:492:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/fifteen.c:1155:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/fifteen.c:492:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/fifteen.c:522:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/fifteen.c:1161:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/fifteen.c:522:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/fifteen.c:756:63: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'interpret_move' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/fifteen.c:1163:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/fifteen.c:756:63: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/fifteen.c:868:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/fifteen.c:918:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/fifteen.c:1103:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/fifteen.c:1170:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/fifteen.c:1103:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/fifteen.c:1109:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/fifteen.c:1171:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/fifteen.c:1109:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/filling.c:1320:37: style:inconclusive: Function 'new_game' argument 1 names different: declaration '' definition 'me'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/filling.c:1320:60: style:inconclusive: Function 'new_game' argument 2 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/filling.c:1321:41: style:inconclusive: Function 'new_game' argument 3 names different: declaration '' definition 'desc'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/filling.c:1360:35: style:inconclusive: Function 'free_game' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/filling.c:1615:19: style: Local variable 'sz' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/filling.c:1582:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/filling.c:1615:19: note: Shadow local variable sgt-puzzles-20250730.a7c7826/filling.c:1888:17: style: Local variable 'dx' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/filling.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/filling.c:1888:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/filling.c:1888:21: style: Local variable 'dy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/filling.c:289:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/filling.c:1888:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/filling.c:1128:37: style: Parameter 'board' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/filling.c:2053:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/filling.c:2187:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/filling.c:2053:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/filling.c:1059:26: style: Variable 'val' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/findloop.c:162:6: style: Variable 'v' is assigned an expression that holds the same value. [redundantAssignment] sgt-puzzles-20250730.a7c7826/findloop.c:148:4: note: u is assigned 'v' here. sgt-puzzles-20250730.a7c7826/findloop.c:162:6: note: Variable 'v' is assigned an expression that holds the same value. sgt-puzzles-20250730.a7c7826/findloop.c:34:48: style:inconclusive: Function 'findloop_free_state' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/findloop.c:39:50: style:inconclusive: Function 'findloop_is_loop_edge' argument 1 names different: declaration 'state' definition 'pv'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:646:50: note: Function 'findloop_is_loop_edge' argument 1 names different: declaration 'state' definition 'pv'. sgt-puzzles-20250730.a7c7826/findloop.c:39:50: note: Function 'findloop_is_loop_edge' argument 1 names different: declaration 'state' definition 'pv'. sgt-puzzles-20250730.a7c7826/findloop.c:81:41: style:inconclusive: Function 'findloop_run' argument 1 names different: declaration 'state' definition 'pv'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:634:41: note: Function 'findloop_run' argument 1 names different: declaration 'state' definition 'pv'. sgt-puzzles-20250730.a7c7826/findloop.c:81:41: note: Function 'findloop_run' argument 1 names different: declaration 'state' definition 'pv'. sgt-puzzles-20250730.a7c7826/findloop.c:82:37: style:inconclusive: Function 'findloop_run' argument 4 names different: declaration '' definition 'ctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/findloop.c:39:50: style: Parameter 'pv' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/flip.c:135:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/flip.c:1178:6: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/flip.c:1122:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/flip.c:1178:6: note: Shadow local variable sgt-puzzles-20250730.a7c7826/flip.c:201:43: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/flip.c:276:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/flip.c:277:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/flip.c:293:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/flip.c:294:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/flip.c:310:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/flip.c:311:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/flip.c:321:48: style: Parameter 'matrix' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/flip.c:677:56: style: Parameter 'row2' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/flip.c:929:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/flip.c:1333:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/flip.c:929:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/flip.c:1048:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/flip.c:1117:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/flip.c:1273:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/flip.c:1342:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/flip.c:1273:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/flip.c:1279:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/flip.c:1343:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/flip.c:1279:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/flip.c:132:15: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/flip.c:135:15: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/flood.c:1187:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VICTORY [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/flood.c:1338:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VICTORY [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/flood.c:1286:31: style: Condition 'state->moves>=state->movelimit' is always true [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/flood.c:1284:50: note: Assuming that condition 'state->moves<=state->movelimit' is not redundant sgt-puzzles-20250730.a7c7826/flood.c:1286:31: note: Condition 'state->moves>=state->movelimit' is always true sgt-puzzles-20250730.a7c7826/flood.c:345:40: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/flood.c:458:43: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/flood.c:474:52: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/flood.c:802:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/flood.c:1376:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/flood.c:802:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/flood.c:980:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/flood.c:1091:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/flood.c:1297:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/flood.c:1385:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/flood.c:1297:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/fuzzpuzz.c:74:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gamecount [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/fuzzpuzz.c:233:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/fuzzpuzz.c:130:30: style: Parameter 'wctx' can be declared as pointer to const. However it seems that 'null_write' is a callback function, if 'wctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/fuzzpuzz.c:140:42: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/fuzzpuzz.c:130:30: note: Parameter 'wctx' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/fuzzpuzz.c:134:43: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:276:22: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/galaxies.c:3327:32: style: Local variable 'dot' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/galaxies.c:3253:17: note: Shadowed variable sgt-puzzles-20250730.a7c7826/galaxies.c:3327:32: note: Shadow local variable sgt-puzzles-20250730.a7c7826/galaxies.c:370:52: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:402:37: style: Parameter 'tile' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:402:50: style: Parameter 'opposite' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:431:50: style: Parameter 'dot' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:454:12: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:487:12: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:506:32: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:666:12: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:673:36: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:673:50: style: Parameter 'tile' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:673:63: style: Parameter 'dot' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:675:12: style: Variable 'tile_opp' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:684:51: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:686:9: style: Variable 'dxs' can be declared as const array [constVariable] sgt-puzzles-20250730.a7c7826/galaxies.c:686:33: style: Variable 'dys' can be declared as const array [constVariable] sgt-puzzles-20250730.a7c7826/galaxies.c:743:55: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:767:12: style: Variable 'sps' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:767:18: style: Variable 'spd' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:844:61: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:848:12: style: Variable 'adj' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:1065:35: style: Parameter 'state' can be declared as pointer to const. However it seems that 'movedot_cb' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/galaxies.c:1257:31: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/galaxies.c:1065:35: note: Parameter 'state' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/galaxies.c:1413:12: style: Variable 't' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:1413:16: style: Variable 't1' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:1413:21: style: Variable 't2' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:1703:40: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:1775:37: style: Parameter 'me' can be declared as pointer to const. However it seems that 'new_game' is a callback function, if 'me' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/galaxies.c:4124:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/galaxies.c:1775:37: note: Parameter 'me' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/galaxies.c:1893:57: style: Parameter 'dot' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:2121:43: style: Parameter 'tile' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:2121:56: style: Parameter 'dot' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:2290:20: style: Variable 'tile' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:2290:27: style: Variable 'othertile' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:2704:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/galaxies.c:4139:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/galaxies.c:2704:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/galaxies.c:2826:12: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:2842:12: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:3178:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:3327:32: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:3554:53: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/galaxies.c:3708:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:3708:25: style: Variable 'opp' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:3820:16: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:3878:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/galaxies.c:4152:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/galaxies.c:3878:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/galaxies.c:3884:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/galaxies.c:4153:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/galaxies.c:3884:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/galaxies.c:3900:16: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/galaxies.c:276:28: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/galaxies.c:3953:17: style: Variable 'ncoords' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/grid.c:1309:2: error: #error No way to get maximum floating-point number. [preprocessorErrorDirective] sgt-puzzles-20250730.a7c7826/gtk.c:127:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:293:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:351:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_GRAY [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:420:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:565:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_NONE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:645:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_CONTENT_COLOR [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:681:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_CONTENT_COLOR [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:1034:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WEIGHT_BOLD [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:1478:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:1558:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_RELEASE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:1593:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON2_MASK [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:1731:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:1795:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:1831:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:1965:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Return [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:2148:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:2442:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_TYPE_STRING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:2456:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_PRIMARY [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:2547:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:2626:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_START [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:2849:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:2888:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:2911:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:3036:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:3068:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:3129:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:3249:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HELP_DIR [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:3366:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ACCEL_VISIBLE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:3488:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:3988:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/gtk.c:2270:17: style: Redundant initialization for 'gs'. The initialized value is overwritten before it is read. [redundantInitialization] sgt-puzzles-20250730.a7c7826/gtk.c:2267:13: note: gs is initialized sgt-puzzles-20250730.a7c7826/gtk.c:2270:17: note: gs is overwritten sgt-puzzles-20250730.a7c7826/gtk.c:3166:16: style: Local variable 'len' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/gtk.c:3122:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/gtk.c:3166:16: note: Shadow local variable sgt-puzzles-20250730.a7c7826/gtk.c:3507:9: style: Local variable 'fp' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/gtk.c:3473:8: note: Shadowed variable sgt-puzzles-20250730.a7c7826/gtk.c:3507:9: note: Shadow local variable sgt-puzzles-20250730.a7c7826/gtk.c:4291:33: style: Local variable 'err' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/gtk.c:4192:25: note: Shadowed variable sgt-puzzles-20250730.a7c7826/gtk.c:4291:33: note: Shadow local variable sgt-puzzles-20250730.a7c7826/gtk.c:716:40: style: Parameter 'fe' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/gtk.c:1310:41: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'gtk_text_fallback' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:1455:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:1310:41: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:1328:37: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'gtk_begin_page' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:1443:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:1328:37: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:1377:35: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'gtk_end_page' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:1446:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:1377:35: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:1381:34: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'gtk_end_doc' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:1447:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:1381:34: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:1549:61: style: Parameter 'event' can be declared as pointer to const. However it seems that 'button_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:3859:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:1549:61: note: Parameter 'event' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:1693:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'configure_area' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:3876:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:1693:47: note: Parameter 'event' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:1783:39: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'window_destroy' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:2200:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:1783:39: note: Parameter 'widget' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:1783:56: style: Parameter 'data' can be declared as pointer to const. However it seems that 'window_destroy' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:2200:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:1783:56: note: Parameter 'data' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:1788:59: style: Parameter 'event' can be declared as pointer to const. However it seems that 'win_key_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:2202:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:1788:59: note: Parameter 'event' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:2271:39: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/gtk.c:2346:41: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'configure_window' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:3878:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:2346:41: note: Parameter 'widget' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:2347:49: style: Parameter 'event' can be declared as pointer to const. However it seems that 'configure_window' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:3878:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:2347:49: note: Parameter 'event' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:2347:65: style: Parameter 'data' can be declared as pointer to const. However it seems that 'configure_window' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/gtk.c:3878:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/gtk.c:2347:65: note: Parameter 'data' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/gtk.c:3413:11: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/gtk.c:3937:11: style: Variable 'pname' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/gtk.c:3948:11: style: Variable 'screenshot_file' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/gtk.c:4028:9: style: Variable 'dim' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/gtk.c:3026:22: style: Variable 'game' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/gtk.c:3043:17: style: Variable 'game' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/gtk.c:3165:18: style: Variable 'len' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/guess.c:1465:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] sgt-puzzles-20250730.a7c7826/guess.c:435:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/guess.c:1550:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/guess.c:435:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/guess.c:1230:51: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/guess.c:1261:54: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/guess.c:1269:44: style: Parameter 'holds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/guess.c:1388:58: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/guess.c:1493:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/guess.c:1565:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/guess.c:1493:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/guess.c:1499:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/guess.c:1566:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/guess.c:1499:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/hat.c:711:50: style:inconclusive: Function 'hat_tiling_randomise' argument 1 names different: declaration 'params' definition 'hp'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/hat.h:38:50: note: Function 'hat_tiling_randomise' argument 1 names different: declaration 'params' definition 'hp'. sgt-puzzles-20250730.a7c7826/hat.c:711:50: note: Function 'hat_tiling_randomise' argument 1 names different: declaration 'params' definition 'hp'. sgt-puzzles-20250730.a7c7826/hat.c:743:68: style:inconclusive: Function 'hat_tiling_params_invalid' argument 1 names different: declaration 'params' definition 'hp'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/hat.h:46:68: note: Function 'hat_tiling_params_invalid' argument 1 names different: declaration 'params' definition 'hp'. sgt-puzzles-20250730.a7c7826/hat.c:743:68: note: Function 'hat_tiling_params_invalid' argument 1 names different: declaration 'params' definition 'hp'. sgt-puzzles-20250730.a7c7826/hat.c:769:58: style:inconclusive: Function 'maybe_report_hat' argument 6 names different: declaration '' definition 'cbctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/hat.c:859:55: style:inconclusive: Function 'hat_tiling_generate' argument 1 names different: declaration 'params' definition 'hp'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/hat.h:64:55: note: Function 'hat_tiling_generate' argument 1 names different: declaration 'params' definition 'hp'. sgt-puzzles-20250730.a7c7826/hat.c:859:55: note: Function 'hat_tiling_generate' argument 1 names different: declaration 'params' definition 'hp'. sgt-puzzles-20250730.a7c7826/hat.c:860:57: style:inconclusive: Function 'hat_tiling_generate' argument 5 names different: declaration '' definition 'cbctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/hat.c:412:39: style: Parameter 'hc_in' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/inertia.c:372:10: style: Local variable 'dir' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:346:6: note: Shadowed variable sgt-puzzles-20250730.a7c7826/inertia.c:372:10: note: Shadow local variable sgt-puzzles-20250730.a7c7826/inertia.c:1253:11: style: Local variable 'p' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:736:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/inertia.c:1253:11: note: Shadow local variable sgt-puzzles-20250730.a7c7826/inertia.c:1274:8: style: Local variable 'ni' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:1253:26: note: Shadowed variable sgt-puzzles-20250730.a7c7826/inertia.c:1274:8: note: Shadow local variable sgt-puzzles-20250730.a7c7826/inertia.c:1276:12: style: Local variable 'ti' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:1253:30: note: Shadowed variable sgt-puzzles-20250730.a7c7826/inertia.c:1276:12: note: Shadow local variable sgt-puzzles-20250730.a7c7826/inertia.c:1325:8: style: Local variable 'xy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:1242:7: note: Shadowed variable sgt-puzzles-20250730.a7c7826/inertia.c:1325:8: note: Shadow local variable sgt-puzzles-20250730.a7c7826/inertia.c:253:40: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/inertia.c:695:45: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/inertia.c:949:11: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/inertia.c:950:11: style: Variable 'ei' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/inertia.c:1011:11: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/inertia.c:1012:11: style: Variable 'ei' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/inertia.c:1134:11: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/inertia.c:1135:11: style: Variable 'ei' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/inertia.c:1136:11: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/inertia.c:1743:19: style: Variable 'soln' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/inertia.c:1762:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/inertia.c:1851:54: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/inertia.c:1916:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/inertia.c:1743:24: style: Variable 'soln' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/keen.c:978:13: style: The comparison 'best == -1' is always true. [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/keen.c:972:15: note: 'best' is assigned value '-1' here. sgt-puzzles-20250730.a7c7826/keen.c:978:13: note: The comparison 'best == -1' is always true. sgt-puzzles-20250730.a7c7826/keen.c:1013:13: style: The comparison 'best == -1' is always true. [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/keen.c:1007:15: note: 'best' is assigned value '-1' here. sgt-puzzles-20250730.a7c7826/keen.c:1013:13: note: The comparison 'best == -1' is always true. sgt-puzzles-20250730.a7c7826/keen.c:1074:7: style: Local variable 'p' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/keen.c:906:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/keen.c:1074:7: note: Shadow local variable sgt-puzzles-20250730.a7c7826/keen.c:318:7: style: Variable 'sq' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/keen.c:343:7: style: Variable 'sq' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/keen.c:584:24: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/keen.c:610:24: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/keen.c:618:7: style: Variable 'sq' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/keen.c:689:42: style: Parameter 'clues' can be declared as pointer to const. However it seems that 'solver' is a callback function, if 'clues' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/latin.h:103:24: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/keen.c:689:42: note: Parameter 'clues' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/keen.c:1564:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/keen.c:2532:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/keen.c:1564:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/keen.c:1918:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/keen.c:1993:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/keen.c:2242:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/keen.c:2547:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/keen.c:2242:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/keen.c:2248:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/keen.c:2548:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/keen.c:2248:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/keen.c:2296:66: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/keen.c:169:3: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/keen.c:2007:13: style: Variable 'tw' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/keen.c:2008:13: style: Variable 'th' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/latin.c:1117:33: style:inconclusive: Function 'latin_debug' argument 2 names different: declaration 'order' definition 'o'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/latin.h:124:33: note: Function 'latin_debug' argument 2 names different: declaration 'order' definition 'o'. sgt-puzzles-20250730.a7c7826/latin.c:1117:33: note: Function 'latin_debug' argument 2 names different: declaration 'order' definition 'o'. sgt-puzzles-20250730.a7c7826/latin.c:176:13: style: Local variable 'count' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/latin.c:161:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/latin.c:176:13: note: Shadow local variable sgt-puzzles-20250730.a7c7826/latin.c:1141:31: style: Local variable 'matching' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/matching.h:77:5: note: Shadowed function sgt-puzzles-20250730.a7c7826/latin.c:1141:31: note: Shadow local variable sgt-puzzles-20250730.a7c7826/latin.c:536:76: style: Parameter 'solver' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/latin.c:1085:40: style: Parameter 'cube' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/latin.c:1117:25: style: Parameter 'sq' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/latin.c:1264:15: style: Variable 'lc1' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/latin.c:1265:15: style: Variable 'lc2' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/latin.c:1275:25: style: Parameter 'sq' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/latin.c:1280:25: style: Variable 'aret' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/lightup.c:1059:43: style:inconclusive: Function 'try_rule_out' argument 7 names different: declaration '' definition 'ctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/lightup.c:466:34: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/lightup.c:481:38: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/lightup.c:670:37: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/lightup.c:815:38: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/lightup.c:1157:40: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/lightup.c:1875:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/lightup.c:2382:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/lightup.c:1875:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/lightup.c:2077:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/lightup.c:2148:48: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/lightup.c:2265:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/lightup.c:2397:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/lightup.c:2265:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/lightup.c:2271:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/lightup.c:2398:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/lightup.c:2271:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/lightup.c:432:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/lightup.c:435:23: style: Variable 'c' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/lightup.c:437:23: style: Variable 'c' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/lightup.c:440:23: style: Variable 'c' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/lightup.c:442:23: style: Variable 'c' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/lightup.c:449:19: style: Variable 'c' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/lightup.c:451:19: style: Variable 'c' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/lightup.c:452:19: style: Variable 'c' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/lightup.c:1642:6: style: Variable 'run' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/loopgen.c:303:50: style:inconclusive: Function 'generate_loop' argument 5 names different: declaration '' definition 'biasctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/loopgen.c:352:28: style: Local variable 'fs' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopgen.c:308:24: note: Shadowed variable sgt-puzzles-20250730.a7c7826/loopgen.c:352:28: note: Shadow local variable sgt-puzzles-20250730.a7c7826/loopgen.c:395:17: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopgen.c:305:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/loopgen.c:395:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/loopgen.c:516:17: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopgen.c:305:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/loopgen.c:516:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/loopgen.c:82:44: style: Parameter 'board' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopgen.c:87:16: style: Variable 'starting_face' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopgen.c:88:15: style: Variable 'starting_dot' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopgen.c:98:20: style: Variable 'f' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopgen.c:217:38: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopgen.c:217:47: style: Parameter 'board' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopgen.c:222:16: style: Variable 'f' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:916:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_OFF [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/loopy.c:934:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_OFF [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/loopy.c:2990:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable solver_fns [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/loopy.c:3120:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_OFF [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/loopy.c:641:22: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/loopy.c:3027:12: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] sgt-puzzles-20250730.a7c7826/loopy.c:3030:7: note: Found duplicate branches for 'if' and 'else'. sgt-puzzles-20250730.a7c7826/loopy.c:3027:12: note: Found duplicate branches for 'if' and 'else'. sgt-puzzles-20250730.a7c7826/loopy.c:1337:51: style:inconclusive: Function 'dot_order' argument 2 names different: declaration 'i' definition 'dot'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/loopy.c:246:51: note: Function 'dot_order' argument 2 names different: declaration 'i' definition 'dot'. sgt-puzzles-20250730.a7c7826/loopy.c:1337:51: note: Function 'dot_order' argument 2 names different: declaration 'i' definition 'dot'. sgt-puzzles-20250730.a7c7826/loopy.c:1354:52: style:inconclusive: Function 'face_order' argument 2 names different: declaration 'i' definition 'face'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/loopy.c:247:52: note: Function 'face_order' argument 2 names different: declaration 'i' definition 'face'. sgt-puzzles-20250730.a7c7826/loopy.c:1354:52: note: Function 'face_order' argument 2 names different: declaration 'i' definition 'face'. sgt-puzzles-20250730.a7c7826/loopy.c:2188:45: style:inconclusive: Function 'trivial_deductions' argument 1 names different: declaration '' definition 'sstate'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/loopy.c:2341:43: style:inconclusive: Function 'dline_deductions' argument 1 names different: declaration '' definition 'sstate'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/loopy.c:2668:45: style:inconclusive: Function 'linedsf_deductions' argument 1 names different: declaration '' definition 'sstate'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/loopy.c:2798:42: style:inconclusive: Function 'loop_deductions' argument 1 names different: declaration '' definition 'sstate'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/loopy.c:2951:57: style:inconclusive: Function 'solve_game_rec' argument 1 names different: declaration 'sstate' definition 'sstate_start'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/loopy.c:248:57: note: Function 'solve_game_rec' argument 1 names different: declaration 'sstate' definition 'sstate_start'. sgt-puzzles-20250730.a7c7826/loopy.c:2951:57: note: Function 'solve_game_rec' argument 1 names different: declaration 'sstate' definition 'sstate_start'. sgt-puzzles-20250730.a7c7826/loopy.c:588:18: style: Local variable 'dup_params' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/loopy.c:521:21: note: Shadowed function sgt-puzzles-20250730.a7c7826/loopy.c:588:18: note: Shadow local variable sgt-puzzles-20250730.a7c7826/loopy.c:2270:29: style: Local variable 'e' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopy.c:2252:31: note: Shadowed variable sgt-puzzles-20250730.a7c7826/loopy.c:2270:29: note: Shadow local variable sgt-puzzles-20250730.a7c7826/loopy.c:726:11: style: Variable 'g' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:909:15: style: Variable 'env' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:944:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/loopy.c:3757:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/loopy.c:944:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/loopy.c:975:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/loopy.c:3763:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/loopy.c:975:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/loopy.c:1082:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/loopy.c:3772:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/loopy.c:1082:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/loopy.c:1345:20: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:1362:20: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:1444:20: style: Variable 'f1' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:1445:20: style: Variable 'f2' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:1519:11: style: Variable 'g' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:1587:11: style: Variable 'g' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:1915:39: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:1917:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:1936:40: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:1938:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:1939:15: style: Variable 'd' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:2061:39: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:2298:19: style: Variable 'd' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:2461:24: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:3045:63: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'interpret_move' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/loopy.c:3765:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/loopy.c:3045:63: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/loopy.c:3124:24: style: Variable 'e_this' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:3267:44: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:3267:54: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:3282:59: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:3300:39: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:3300:49: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:3323:38: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:3323:48: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:3323:61: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:3347:59: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:3351:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:3386:58: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/loopy.c:3390:15: style: Variable 'd' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:3494:20: style: Variable 'f' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:3614:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/loopy.c:3773:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/loopy.c:3614:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/loopy.c:3628:43: style: Parameter 'x' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/loopy.c:3774:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/loopy.c:3628:43: note: Parameter 'x' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/loopy.c:3628:51: style: Parameter 'y' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'y' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/loopy.c:3774:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/loopy.c:3628:51: note: Parameter 'y' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/loopy.c:3628:59: style: Parameter 'w' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/loopy.c:3774:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/loopy.c:3628:59: note: Parameter 'w' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/loopy.c:3628:67: style: Parameter 'h' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/loopy.c:3774:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/loopy.c:3628:67: note: Parameter 'h' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/loopy.c:3692:20: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/loopy.c:460:24: style: Variable 'state' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/loopy.c:641:28: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/loopy.c:751:12: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/loopy.c:1815:22: style: Variable 'largest_size' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/magnets.c:176:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/magnets.c:2393:7: style: Local variable 'dx' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/magnets.c:808:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/magnets.c:2393:7: note: Shadow local variable sgt-puzzles-20250730.a7c7826/magnets.c:2394:7: style: Local variable 'dy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/magnets.c:809:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/magnets.c:2394:7: note: Shadow local variable sgt-puzzles-20250730.a7c7826/magnets.c:692:36: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/magnets.c:749:38: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/magnets.c:825:50: style: Parameter 'rc' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/magnets.c:892:47: style: Parameter 'rc' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/magnets.c:1200:64: style: Parameter 'counts' can be declared as pointer to const. However it seems that 'solve_nonneutral' is a callback function, if 'counts' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/magnets.c:1413:9: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/magnets.c:1200:64: note: Parameter 'counts' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/magnets.c:1223:63: style: Parameter 'counts' can be declared as pointer to const. However it seems that 'solve_oddlength' is a callback function, if 'counts' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/magnets.c:1408:9: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/magnets.c:1223:63: note: Parameter 'counts' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/magnets.c:1282:75: style: Parameter 'counts' can be declared as pointer to const. However it seems that 'solve_countdominoes_neutral' is a callback function, if 'counts' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/magnets.c:1414:9: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/magnets.c:1282:75: note: Parameter 'counts' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/magnets.c:1323:43: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/magnets.c:1348:78: style: Parameter 'counts' can be declared as pointer to const. However it seems that 'solve_countdominoes_nonneutral' is a callback function, if 'counts' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/magnets.c:1415:9: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/magnets.c:1348:78: note: Parameter 'counts' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/magnets.c:1971:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/magnets.c:2047:51: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/magnets.c:2075:51: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/magnets.c:2088:14: style: Variable 'qu' can be declared as const array [constVariable] sgt-puzzles-20250730.a7c7826/magnets.c:2106:65: style: Parameter 'dominoes' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/magnets.c:2312:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/magnets.c:2477:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/magnets.c:2312:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/magnets.c:2318:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/magnets.c:2478:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/magnets.c:2318:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/magnets.c:176:15: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/map.c:2321:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASH_EACH_TO_WHITE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/map.c:2339:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASH_CYCLIC [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/map.c:2961:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASH_EACH_TO_WHITE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/map.c:2987:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASH_EACH_TO_WHITE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/map.c:441:17: style: Local variable 'index' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/map.c:424:45: note: Shadowed argument sgt-puzzles-20250730.a7c7826/map.c:441:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/map.c:561:13: style: Local variable 'k' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/map.c:516:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/map.c:561:13: note: Shadow local variable sgt-puzzles-20250730.a7c7826/map.c:2686:7: style: Local variable 'k' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/map.c:2628:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/map.c:2686:7: note: Shadow local variable sgt-puzzles-20250730.a7c7826/map.c:312:28: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/map.c:350:28: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/map.c:368:29: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/map.c:423:53: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/map.c:612:47: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/map.c:646:34: style: Parameter 'graph' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/map.c:668:36: style: Parameter 'graph' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/map.c:2316:15: style: Variable 'env' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/map.c:2345:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/map.c:3343:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/map.c:2345:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/map.c:2389:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/map.c:3349:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/map.c:2389:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/map.c:2709:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/map.c:2797:53: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/map.c:3134:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/map.c:3358:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/map.c:3134:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/map.c:3140:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/map.c:3359:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/map.c:3140:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/map.c:3191:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/map.c:199:11: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/map.c:2320:18: style: Variable 'env' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/matching.c:77:33: style:inconclusive: Function 'matching_with_scratch' argument 1 names different: declaration 'scratch' definition 'scratchv'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/matching.h:53:33: note: Function 'matching_with_scratch' argument 1 names different: declaration 'scratch' definition 'scratchv'. sgt-puzzles-20250730.a7c7826/matching.c:77:33: note: Function 'matching_with_scratch' argument 1 names different: declaration 'scratch' definition 'scratchv'. sgt-puzzles-20250730.a7c7826/matching.c:322:29: style:inconclusive: Function 'matching_witness' argument 1 names different: declaration 'scratch' definition 'scratchv'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/matching.h:106:29: note: Function 'matching_witness' argument 1 names different: declaration 'scratch' definition 'scratchv'. sgt-puzzles-20250730.a7c7826/matching.c:322:29: note: Function 'matching_witness' argument 1 names different: declaration 'scratch' definition 'scratchv'. sgt-puzzles-20250730.a7c7826/matching.c:78:64: style: Parameter 'adjsizes' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/matching.c:324:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/matching.c:100:26: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/midend.c:220:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOT_NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/midend.c:558:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOT_DESC [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/midend.c:1940:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOT_DESC [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/midend.c:2641:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOT_NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/midend.c:2987:23: warning: Assert statement calls a function which may have desired side effects: 'strspn'. [assertWithSideEffect] sgt-puzzles-20250730.a7c7826/midend.c:2764:20: style: The comparison 'nstates <= 0' is always true. [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/midend.c:2751:19: note: 'nstates' is assigned value '0' here. sgt-puzzles-20250730.a7c7826/midend.c:2764:20: note: The comparison 'nstates <= 0' is always true. sgt-puzzles-20250730.a7c7826/midend.c:1869:26: style: Variable 'newcurparams' is reassigned a value before the old one has been used. [redundantAssignment] sgt-puzzles-20250730.a7c7826/midend.c:1831:18: note: newcurparams is assigned sgt-puzzles-20250730.a7c7826/midend.c:1869:26: note: newcurparams is overwritten sgt-puzzles-20250730.a7c7826/midend.c:671:68: style:inconclusive: Function 'midend_load_prefs' argument 3 names different: declaration '' definition 'rctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/midend.c:679:30: style:inconclusive: Function 'midend_save_prefs' argument 3 names different: declaration '' definition 'wctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/midend.c:1271:49: style:inconclusive: Function 'midend_request_keys' argument 2 names different: declaration 'nkeys' definition 'n'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:323:49: note: Function 'midend_request_keys' argument 2 names different: declaration 'nkeys' definition 'n'. sgt-puzzles-20250730.a7c7826/midend.c:1271:49: note: Function 'midend_request_keys' argument 2 names different: declaration 'nkeys' definition 'n'. sgt-puzzles-20250730.a7c7826/midend.c:1462:49: style:inconclusive: Function 'preset_menu_add_preset' argument 1 names different: declaration 'menu' definition 'parent'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:216:49: note: Function 'preset_menu_add_preset' argument 1 names different: declaration 'menu' definition 'parent'. sgt-puzzles-20250730.a7c7826/midend.c:1462:49: note: Function 'preset_menu_add_preset' argument 1 names different: declaration 'menu' definition 'parent'. sgt-puzzles-20250730.a7c7826/midend.c:1654:74: style:inconclusive: Function 'midend_request_id_changes' argument 3 names different: declaration '' definition 'ctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/midend.c:1661:38: style:inconclusive: Function 'midend_get_cursor_location' argument 2 names different: declaration 'x' definition 'x_out'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:363:50: note: Function 'midend_get_cursor_location' argument 2 names different: declaration 'x' definition 'x_out'. sgt-puzzles-20250730.a7c7826/midend.c:1661:38: note: Function 'midend_get_cursor_location' argument 2 names different: declaration 'x' definition 'x_out'. sgt-puzzles-20250730.a7c7826/midend.c:1661:50: style:inconclusive: Function 'midend_get_cursor_location' argument 3 names different: declaration 'y' definition 'y_out'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:363:58: note: Function 'midend_get_cursor_location' argument 3 names different: declaration 'y' definition 'y_out'. sgt-puzzles-20250730.a7c7826/midend.c:1661:50: note: Function 'midend_get_cursor_location' argument 3 names different: declaration 'y' definition 'y_out'. sgt-puzzles-20250730.a7c7826/midend.c:1662:38: style:inconclusive: Function 'midend_get_cursor_location' argument 4 names different: declaration 'w' definition 'w_out'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:363:66: note: Function 'midend_get_cursor_location' argument 4 names different: declaration 'w' definition 'w_out'. sgt-puzzles-20250730.a7c7826/midend.c:1662:38: note: Function 'midend_get_cursor_location' argument 4 names different: declaration 'w' definition 'w_out'. sgt-puzzles-20250730.a7c7826/midend.c:1662:50: style:inconclusive: Function 'midend_get_cursor_location' argument 5 names different: declaration 'h' definition 'h_out'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:363:74: note: Function 'midend_get_cursor_location' argument 5 names different: declaration 'h' definition 'h_out'. sgt-puzzles-20250730.a7c7826/midend.c:1662:50: note: Function 'midend_get_cursor_location' argument 5 names different: declaration 'h' definition 'h_out'. sgt-puzzles-20250730.a7c7826/midend.c:2150:29: style:inconclusive: Function 'midend_serialise' argument 3 names different: declaration '' definition 'wctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/midend.c:2327:68: style:inconclusive: Function 'midend_deserialise_internal' argument 3 names different: declaration '' definition 'rctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/midend.c:2328:19: style:inconclusive: Function 'midend_deserialise_internal' argument 4 names different: declaration '' definition 'check'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/midend.c:2329:11: style:inconclusive: Function 'midend_deserialise_internal' argument 5 names different: declaration '' definition 'cctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/midend.c:2735:68: style:inconclusive: Function 'midend_deserialise' argument 3 names different: declaration '' definition 'rctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/midend.c:2749:33: style:inconclusive: Function 'identify_game' argument 3 names different: declaration '' definition 'rctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/midend.c:2974:63: style:inconclusive: Function 'midend_serialise_prefs' argument 4 names different: declaration '' definition 'wctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/midend.c:3056:56: style:inconclusive: Function 'midend_deserialise_prefs' argument 4 names different: declaration '' definition 'rctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/midend.c:2220:13: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2152:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/midend.c:2220:13: note: Shadow local variable sgt-puzzles-20250730.a7c7826/midend.c:2443:21: style: Local variable 'len' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2357:13: note: Shadowed variable sgt-puzzles-20250730.a7c7826/midend.c:2443:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/midend.c:2464:21: style: Local variable 'len' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2357:13: note: Shadowed variable sgt-puzzles-20250730.a7c7826/midend.c:2464:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/midend.c:2721:13: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2334:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/midend.c:2721:13: note: Shadow local variable sgt-puzzles-20250730.a7c7826/midend.c:162:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/midend.c:251:39: style: Parameter 'me' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/midend.c:447:29: style: Parameter 'me' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/midend.c:703:11: style: Variable 'old' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/midend.c:703:17: style: Variable 'new' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/midend.c:1405:28: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/midend.c:1490:15: style: Variable 'name' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mines.c:3119:11: style: The if condition is the same as the previous if condition [duplicateCondition] sgt-puzzles-20250730.a7c7826/mines.c:3118:11: note: First condition sgt-puzzles-20250730.a7c7826/mines.c:3119:11: note: Second condition sgt-puzzles-20250730.a7c7826/mines.c:1949:32: style: Condition 'prevret>=0' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/mines.c:1928:31: note: Assignment 'prevret=-2', assigned value is -2 sgt-puzzles-20250730.a7c7826/mines.c:1949:32: note: Condition 'prevret>=0' is always false sgt-puzzles-20250730.a7c7826/mines.c:1215:18: style: Local variable 's' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/mines.c:725:14: note: Shadowed variable sgt-puzzles-20250730.a7c7826/mines.c:1215:18: note: Shadow local variable sgt-puzzles-20250730.a7c7826/mines.c:351:17: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mines.c:352:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mines.c:867:15: style: Variable 's2' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mines.c:1969:36: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/mines.c:2134:15: style: Variable 'privdesc' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mines.c:2816:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mines.c:2939:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/mines.c:3237:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/mines.c:3327:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/mines.c:3237:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/mines.c:3284:65: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_timing_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/mines.c:3333:11: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/mines.c:3284:65: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/misc.c:528:28: warning: Either the condition '!dir' is redundant or there is possible null pointer dereference: dir. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/misc.c:535:9: note: Assuming that condition '!dir' is not redundant sgt-puzzles-20250730.a7c7826/misc.c:528:28: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/misc.c:529:28: warning: Either the condition '!sep' is redundant or there is possible null pointer dereference: sep. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/misc.c:535:17: note: Assuming that condition '!sep' is not redundant sgt-puzzles-20250730.a7c7826/misc.c:529:28: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/misc.c:530:29: warning: Either the condition '!game' is redundant or there is possible null pointer dereference: game. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/misc.c:535:25: note: Assuming that condition '!game' is not redundant sgt-puzzles-20250730.a7c7826/misc.c:530:29: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/misc.c:531:31: warning: Either the condition '!suffix' is redundant or there is possible null pointer dereference: suffix. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/misc.c:535:34: note: Assuming that condition '!suffix' is not redundant sgt-puzzles-20250730.a7c7826/misc.c:531:31: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/misc.c:569:24: style:inconclusive: Function 'n_times_root_k' argument 1 names different: declaration 'n' definition 'n_signed'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:392:24: note: Function 'n_times_root_k' argument 1 names different: declaration 'n' definition 'n_signed'. sgt-puzzles-20250730.a7c7826/misc.c:569:24: note: Function 'n_times_root_k' argument 1 names different: declaration 'n' definition 'n_signed'. sgt-puzzles-20250730.a7c7826/misc.c:210:11: style: Variable 'env' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/misc.c:678:24: error: Signed integer underflow for expression '(-2147483647-1)+(int)(-x-(unsigned int)(-2147483647-1))'. [integerOverflow] sgt-puzzles-20250730.a7c7826/mosaic.c:436:22: warning: Possible null pointer dereference: board [nullPointer] sgt-puzzles-20250730.a7c7826/mosaic.c:534:45: note: Calling function 'solve_cell', 3rd argument 'NULL' value is 0 sgt-puzzles-20250730.a7c7826/mosaic.c:436:22: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/mosaic.c:437:21: warning: Possible null pointer dereference: board [nullPointer] sgt-puzzles-20250730.a7c7826/mosaic.c:534:45: note: Calling function 'solve_cell', 3rd argument 'NULL' value is 0 sgt-puzzles-20250730.a7c7826/mosaic.c:437:21: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/mosaic.c:1463:65: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/mosaic.c:1467:65: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/mosaic.c:340:27: style: Variable 'curr' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mosaic.c:364:11: style: Variable 'curr' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mosaic.c:389:23: style: Variable 'curr' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mosaic.c:499:10: style: Variable 'curr_sol' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mosaic.c:503:23: style: Variable 'curr_desc' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mosaic.c:622:40: style: Variable 'curr_sol' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mosaic.c:683:62: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/mosaic.c:1022:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/mosaic.c:1611:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/mosaic.c:1022:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/mosaic.c:1030:11: style: Variable 'cell' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mosaic.c:1214:24: style: Variable 'curr' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mosaic.c:1255:24: style: Variable 'curr_cell' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/mosaic.c:1561:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/mosaic.c:1620:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/mosaic.c:1561:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/mosaic.c:1568:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/mosaic.c:1621:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/mosaic.c:1568:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/mosaic.c:1317:51: warning: Either the condition 'sol_char<='9'' is redundant or there is signed integer overflow for expression '(sol_char-'a')+10'. [integerOverflowCond] sgt-puzzles-20250730.a7c7826/mosaic.c:1314:49: note: Assuming that condition 'sol_char<='9'' is not redundant sgt-puzzles-20250730.a7c7826/mosaic.c:1317:51: note: Integer overflow sgt-puzzles-20250730.a7c7826/mosaic.c:202:17: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/mosaic.c:501:26: style: Variable 'curr' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/mosaic.c:584:26: style: Variable 'curr' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/mosaic.c:1095:17: style: Variable 'changed' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/mosaic.c:1458:27: style: Variable 'text_color' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/nestedvm.c:23:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/nestedvm.c:46:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/nestedvm.c:57:35: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'nestedvm_status_bar' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nestedvm.c:192:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nestedvm.c:57:35: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nestedvm.c:64:15: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/nestedvm.c:71:15: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/nestedvm.c:78:15: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/nestedvm.c:85:15: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/nestedvm.c:93:15: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/nestedvm.c:101:15: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/nestedvm.c:106:43: style: Parameter 'coords' can be declared as pointer to const. However it seems that 'nestedvm_draw_poly' is a callback function, if 'coords' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nestedvm.c:184:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nestedvm.c:106:43: note: Parameter 'coords' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nestedvm.c:109:15: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/nestedvm.c:121:15: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/nestedvm.c:148:15: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/nestedvm.c:154:50: style: Parameter 'bl' can be declared as pointer to const. However it seems that 'nestedvm_blitter_load' is a callback function, if 'bl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nestedvm.c:196:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nestedvm.c:154:50: note: Parameter 'bl' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nestedvm.c:156:15: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/nestedvm.c:161:33: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'nestedvm_end_draw' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nestedvm.c:191:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nestedvm.c:161:33: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nestedvm.c:166:39: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'nestedvm_text_fallback' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nestedvm.c:199:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nestedvm.c:166:39: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nestedvm.c:297:18: style: Variable 'i' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/nestedvm.c:443:12: style: Variable 'colours' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/net.c:2934:33: warning: Either the condition 'oldstate' is redundant or there is possible null pointer dereference: oldstate. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/net.c:2936:9: note: Assuming that condition 'oldstate' is not redundant sgt-puzzles-20250730.a7c7826/net.c:2934:33: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/net.c:1115:8: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] sgt-puzzles-20250730.a7c7826/net.c:1109:5: note: x is assigned sgt-puzzles-20250730.a7c7826/net.c:1115:8: note: x is overwritten sgt-puzzles-20250730.a7c7826/net.c:2801:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:60: note: Shadowed argument sgt-puzzles-20250730.a7c7826/net.c:2801:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/net.c:2801:20: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:67: note: Shadowed argument sgt-puzzles-20250730.a7c7826/net.c:2801:20: note: Shadow local variable sgt-puzzles-20250730.a7c7826/net.c:2875:23: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:60: note: Shadowed argument sgt-puzzles-20250730.a7c7826/net.c:2875:23: note: Shadow local variable sgt-puzzles-20250730.a7c7826/net.c:2875:26: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:67: note: Shadowed argument sgt-puzzles-20250730.a7c7826/net.c:2875:26: note: Shadow local variable sgt-puzzles-20250730.a7c7826/net.c:2975:17: style: Local variable 't' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2926:31: note: Shadowed argument sgt-puzzles-20250730.a7c7826/net.c:2975:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/net.c:3014:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/net.c:148:29: style: Parameter 'av' can be declared as pointer to const. However it seems that 'xyd_cmp_nc' is a callback function, if 'av' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/net.c:1888:23: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/net.c:148:29: note: Parameter 'av' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/net.c:148:39: style: Parameter 'bv' can be declared as pointer to const. However it seems that 'xyd_cmp_nc' is a callback function, if 'bv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/net.c:1888:23: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/net.c:148:39: note: Parameter 'bv' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/net.c:465:24: style: Parameter 'barriers' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/net.c:2096:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/net.c:3342:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/net.c:2096:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/net.c:2119:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/net.c:3348:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/net.c:2119:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/net.c:2563:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/net.c:2704:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/net.c:3130:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/net.c:3357:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/net.c:3130:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/net.c:3146:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/net.c:3358:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/net.c:3146:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/net.c:3197:55: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/net.c:2701:22: warning: Uninitialized variable: points [uninitvar] sgt-puzzles-20250730.a7c7826/net.c:2695:19: note: Assuming condition is false sgt-puzzles-20250730.a7c7826/net.c:2701:22: note: Uninitialized variable: points sgt-puzzles-20250730.a7c7826/net.c:3119:19: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/netslide.c:118:17: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/netslide.c:119:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/netslide.c:1034:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/netslide.c:1869:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/netslide.c:1034:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/netslide.c:1231:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/netslide.c:1330:62: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/netslide.c:1378:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/netslide.c:1538:53: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/netslide.c:1793:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/netslide.c:1878:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/netslide.c:1793:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/netslide.c:1799:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/netslide.c:1879:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/netslide.c:1799:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullfe.c:62:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/nullfe.c:46:71: style:inconclusive: Function 'print_rgb_mono_colour' argument 5 names different: declaration 'mono' definition 'grey'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/puzzles.h:299:71: note: Function 'print_rgb_mono_colour' argument 5 names different: declaration 'mono' definition 'grey'. sgt-puzzles-20250730.a7c7826/nullfe.c:46:71: note: Function 'print_rgb_mono_colour' argument 5 names different: declaration 'mono' definition 'grey'. sgt-puzzles-20250730.a7c7826/nullfe.c:11:40: style: Parameter 'fe' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:11:51: style: Parameter 'output' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:14:33: style: Parameter 'fe' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:15:31: style: Parameter 'fe' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:16:54: style: Parameter 'me' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:16:64: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:19:25: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:21:25: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:23:25: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:25:31: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:27:28: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:29:27: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:31:30: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:33:20: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:34:22: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:35:26: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:36:27: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:37:24: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:39:31: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:41:28: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:41:41: style: Parameter 'bl' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:42:28: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:42:41: style: Parameter 'bl' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:43:32: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:44:32: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:45:35: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:46:36: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:48:36: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:50:39: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:52:32: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:53:33: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:54:26: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:55:36: style: Parameter 'doc' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:55:72: style: Parameter 'par' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:56:14: style: Parameter 'ui' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:56:30: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullfe.c:56:46: style: Parameter 'st2' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/nullgame.c:66:40: style: Parameter 'params' can be declared as pointer to const. However it seems that 'decode_params' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:227:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:66:40: note: Parameter 'params' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:80:69: style: Parameter 'rs' can be declared as pointer to const. However it seems that 'new_game_desc' is a callback function, if 'rs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:233:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:80:69: note: Parameter 'rs' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:120:30: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'free_ui' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:242:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:120:30: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:124:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:246:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:124:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:134:63: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'interpret_move' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:248:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:134:63: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:187:34: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'game_redraw' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:254:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:187:34: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:187:54: style: Parameter 'ds' can be declared as pointer to const. However it seems that 'game_redraw' is a callback function, if 'ds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:254:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:187:54: note: Parameter 'ds' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:195:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:255:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:195:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:201:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:256:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:201:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:210:43: style: Parameter 'x' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:257:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:210:43: note: Parameter 'x' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:210:51: style: Parameter 'y' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'y' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:257:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:210:51: note: Parameter 'y' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:210:59: style: Parameter 'w' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:257:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:210:59: note: Parameter 'w' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/nullgame.c:210:67: style: Parameter 'h' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/nullgame.c:257:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/nullgame.c:210:67: note: Parameter 'h' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/palisade.c:281:35: error: Array 'dx[4]' accessed at index -1, which is out of bounds. [negativeIndex] sgt-puzzles-20250730.a7c7826/palisade.c:496:44: note: Calling function 'connected', 4th argument '-1' value is -1 sgt-puzzles-20250730.a7c7826/palisade.c:281:35: note: Negative array index sgt-puzzles-20250730.a7c7826/palisade.c:281:60: error: Array 'dy[4]' accessed at index -1, which is out of bounds. [negativeIndex] sgt-puzzles-20250730.a7c7826/palisade.c:496:44: note: Calling function 'connected', 4th argument '-1' value is -1 sgt-puzzles-20250730.a7c7826/palisade.c:281:60: note: Negative array index sgt-puzzles-20250730.a7c7826/palisade.c:819:5: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] sgt-puzzles-20250730.a7c7826/palisade.c:105:60: style: Argument 'string' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/palisade.c:34:14: note: Shadowed function sgt-puzzles-20250730.a7c7826/palisade.c:105:60: note: Shadow argument sgt-puzzles-20250730.a7c7826/palisade.c:660:21: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/palisade.c:641:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/palisade.c:660:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/palisade.c:1041:17: style: Local variable 'dx' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/palisade.c:267:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/palisade.c:1041:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/palisade.c:1042:17: style: Local variable 'dy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/palisade.c:268:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/palisade.c:1042:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/palisade.c:1343:71: style: Local variable 'dir' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/palisade.c:1312:29: note: Shadowed argument sgt-puzzles-20250730.a7c7826/palisade.c:1343:71: note: Shadow local variable sgt-puzzles-20250730.a7c7826/palisade.c:1242:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/palisade.c:1250:41: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/palisade.c:1256:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/palisade.c:1257:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/palisade.c:1258:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/palisade.c:1259:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/palisade.c:515:49: style: Parameter 'border' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/palisade.c:531:56: style: Parameter 'clues' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/palisade.c:897:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/palisade.c:1538:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/palisade.c:897:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/palisade.c:935:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/palisade.c:1544:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/palisade.c:935:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/palisade.c:1149:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/palisade.c:1234:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/palisade.c:1267:54: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/palisade.c:1294:9: style: Variable 'dims' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/palisade.c:1417:49: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/palisade.c:1553:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/palisade.c:1417:49: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/palisade.c:1424:50: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/palisade.c:1554:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/palisade.c:1424:50: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/palisade.c:854:17: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] sgt-puzzles-20250730.a7c7826/palisade.c:870:5: warning:inconclusive: Found calculation inside sizeof(). [sizeofCalculation] sgt-puzzles-20250730.a7c7826/palisade.c:826:18: error: Uninitialized variable: b [legacyUninitvar] sgt-puzzles-20250730.a7c7826/palisade.c:826:29: style: Variable 'b[0]' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/pattern.c:1022:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_LARGE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/pattern.c:1829:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_LARGE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/pattern.c:1401:6: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pattern.c:1297:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/pattern.c:1401:6: note: Shadow local variable sgt-puzzles-20250730.a7c7826/pattern.c:1401:21: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pattern.c:1297:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/pattern.c:1401:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/pattern.c:1190:45: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/pattern.c:345:53: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/pattern.c:1264:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/pattern.c:2109:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/pattern.c:1264:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/pattern.c:1687:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pattern.c:1753:54: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/pattern.c:1791:10: style: Variable 'rowdata' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pattern.c:1977:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/pattern.c:2118:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/pattern.c:1977:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/pattern.c:1983:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/pattern.c:2119:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/pattern.c:1983:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/pattern.c:189:19: warning: Either the condition 'params->w>2147483647-1' is redundant or there is signed integer overflow for expression 'params->w*params->h'. [integerOverflowCond] sgt-puzzles-20250730.a7c7826/pattern.c:186:19: note: Assuming that condition 'params->w>2147483647-1' is not redundant sgt-puzzles-20250730.a7c7826/pattern.c:189:19: note: Integer overflow sgt-puzzles-20250730.a7c7826/pattern.c:425:7: style: Variable 'j' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/pearl.c:1922:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_MASYU [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/pearl.c:1943:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_MASYU [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/pearl.c:2203:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_LOOPY [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/pearl.c:2440:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_LOOPY [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/pearl.c:2515:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_LOOPY [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/pearl.c:2546:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_LOOPY [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/pearl.c:2630:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_MASYU [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/pearl.c:2712:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_LOOPY [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/pearl.c:2747:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUI_MASYU [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/pearl.c:227:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/pearl.c:1880:19: style: Same expression on both sides of '/'. [duplicateExpression] sgt-puzzles-20250730.a7c7826/pearl.c:1862:66: note: 'ch' is assigned value '2' here. sgt-puzzles-20250730.a7c7826/pearl.c:1880:19: note: Same expression on both sides of '/'. sgt-puzzles-20250730.a7c7826/pearl.c:2656:33: style: Local variable 'dir' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pearl.c:2622:29: note: Shadowed argument sgt-puzzles-20250730.a7c7826/pearl.c:2656:33: note: Shadow local variable sgt-puzzles-20250730.a7c7826/pearl.c:2656:38: style: Local variable 'oldstate' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pearl.c:2621:43: note: Shadowed argument sgt-puzzles-20250730.a7c7826/pearl.c:2656:38: note: Shadow local variable sgt-puzzles-20250730.a7c7826/pearl.c:2600:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/pearl.c:304:44: style: Parameter 'clues' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/pearl.c:1015:28: style: Variable 'f' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pearl.c:1061:27: style: Variable 'd2' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pearl.c:1426:11: style: Variable 'grid' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pearl.c:1793:54: style: Parameter 'old_lines' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/pearl.c:1793:71: style: Parameter 'new_lines' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/pearl.c:1955:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/pearl.c:2813:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/pearl.c:1955:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/pearl.c:1979:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/pearl.c:2819:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/pearl.c:1979:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/pearl.c:2182:37: style: Variable 'other' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pearl.c:2437:34: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pearl.c:2511:62: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/pearl.c:2690:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/pearl.c:2828:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/pearl.c:2690:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/pearl.c:2696:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/pearl.c:2829:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/pearl.c:2696:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/pearl.c:227:15: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/pearl.c:1683:22: style: Variable 'largest_size' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/pegs.c:380:10: style: Variable 'm2' is reassigned a value before the old one has been used. [redundantAssignment] sgt-puzzles-20250730.a7c7826/pegs.c:379:10: note: m2 is assigned sgt-puzzles-20250730.a7c7826/pegs.c:380:10: note: m2 is overwritten sgt-puzzles-20250730.a7c7826/pegs.c:376:20: style: Local variable 'm' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/pegs.c:352:16: note: Shadowed variable sgt-puzzles-20250730.a7c7826/pegs.c:376:20: note: Shadow local variable sgt-puzzles-20250730.a7c7826/pegs.c:435:27: style: Local variable 'm' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/pegs.c:420:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/pegs.c:435:27: note: Shadow local variable sgt-puzzles-20250730.a7c7826/pegs.c:271:18: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pegs.c:272:18: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pegs.c:299:18: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pegs.c:300:18: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pegs.c:314:41: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/pegs.c:376:24: style: Variable 'm2' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pegs.c:435:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pegs.c:1061:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/pegs.c:1128:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/pegs.c:1314:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/pegs.c:1386:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/pegs.c:1314:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/pegs.c:1320:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/pegs.c:1387:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/pegs.c:1320:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/penrose.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTERNAL [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/penrose.c:82:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTERNAL [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/penrose.c:92:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/penrose.c:417:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTERNAL [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/penrose.c:490:9: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] sgt-puzzles-20250730.a7c7826/penrose.c:492:9: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] sgt-puzzles-20250730.a7c7826/penrose.c:655:58: style:inconclusive: Function 'penrose_adjacent' argument 2 names different: declaration 'src_spec' definition 'src_tri'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/penrose-internal.h:201:58: note: Function 'penrose_adjacent' argument 2 names different: declaration 'src_spec' definition 'src_tri'. sgt-puzzles-20250730.a7c7826/penrose.c:655:58: note: Function 'penrose_adjacent' argument 2 names different: declaration 'src_spec' definition 'src_tri'. sgt-puzzles-20250730.a7c7826/penrose.c:656:64: style:inconclusive: Function 'penrose_adjacent' argument 4 names different: declaration 'dst_edge' definition 'dst_edge_out'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/penrose-internal.h:202:64: note: Function 'penrose_adjacent' argument 4 names different: declaration 'dst_edge' definition 'dst_edge_out'. sgt-puzzles-20250730.a7c7826/penrose.c:656:64: note: Function 'penrose_adjacent' argument 4 names different: declaration 'dst_edge' definition 'dst_edge_out'. sgt-puzzles-20250730.a7c7826/penrose.c:701:57: style:inconclusive: Function 'penrosectx_generate' argument 3 names different: declaration '' definition 'inboundsctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/penrose.c:702:12: style:inconclusive: Function 'penrosectx_generate' argument 4 names different: declaration '' definition 'tile'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/penrose.c:702:63: style:inconclusive: Function 'penrosectx_generate' argument 5 names different: declaration '' definition 'tilectx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/penrose.c:882:40: style:inconclusive: Function 'penrose_tiling_generate' argument 5 names different: declaration '' definition 'cbctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/penrose.c:722:18: style: Local variable 'sibling_edge' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/penrose-internal.h:8:24: note: Shadowed function sgt-puzzles-20250730.a7c7826/penrose.c:722:18: note: Shadow local variable sgt-puzzles-20250730.a7c7826/penrose.c:389:51: style: Parameter 'pc_in' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/penrose.c:808:30: style: Variable 'octx' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/penrose.c:823:36: style: Parameter 'vctx' can be declared as pointer to const. However it seems that 'null_output_tile' is a callback function, if 'vctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/penrose.c:869:46: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/penrose.c:823:36: note: Parameter 'vctx' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/ps.c:430:33: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/random.c:34:52: style: Parameter 'block' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/random.c:224:41: style: Parameter 'tocopy' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/random.c:293:41: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/random.c:302:9: style: Variable 'len' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/range.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] sgt-puzzles-20250730.a7c7826/range.c:1081:5: warning: Possible null pointer dereference: desc [nullPointer] sgt-puzzles-20250730.a7c7826/range.c:1044:18: note: Assignment 'desc=NULL', assigned value is 0 sgt-puzzles-20250730.a7c7826/range.c:1049:19: note: Assuming condition is false sgt-puzzles-20250730.a7c7826/range.c:1081:5: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/range.c:1042:50: style:inconclusive: Function 'newdesc_encode_game_description' argument 1 names different: declaration 'n' definition 'area'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/range.c:695:50: note: Function 'newdesc_encode_game_description' argument 1 names different: declaration 'n' definition 'area'. sgt-puzzles-20250730.a7c7826/range.c:1042:50: note: Function 'newdesc_encode_game_description' argument 1 names different: declaration 'n' definition 'area'. sgt-puzzles-20250730.a7c7826/range.c:1772:32: style:inconclusive: Function 'draw_cell' argument 1 names different: declaration 'dr' definition 'draw'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/range.c:1738:32: note: Function 'draw_cell' argument 1 names different: declaration 'dr' definition 'draw'. sgt-puzzles-20250730.a7c7826/range.c:1772:32: note: Function 'draw_cell' argument 1 names different: declaration 'dr' definition 'draw'. sgt-puzzles-20250730.a7c7826/range.c:394:34: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:394:34: note: Shadow argument sgt-puzzles-20250730.a7c7826/range.c:394:50: style: Argument 'dc' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:289:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:394:50: note: Shadow argument sgt-puzzles-20250730.a7c7826/range.c:595:17: style: Local variable 'k' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:536:16: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:595:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/range.c:781:27: style: Local variable 'c' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:778:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:781:27: note: Shadow local variable sgt-puzzles-20250730.a7c7826/range.c:792:27: style: Local variable 'r' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:778:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:792:27: note: Shadow local variable sgt-puzzles-20250730.a7c7826/range.c:1674:36: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1674:36: note: Shadow argument sgt-puzzles-20250730.a7c7826/range.c:1706:52: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1706:52: note: Shadow argument sgt-puzzles-20250730.a7c7826/range.c:1721:42: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1721:42: note: Shadow argument sgt-puzzles-20250730.a7c7826/range.c:1741:34: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1741:34: note: Shadow argument sgt-puzzles-20250730.a7c7826/range.c:1796:16: style: Local variable 'colour' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:1780:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1796:16: note: Shadow local variable sgt-puzzles-20250730.a7c7826/range.c:1820:33: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1820:33: note: Shadow argument sgt-puzzles-20250730.a7c7826/range.c:323:11: style: Variable 'moves' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/range.c:330:14: style: Variable 'colour' can be declared as const array [constVariable] sgt-puzzles-20250730.a7c7826/range.c:331:15: style: Variable 'it' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/range.c:617:15: style: Variable 'recursive_result' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/range.c:810:11: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/range.c:1117:37: style: Parameter 'me' can be declared as pointer to const. However it seems that 'new_game' is a callback function, if 'me' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/range.c:1862:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/range.c:1117:37: note: Parameter 'me' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/range.c:1279:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/range.c:1867:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/range.c:1279:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/range.c:1610:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/range.c:1873:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/range.c:1610:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/range.c:1616:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/range.c:1882:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/range.c:1616:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/range.c:1624:72: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/range.c:1883:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/range.c:1624:72: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/range.c:1772:54: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/rect.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] sgt-puzzles-20250730.a7c7826/rect.c:159:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/rect.c:1194:20: style: Variable 'y' is reassigned a value before the old one has been used. [redundantAssignment] sgt-puzzles-20250730.a7c7826/rect.c:1193:15: note: y is assigned sgt-puzzles-20250730.a7c7826/rect.c:1194:20: note: y is overwritten sgt-puzzles-20250730.a7c7826/rect.c:576:21: style: Local variable 'w' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/rect.c:338:28: note: Shadowed argument sgt-puzzles-20250730.a7c7826/rect.c:576:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/rect.c:577:21: style: Local variable 'h' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/rect.c:338:35: note: Shadowed argument sgt-puzzles-20250730.a7c7826/rect.c:577:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/rect.c:1623:27: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:1155:36: note: Shadowed variable sgt-puzzles-20250730.a7c7826/rect.c:1623:27: note: Shadow local variable sgt-puzzles-20250730.a7c7826/rect.c:1683:25: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:1155:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/rect.c:1683:25: note: Shadow local variable sgt-puzzles-20250730.a7c7826/rect.c:1684:25: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:1155:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/rect.c:1684:25: note: Shadow local variable sgt-puzzles-20250730.a7c7826/rect.c:2103:7: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:2061:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/rect.c:2103:7: note: Shadow local variable sgt-puzzles-20250730.a7c7826/rect.c:2418:15: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:2395:20: note: Shadowed variable sgt-puzzles-20250730.a7c7826/rect.c:2418:15: note: Shadow local variable sgt-puzzles-20250730.a7c7826/rect.c:741:38: style: Variable 'r' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/rect.c:886:26: style: Variable 'r' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/rect.c:932:37: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/rect.c:932:50: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/rect.c:1043:37: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/rect.c:1058:43: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/rect.c:1058:56: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/rect.c:2363:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/rect.c:3005:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/rect.c:2363:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/rect.c:2637:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/rect.c:2710:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/rect.c:2711:52: style: Parameter 'hedge' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/rect.c:2711:74: style: Parameter 'vedge' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/rect.c:2712:38: style: Parameter 'corners' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/rect.c:2879:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/rect.c:3014:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/rect.c:2879:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/rect.c:2885:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/rect.c:3015:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/rect.c:2885:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/rect.c:159:8: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/samegame.c:949:5: warning: Possible null pointer dereference: ret [nullPointer] sgt-puzzles-20250730.a7c7826/samegame.c:938:11: note: Assignment 'ret=NULL', assigned value is 0 sgt-puzzles-20250730.a7c7826/samegame.c:940:19: note: Assuming condition is false sgt-puzzles-20250730.a7c7826/samegame.c:949:5: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/samegame.c:509:29: style: Local variable 'pos' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/samegame.c:325:27: note: Shadowed variable sgt-puzzles-20250730.a7c7826/samegame.c:509:29: note: Shadow local variable sgt-puzzles-20250730.a7c7826/samegame.c:673:26: style: Local variable 'ok' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/samegame.c:327:10: note: Shadowed variable sgt-puzzles-20250730.a7c7826/samegame.c:673:26: note: Shadow local variable sgt-puzzles-20250730.a7c7826/samegame.c:1204:37: style: Parameter 'ret' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/samegame.c:1604:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/samegame.c:1677:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/samegame.c:1604:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/samegame.c:1610:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/samegame.c:1678:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/samegame.c:1610:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/samegame.c:224:3: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/signpost.c:373:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/signpost.c:1086:31: warning: Either the condition '!state' is redundant or there is possible null pointer dereference: state. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/signpost.c:1232:9: note: Assuming that condition '!state' is not redundant sgt-puzzles-20250730.a7c7826/signpost.c:1234:20: note: Calling function 'update_numbers', 1st argument 'state' value is 0 sgt-puzzles-20250730.a7c7826/signpost.c:1086:31: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/signpost.c:1088:21: warning: Either the condition '!state' is redundant or there is possible null pointer dereference: state. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/signpost.c:1232:9: note: Assuming that condition '!state' is not redundant sgt-puzzles-20250730.a7c7826/signpost.c:1234:20: note: Calling function 'update_numbers', 1st argument 'state' value is 0 sgt-puzzles-20250730.a7c7826/signpost.c:1088:21: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/signpost.c:1172:25: warning: Either the condition '!state' is redundant or there is possible null pointer dereference: state. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/signpost.c:1232:9: note: Assuming that condition '!state' is not redundant sgt-puzzles-20250730.a7c7826/signpost.c:1235:22: note: Calling function 'check_completion', 1st argument 'state' value is 0 sgt-puzzles-20250730.a7c7826/signpost.c:1172:25: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/signpost.c:99:34: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:124:37: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:266:55: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:293:36: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:293:54: style: Parameter 'copy' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:566:40: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:594:33: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:718:54: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:1065:37: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:1065:62: style: Parameter 'heads' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:1445:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/signpost.c:2326:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/signpost.c:1445:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/signpost.c:1723:43: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/signpost.c:1915:36: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:2070:62: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/signpost.c:2229:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/signpost.c:2341:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/signpost.c:2229:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/signpost.c:2235:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/signpost.c:2342:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/signpost.c:2235:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/signpost.c:1723:28: style: struct member 'Anonymous11::order' is never used. [unusedStructMember] sgt-puzzles-20250730.a7c7826/signpost.c:373:15: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/singles.c:373:40: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/singles.c:423:55: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/singles.c:429:41: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/singles.c:625:58: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/singles.c:758:40: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/singles.c:787:38: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/singles.c:1233:42: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/singles.c:1279:39: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/singles.c:1472:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/singles.c:1889:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/singles.c:1472:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/singles.c:1634:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/singles.c:1696:54: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/singles.c:1788:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/singles.c:1904:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/singles.c:1788:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/singles.c:1794:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/singles.c:1905:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/singles.c:1794:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/singles.c:208:10: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/sixteen.c:1022:58: style: Condition 't==-1' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/sixteen.c:282:25: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/sixteen.c:205:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/sixteen.c:282:25: note: Shadow local variable sgt-puzzles-20250730.a7c7826/sixteen.c:634:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/sixteen.c:634:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/sixteen.c:634:32: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/sixteen.c:634:32: note: Shadow local variable sgt-puzzles-20250730.a7c7826/sixteen.c:658:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/sixteen.c:658:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/sixteen.c:658:36: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/sixteen.c:658:36: note: Shadow local variable sgt-puzzles-20250730.a7c7826/sixteen.c:188:29: style: Parameter 'perm' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/sixteen.c:588:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/sixteen.c:1201:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/sixteen.c:588:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/sixteen.c:809:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/sixteen.c:860:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/sixteen.c:895:53: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/sixteen.c:1141:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/sixteen.c:1210:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/sixteen.c:1141:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/sixteen.c:1147:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/sixteen.c:1211:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/sixteen.c:1147:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/slant.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] sgt-puzzles-20250730.a7c7826/slant.c:1122:9: warning: Assert statement calls a function which may have desired side effects: 'slant_solve'. [assertWithSideEffect] sgt-puzzles-20250730.a7c7826/slant.c:174:15: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/slant.c:1183:11: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/slant.c:1086:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/slant.c:1183:11: note: Shadow local variable sgt-puzzles-20250730.a7c7826/slant.c:1412:13: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/slant.c:1400:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/slant.c:1412:13: note: Shadow local variable sgt-puzzles-20250730.a7c7826/slant.c:1412:16: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/slant.c:1400:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/slant.c:1412:16: note: Shadow local variable sgt-puzzles-20250730.a7c7826/slant.c:1804:6: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/slant.c:1771:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/slant.c:1804:6: note: Shadow local variable sgt-puzzles-20250730.a7c7826/slant.c:1804:21: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/slant.c:1771:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/slant.c:1804:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/slant.c:1339:53: style: Parameter 'soln' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/slant.c:1672:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/slant.c:2288:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/slant.c:1672:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/slant.c:1708:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/slant.c:2294:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/slant.c:1708:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/slant.c:1886:44: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/slant.c:1960:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/slant.c:1978:68: style: Parameter 'clues' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/slant.c:2161:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/slant.c:2303:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/slant.c:2161:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/slant.c:2167:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/slant.c:2304:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/slant.c:2167:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/slant.c:174:21: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/solo.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] sgt-puzzles-20250730.a7c7826/solo.c:2808:17: style: The if condition is the same as the previous if condition [duplicateCondition] sgt-puzzles-20250730.a7c7826/solo.c:2806:17: note: First condition sgt-puzzles-20250730.a7c7826/solo.c:2808:17: note: Second condition sgt-puzzles-20250730.a7c7826/solo.c:1021:13: style: Local variable 'count' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1006:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:1021:13: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:1802:17: style: Local variable 'n' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:21: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:1802:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:1864:11: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:1864:11: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:2012:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:2012:7: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:2025:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:2025:7: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:2052:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:2052:7: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:2068:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:2068:7: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:2528:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:2528:10: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:3599:14: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3558:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:3599:14: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:3599:17: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3558:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:3599:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:3820:21: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3658:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:3820:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:3821:21: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3658:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:3821:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/solo.c:575:76: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:603:57: style: Parameter 'squares' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:857:57: style: Parameter 'indices' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:921:34: style: Parameter 'indices1' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:921:49: style: Parameter 'indices2' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:999:28: style: Parameter 'indices' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:1411:43: style: Parameter 'clues' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:1485:20: style: Variable 'sumbits' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/solo.c:1667:71: style: Parameter 'usage' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:1934:12: style: Variable 'region' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/solo.c:2993:41: style: Parameter 'kgrid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:2993:55: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:3029:57: style: Parameter 'blocks' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:3192:47: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:3271:75: style: Parameter 'blocks' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:3378:56: style: Parameter 'blocks' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:3450:16: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:3536:52: style: Parameter 'cages' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:3537:14: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:4334:29: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/solo.c:4596:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/solo.c:5682:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/solo.c:4596:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/solo.c:4865:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/solo.c:5350:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/solo.c:5697:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/solo.c:5350:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/solo.c:5356:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/solo.c:5698:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/solo.c:5356:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/solo.c:5409:66: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/sort.c:41:48: style:inconclusive: Function 'arraysort_fn' argument 5 names different: declaration '' definition 'ctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/spectre.c:361:14: style: Unsigned expression 'edge' can't be negative so it is unnecessary to test it. [unsignedPositive] sgt-puzzles-20250730.a7c7826/spectre.c:414:14: style: Unsigned expression 'edge' can't be negative so it is unnecessary to test it. [unsignedPositive] sgt-puzzles-20250730.a7c7826/spectre.c:30:36: style:inconclusive: Function 'spectre_valid_hex_letter' argument 1 names different: declaration 'c' definition 'letter'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/spectre.h:31:36: note: Function 'spectre_valid_hex_letter' argument 1 names different: declaration 'c' definition 'letter'. sgt-puzzles-20250730.a7c7826/spectre.c:30:36: note: Function 'spectre_valid_hex_letter' argument 1 names different: declaration 'c' definition 'letter'. sgt-puzzles-20250730.a7c7826/spectre.c:101:41: style:inconclusive: Function 'spectre_coords_free' argument 1 names different: declaration 'hc' definition 'sc'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/spectre-internal.h:75:41: note: Function 'spectre_coords_free' argument 1 names different: declaration 'hc' definition 'sc'. sgt-puzzles-20250730.a7c7826/spectre.c:101:41: note: Function 'spectre_coords_free' argument 1 names different: declaration 'hc' definition 'sc'. sgt-puzzles-20250730.a7c7826/spectre.c:109:47: style:inconclusive: Function 'spectre_coords_make_space' argument 1 names different: declaration 'hc' definition 'sc'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/spectre-internal.h:76:47: note: Function 'spectre_coords_make_space' argument 1 names different: declaration 'hc' definition 'sc'. sgt-puzzles-20250730.a7c7826/spectre.c:109:47: note: Function 'spectre_coords_make_space' argument 1 names different: declaration 'hc' definition 'sc'. sgt-puzzles-20250730.a7c7826/spectre.c:119:51: style:inconclusive: Function 'spectre_coords_copy' argument 1 names different: declaration 'hc_in' definition 'sc_in'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/spectre-internal.h:77:51: note: Function 'spectre_coords_copy' argument 1 names different: declaration 'hc_in' definition 'sc_in'. sgt-puzzles-20250730.a7c7826/spectre.c:119:51: note: Function 'spectre_coords_copy' argument 1 names different: declaration 'hc_in' definition 'sc_in'. sgt-puzzles-20250730.a7c7826/spectre.c:157:56: style:inconclusive: Function 'spectre_adjacent' argument 4 names different: declaration 'dst_edge' definition 'dst_edge_out'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/spectre-internal.h:246:56: note: Function 'spectre_adjacent' argument 4 names different: declaration 'dst_edge' definition 'dst_edge_out'. sgt-puzzles-20250730.a7c7826/spectre.c:157:56: note: Function 'spectre_adjacent' argument 4 names different: declaration 'dst_edge' definition 'dst_edge_out'. sgt-puzzles-20250730.a7c7826/spectre.c:300:67: style:inconclusive: Function 'spectrectx_extend_coords' argument 2 names different: declaration 'hc' definition 'sc'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/spectre-internal.h:230:67: note: Function 'spectrectx_extend_coords' argument 2 names different: declaration 'hc' definition 'sc'. sgt-puzzles-20250730.a7c7826/spectre.c:300:67: note: Function 'spectrectx_extend_coords' argument 2 names different: declaration 'hc' definition 'sc'. sgt-puzzles-20250730.a7c7826/spectre.c:436:32: style:inconclusive: Function 'spectrectx_generate' argument 3 names different: declaration '' definition 'cbctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/spectre.c:560:58: style:inconclusive: Function 'spectre_tiling_randomise' argument 1 names different: declaration 'params' definition 'ps'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/spectre.h:44:58: note: Function 'spectre_tiling_randomise' argument 1 names different: declaration 'params' definition 'ps'. sgt-puzzles-20250730.a7c7826/spectre.c:560:58: note: Function 'spectre_tiling_randomise' argument 1 names different: declaration 'params' definition 'ps'. sgt-puzzles-20250730.a7c7826/spectre.c:587:30: style:inconclusive: Function 'spectre_tiling_generate' argument 4 names different: declaration 'cb' definition 'external_cb'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/spectre.h:70:30: note: Function 'spectre_tiling_generate' argument 4 names different: declaration 'cb' definition 'external_cb'. sgt-puzzles-20250730.a7c7826/spectre.c:587:30: note: Function 'spectre_tiling_generate' argument 4 names different: declaration 'cb' definition 'external_cb'. sgt-puzzles-20250730.a7c7826/spectre.c:587:49: style:inconclusive: Function 'spectre_tiling_generate' argument 5 names different: declaration '' definition 'external_cbctx'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/spectre.c:119:51: style: Parameter 'sc_in' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/spectre.c:454:18: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/tdq.c:83:20: style: Parameter 'tdq' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/tents.c:354:15: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/tents.c:1686:27: warning: Comparison of a boolean expression with an integer. [compareBoolExpressionWithInt] sgt-puzzles-20250730.a7c7826/tents.c:889:6: style: Condition '!done_something' is always true [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/tents.c:886:6: note: Assuming that condition 'done_something' is not redundant sgt-puzzles-20250730.a7c7826/tents.c:889:6: note: Condition '!done_something' is always true sgt-puzzles-20250730.a7c7826/tents.c:1742:17: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/tents.c:1736:21: note: Shadowed variable sgt-puzzles-20250730.a7c7826/tents.c:1742:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/tents.c:2367:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/tents.c:2371:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/tents.c:2394:38: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/tents.c:461:61: style: Parameter 'numbers' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/tents.c:863:13: style: Variable 'mthis' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/tents.c:1471:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/tents.c:2660:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/tents.c:1471:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/tents.c:1913:44: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/tents.c:2007:56: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/tents.c:2312:55: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/tents.c:2568:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/tents.c:2669:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/tents.c:2568:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/tents.c:2574:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/tents.c:2670:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/tents.c:2574:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/tents.c:354:21: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/towers.c:1388:7: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/towers.c:1319:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/towers.c:1388:7: note: Shadow local variable sgt-puzzles-20250730.a7c7826/towers.c:1388:10: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/towers.c:1319:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/towers.c:1388:10: note: Shadow local variable sgt-puzzles-20250730.a7c7826/towers.c:1516:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/towers.c:1427:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/towers.c:1516:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/towers.c:1516:29: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/towers.c:1427:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/towers.c:1516:29: note: Shadow local variable sgt-puzzles-20250730.a7c7826/towers.c:1977:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/towers.c:1921:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/towers.c:1977:10: note: Shadow local variable sgt-puzzles-20250730.a7c7826/towers.c:1230:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/towers.c:2141:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/towers.c:1230:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/towers.c:1317:10: style: Variable 'clues' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/towers.c:1318:12: style: Variable 'grid' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/towers.c:1665:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/towers.c:1735:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/towers.c:1736:37: style: Parameter 'clues' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/towers.c:2009:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/towers.c:2156:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/towers.c:2009:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/towers.c:2015:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/towers.c:2157:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/towers.c:2015:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/towers.c:199:14: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/tracks.c:135:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/tracks.c:1781:37: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/tracks.c:2036:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/tracks.c:3056:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/tracks.c:2036:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/tracks.c:2487:13: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/tracks.c:2594:63: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/tracks.c:2798:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/tracks.c:2821:57: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/tracks.c:2928:49: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/tracks.c:3065:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/tracks.c:2928:49: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/tracks.c:2934:50: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/tracks.c:3066:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/tracks.c:2934:50: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/tracks.c:135:15: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/tracks.c:1078:29: style: Variable 'impossible' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/tree234.c:484:13: error: Array 'n->kids[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] sgt-puzzles-20250730.a7c7826/tree234.c:470:2: note: After for loop, kcount has value 4 sgt-puzzles-20250730.a7c7826/tree234.c:482:13: note: Assuming condition is false sgt-puzzles-20250730.a7c7826/tree234.c:484:13: note: Array index out of bounds sgt-puzzles-20250730.a7c7826/tree234.c:1288:12: warning: Either the condition 'halves[half]' is redundant or there is possible null pointer dereference: halves[half]. [nullPointerRedundantCheck] sgt-puzzles-20250730.a7c7826/tree234.c:1284:15: note: Assuming that condition 'halves[half]' is not redundant sgt-puzzles-20250730.a7c7826/tree234.c:1288:12: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/tree234.c:911:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] sgt-puzzles-20250730.a7c7826/tree234.c:440:11: style:inconclusive: Function 'findrelpos234' argument 4 names different: declaration '' definition 'relation'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/tree234.c:440:26: style:inconclusive: Function 'findrelpos234' argument 5 names different: declaration '' definition 'index'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/tree234.c:546:57: style:inconclusive: Function 'findrel234' argument 4 names different: declaration '' definition 'relation'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/tree234.c:549:58: style:inconclusive: Function 'findpos234' argument 4 names different: declaration '' definition 'index'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/tree234.c:1394:58: style:inconclusive: Function 'split234' argument 4 names different: declaration '' definition 'rel'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/tree234.c:1435:58: style:inconclusive: Function 'copytree234' argument 3 names different: declaration '' definition 'copyfnstate'. [funcArgNamesDifferentUnnamed] sgt-puzzles-20250730.a7c7826/twiddle.c:1223:49: style: Condition 't==-1' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/twiddle.c:298:32: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/twiddle.c:625:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/twiddle.c:1295:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/twiddle.c:625:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/twiddle.c:787:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/twiddle.c:854:46: style: Parameter 'rot' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/twiddle.c:873:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/twiddle.c:1016:9: style: Variable 'colours' can be declared as const array [constVariable] sgt-puzzles-20250730.a7c7826/twiddle.c:1069:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/twiddle.c:1304:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/twiddle.c:1069:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/twiddle.c:1076:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/twiddle.c:1305:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/twiddle.c:1076:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/twiddle.c:1110:39: style: Variable 'lastr' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/undead.c:151:22: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/undead.c:1923:24: style: Condition 'ui->hshow' is always true [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/undead.c:1907:17: note: Assuming that condition '!ui->hshow' is not redundant sgt-puzzles-20250730.a7c7826/undead.c:1923:24: note: Condition 'ui->hshow' is always true sgt-puzzles-20250730.a7c7826/undead.c:470:17: style: Local variable 'c' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:452:13: note: Shadowed variable sgt-puzzles-20250730.a7c7826/undead.c:470:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/undead.c:1050:17: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/undead.c:1050:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/undead.c:1050:19: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:11: note: Shadowed variable sgt-puzzles-20250730.a7c7826/undead.c:1050:19: note: Shadow local variable sgt-puzzles-20250730.a7c7826/undead.c:1170:17: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/undead.c:1170:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/undead.c:1170:19: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:11: note: Shadowed variable sgt-puzzles-20250730.a7c7826/undead.c:1170:19: note: Shadow local variable sgt-puzzles-20250730.a7c7826/undead.c:778:39: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/undead.c:795:39: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/undead.c:795:51: style: Parameter 'guess' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/undead.c:816:33: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/undead.c:921:62: style: Parameter 'paths' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/undead.c:1679:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/undead.c:2833:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/undead.c:1679:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/undead.c:1986:56: style: Parameter 'guess' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/undead.c:2190:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/undead.c:2302:63: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/undead.c:2512:57: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/undead.c:2548:54: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/undead.c:2715:22: style: Variable 'path' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/undead.c:2782:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/undead.c:2848:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/undead.c:2782:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/undead.c:2788:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/undead.c:2849:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/undead.c:2788:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/undead.c:151:28: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/undead.c:710:21: style: Variable 'test_views.node' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/undead.c:738:31: style: Variable 'test_entry.start_view' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/undead.c:739:29: style: Variable 'test_entry.end_view' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/undead.c:750:39: style: Variable 'test_entry.start_view' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/undead.c:751:37: style: Variable 'test_entry.end_view' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/undead.c:858:17: style: Variable 'loop.length' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/unequal.c:1232:57: style: Condition 'game_assemble(state,scratch,sq,params->diff)<0' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/unequal.c:1232:22: note: Calling function 'game_assemble' returns 0 sgt-puzzles-20250730.a7c7826/unequal.c:1232:57: note: Condition 'game_assemble(state,scratch,sq,params->diff)<0' is always false sgt-puzzles-20250730.a7c7826/unequal.c:1852:24: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/unequal.c:1852:49: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] sgt-puzzles-20250730.a7c7826/unequal.c:334:34: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unequal.c:382:36: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unequal.c:612:49: style: Parameter 'solver' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unequal.c:643:25: style: Variable 'link' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unequal.c:810:24: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unequal.c:819:24: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unequal.c:879:33: style: Variable 'link' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unequal.c:948:32: style: Parameter 'sq' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unequal.c:962:64: style: Parameter 'latin' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unequal.c:1046:49: style: Parameter 'scratch' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unequal.c:1135:46: style: Parameter 'scratch' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unequal.c:1171:58: style: Parameter 'latin' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unequal.c:1394:37: style: Parameter 'me' can be declared as pointer to const. However it seems that 'new_game' is a callback function, if 'me' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unequal.c:2199:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unequal.c:1394:37: note: Parameter 'me' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unequal.c:1475:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unequal.c:2204:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unequal.c:1475:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unequal.c:1773:43: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unequal.c:1871:51: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unequal.c:1900:52: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unequal.c:1991:53: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unequal.c:2101:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unequal.c:2219:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unequal.c:2101:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unequal.c:2107:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unequal.c:2220:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unequal.c:2107:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unequal.c:283:64: style: struct member 'Anonymous12::c' is never used. [unusedStructMember] sgt-puzzles-20250730.a7c7826/unequal.c:283:67: style: struct member 'Anonymous12::ac' is never used. [unusedStructMember] sgt-puzzles-20250730.a7c7826/unequal.c:210:14: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:220:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_item [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:246:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sval [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:608:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable diff_impossible [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:822:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_label [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:879:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable digit [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1091:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable digit [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1126:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable digit [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1166:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable digit [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1310:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_item [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1325:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bval [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1381:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSOR_SELECT [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1575:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOVE_UI_UPDATE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1937:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable digit [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2015:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FONT_VARIABLE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2337:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FONT_VARIABLE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/group.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2213:27: style: Condition 'i>=0' is always true [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2204:28: note: Assignment 'i=abs(x-ui->ohx)', assigned value is greater than -1 sgt-puzzles-20250730.a7c7826/unfinished/group.c:2213:27: note: Condition 'i>=0' is always true sgt-puzzles-20250730.a7c7826/unfinished/group.c:1520:8: style: Local variable 'a' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1437:27: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:1520:8: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:1700:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1558:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/unfinished/group.c:1700:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:1701:17: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1558:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/unfinished/group.c:1701:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:1849:17: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1758:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:1849:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:1850:17: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1758:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:1850:17: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:2204:21: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2136:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:2204:21: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:287:47: style: Parameter 'solver' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/group.c:290:12: style: Variable 'grid' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/group.c:310:12: style: Variable 'grid' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/group.c:452:45: style: Parameter 'solver' can be declared as pointer to const. However it seems that 'solver_hard' is a callback function, if 'solver' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/group.c:547:47: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/group.c:452:45: note: Parameter 'solver' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/group.c:452:59: style: Parameter 'vctx' can be declared as pointer to const. However it seems that 'solver_hard' is a callback function, if 'vctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/group.c:547:47: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/group.c:452:59: note: Parameter 'vctx' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/group.c:549:46: style: Parameter 'solver' can be declared as pointer to const. However it seems that 'group_valid' is a callback function, if 'solver' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/group.c:606:48: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/group.c:549:46: note: Parameter 'solver' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/group.c:549:60: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'group_valid' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/group.c:606:48: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/group.c:549:60: note: Parameter 'ctx' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/group.c:905:13: style: Variable 'row' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1306:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2396:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/group.c:1306:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/group.c:1438:12: style: Variable 'grid' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1544:36: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1877:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2257:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2411:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/group.c:2257:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/group.c:2263:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2412:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/group.c:2263:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/group.c:2290:65: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_timing_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2417:12: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/group.c:2290:65: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/group.c:659:19: style: struct member 'group::autosize' is never used. [unusedStructMember] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1108:10: style: Variable 'desc' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1970:13: style: Variable 'tw' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1971:13: style: Variable 'th' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:1132:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:875:14: style: Local variable 'sn' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:841:17: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:875:14: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:842:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:879:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:879:10: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:949:8: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:949:8: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:234:29: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_add' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:557:37: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:234:29: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:234:37: style: Parameter 'b' can be declared as pointer to const. However it seems that 'perform_add' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:557:37: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:234:37: note: Parameter 'b' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:248:29: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_sub' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:560:38: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:248:29: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:248:37: style: Parameter 'b' can be declared as pointer to const. However it seems that 'perform_sub' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:560:38: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:248:37: note: Parameter 'b' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:262:29: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_mul' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:563:37: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:262:29: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:262:37: style: Parameter 'b' can be declared as pointer to const. However it seems that 'perform_mul' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:563:37: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:262:37: note: Parameter 'b' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:274:29: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_div' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:566:38: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:274:29: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:274:37: style: Parameter 'b' can be declared as pointer to const. However it seems that 'perform_div' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:566:38: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:274:37: note: Parameter 'b' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:293:35: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_exact_div' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:569:38: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:293:35: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:293:43: style: Parameter 'b' can be declared as pointer to const. However it seems that 'perform_exact_div' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:569:38: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:293:43: note: Parameter 'b' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:336:32: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_concat' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:573:18: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:336:32: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:336:40: style: Parameter 'b' can be declared as pointer to const. However it seems that 'perform_concat' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:573:18: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:336:40: note: Parameter 'b' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:386:29: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_exp' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:576:38: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:386:29: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:386:37: style: Parameter 'b' can be declared as pointer to const. However it seems that 'perform_exp' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:576:38: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:386:37: note: Parameter 'b' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:426:35: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_factorial' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:579:49: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:426:35: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:453:33: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_decimal' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:582:114: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:453:33: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:473:31: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_recur' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:585:77: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:473:31: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:501:30: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_root' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:588:42: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:501:30: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:519:30: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_perc' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:591:71: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:519:30: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:528:31: style: Parameter 'a' can be declared as pointer to const. However it seems that 'perform_gamma' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:594:89: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:528:31: note: Parameter 'a' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:649:42: style: Parameter 'newnumber' can be declared as const array [constParameter] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:681:17: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:682:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:707:20: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:708:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:720:10: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:721:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:836:49: style: Parameter 'inputs' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:837:42: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:996:61: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:1104:11: style: Variable 'pname' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:1178:36: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/path.c:591:6: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/path.c:553:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/path.c:591:6: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/path.c:192:35: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/path.c:484:8: style: Variable 'n' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:703:30: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'free_ui' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:840:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:703:30: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:707:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:844:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:707:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:717:63: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'interpret_move' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:846:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:717:63: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:770:34: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'game_redraw' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:852:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:770:34: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:770:54: style: Parameter 'ds' can be declared as pointer to const. However it seems that 'game_redraw' is a callback function, if 'ds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:852:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:770:54: note: Parameter 'ds' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:778:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:853:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:778:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:784:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:854:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:784:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:793:43: style: Parameter 'x' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:855:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:793:43: note: Parameter 'x' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:793:51: style: Parameter 'y' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'y' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:855:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:793:51: note: Parameter 'y' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:793:59: style: Parameter 'w' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:855:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:793:59: note: Parameter 'w' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:793:67: style: Parameter 'h' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:855:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:793:67: note: Parameter 'h' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:802:65: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_timing_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:859:12: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:802:65: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:808:36: style: Parameter 'x' can be declared as pointer to const. However it seems that 'game_print_size' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:857:19: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:808:36: note: Parameter 'x' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:808:46: style: Parameter 'y' can be declared as pointer to const. However it seems that 'game_print_size' is a callback function, if 'y' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:857:19: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:808:46: note: Parameter 'y' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/separate.c:812:33: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'game_print' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/separate.c:857:36: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/separate.c:812:33: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:246:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_item [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:273:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sval [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1250:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEFT_BUTTON [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:283:2: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:223:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:391:5: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assuming allocation function fails sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assignment 'b=malloc(sizeof(struct board)+w*h)', assigned value is 0 sgt-puzzles-20250730.a7c7826/unfinished/slide.c:391:5: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/unfinished/slide.c:392:12: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assuming allocation function fails sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assignment 'b=malloc(sizeof(struct board)+w*h)', assigned value is 0 sgt-puzzles-20250730.a7c7826/unfinished/slide.c:392:12: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/unfinished/slide.c:393:5: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assuming allocation function fails sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assignment 'b=malloc(sizeof(struct board)+w*h)', assigned value is 0 sgt-puzzles-20250730.a7c7826/unfinished/slide.c:393:5: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/unfinished/slide.c:394:5: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assuming allocation function fails sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assignment 'b=malloc(sizeof(struct board)+w*h)', assigned value is 0 sgt-puzzles-20250730.a7c7826/unfinished/slide.c:394:5: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/unfinished/slide.c:395:5: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assuming allocation function fails sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assignment 'b=malloc(sizeof(struct board)+w*h)', assigned value is 0 sgt-puzzles-20250730.a7c7826/unfinished/slide.c:395:5: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/unfinished/slide.c:396:5: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assuming allocation function fails sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assignment 'b=malloc(sizeof(struct board)+w*h)', assigned value is 0 sgt-puzzles-20250730.a7c7826/unfinished/slide.c:396:5: note: Null pointer dereference sgt-puzzles-20250730.a7c7826/unfinished/slide.c:391:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assuming allocation function fails sgt-puzzles-20250730.a7c7826/unfinished/slide.c:390:29: note: Assignment 'b=malloc(sizeof(struct board)+w*h)', assigned value is 0 sgt-puzzles-20250730.a7c7826/unfinished/slide.c:391:34: note: Null pointer addition sgt-puzzles-20250730.a7c7826/unfinished/slide.c:309:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:298:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/slide.c:309:10: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:10: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1244:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:10: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:23: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1244:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:23: note: Shadow local variable sgt-puzzles-20250730.a7c7826/unfinished/slide.c:383:19: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:384:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:388:60: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:413:16: style: Parameter 'forcefield' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1220:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2337:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1220:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1420:50: style: Parameter 'ff' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1600:44: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1613:48: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1613:60: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1873:57: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2268:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2346:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2268:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2274:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2347:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2274:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2286:43: style: Parameter 'x' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2348:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2286:43: note: Parameter 'x' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2286:51: style: Parameter 'y' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'y' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2348:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2286:51: note: Parameter 'y' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2286:59: style: Parameter 'w' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2348:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2286:59: note: Parameter 'w' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2286:67: style: Parameter 'h' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2348:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2286:67: note: Parameter 'h' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2295:65: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_timing_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2352:12: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2295:65: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2301:36: style: Parameter 'x' can be declared as pointer to const. However it seems that 'game_print_size' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2350:19: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2301:36: note: Parameter 'x' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2301:46: style: Parameter 'y' can be declared as pointer to const. However it seems that 'game_print_size' is a callback function, if 'y' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2350:19: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2301:46: note: Parameter 'y' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2305:33: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'game_print' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2350:36: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/slide.c:2305:33: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/slide.c:223:8: style: Variable 'string' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1079:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:212:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_item [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:234:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sval [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1051:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSOR_UP [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1322:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FONT_VARIABLE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:926:30: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'free_ui' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1455:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:926:30: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:930:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1459:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:930:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1184:36: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1390:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1468:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1390:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1396:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1469:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1396:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1408:43: style: Parameter 'x' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1470:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1408:43: note: Parameter 'x' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1408:51: style: Parameter 'y' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'y' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1470:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1408:51: note: Parameter 'y' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1408:59: style: Parameter 'w' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1470:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1408:59: note: Parameter 'w' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1408:67: style: Parameter 'h' can be declared as pointer to const. However it seems that 'game_get_cursor_location' is a callback function, if 'h' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1470:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1408:67: note: Parameter 'h' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1417:65: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_timing_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1474:12: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1417:65: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1423:36: style: Parameter 'x' can be declared as pointer to const. However it seems that 'game_print_size' is a callback function, if 'x' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1472:19: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1423:36: note: Parameter 'x' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1423:46: style: Parameter 'y' can be declared as pointer to const. However it seems that 'game_print_size' is a callback function, if 'y' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1472:19: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1423:46: note: Parameter 'y' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1427:33: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'game_print' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1472:36: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unfinished/sokoban.c:1427:33: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unruly.c:633:64: style: Parameter 'rowcount' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unruly.c:757:48: style: Parameter 'complete' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unruly.c:764:10: style: Variable 'other' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unruly.c:812:51: style: Parameter 'complete' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unruly.c:819:10: style: Variable 'other' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/unruly.c:867:51: style: Parameter 'complete' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/unruly.c:1532:41: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_changed_state' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unruly.c:2044:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unruly.c:1532:41: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unruly.c:1941:77: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_anim_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unruly.c:2053:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unruly.c:1941:77: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unruly.c:1947:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/unruly.c:2054:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/unruly.c:1947:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/unruly.c:225:14: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/untangle.c:299:9: style: Condition 'ret.lo' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/untangle.c:298:11: note: Assignment 'ret.lo=-ret.lo', assigned value is less than 1 sgt-puzzles-20250730.a7c7826/untangle.c:299:9: note: Condition 'ret.lo' is always false sgt-puzzles-20250730.a7c7826/untangle.c:1511:24: style: Condition 'ui->dragpoint>=0' is always true [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/untangle.c:1430:26: note: Assuming that condition 'ui->dragpoint<0' is not redundant sgt-puzzles-20250730.a7c7826/untangle.c:1511:24: note: Condition 'ui->dragpoint>=0' is always true sgt-puzzles-20250730.a7c7826/untangle.c:1014:6: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/untangle.c:998:20: note: Shadowed variable sgt-puzzles-20250730.a7c7826/untangle.c:1014:6: note: Shadow local variable sgt-puzzles-20250730.a7c7826/untangle.c:133:26: style: Parameter 'av' can be declared as pointer to const. However it seems that 'edgecmp' is a callback function, if 'av' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/untangle.c:908:38: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/untangle.c:133:26: note: Parameter 'av' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/untangle.c:133:36: style: Parameter 'bv' can be declared as pointer to const. However it seems that 'edgecmp' is a callback function, if 'bv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/untangle.c:908:38: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/untangle.c:133:36: note: Parameter 'bv' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/untangle.c:517:26: style: Parameter 'av' can be declared as pointer to const. However it seems that 'vertcmp' is a callback function, if 'av' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/untangle.c:660:27: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/untangle.c:517:26: note: Parameter 'av' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/untangle.c:517:36: style: Parameter 'bv' can be declared as pointer to const. However it seems that 'vertcmp' is a callback function, if 'bv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/untangle.c:660:27: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/untangle.c:517:36: note: Parameter 'bv' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/untangle.c:571:11: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/untangle.c:626:15: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/untangle.c:689:11: style: Variable 'kv' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/untangle.c:864:11: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/untangle.c:864:15: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/untangle.c:1199:40: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'get_prefs' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/untangle.c:2044:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/untangle.c:1199:40: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/untangle.c:1805:11: style: Variable 'e' can be declared as pointer to const [constVariablePointer] sgt-puzzles-20250730.a7c7826/untangle.c:1977:78: style: Parameter 'ui' can be declared as pointer to const. However it seems that 'game_flash_length' is a callback function, if 'ui' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/untangle.c:2060:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/untangle.c:1977:78: note: Parameter 'ui' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/untangle.c:1300:24: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] sgt-puzzles-20250730.a7c7826/untangle.c:1301:24: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] sgt-puzzles-20250730.a7c7826/untangle.c:1302:24: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] sgt-puzzles-20250730.a7c7826/windows.c:219:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_ICONEXCLAMATION [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:231:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORMAT_MESSAGE_ALLOCATE_BUFFER [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:248:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSTEMTIME [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:296:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:323:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:342:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_MENU [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:353:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:368:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:389:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:417:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:427:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:454:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:466:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:478:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:493:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:569:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:596:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:616:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:639:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:671:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:687:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:702:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:716:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:727:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:738:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:763:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:784:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:836:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:854:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:967:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_ICONERROR [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1064:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMEM_DDESHARE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1121:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable htmlhelp [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1173:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HELP_COMMAND [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1212:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HELP_QUIT [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1259:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWP_NOZORDER [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1305:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_OVERLAPPEDWINDOW [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1335:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWP_NOMOVE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1345:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GETWORKAREA [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1385:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTHING [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1543:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_ENABLED [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1600:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLORREF [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1767:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_SHOWNORMAL [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1779:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWLP_USERDATA [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1894:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWLP_USERDATA [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1965:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_CHILD [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1994:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DBLCLKS [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:2139:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_DBLCLKS [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:2405:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_OVERLAPPEDWINDOW [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:2445:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_OVERLAPPEDWINDOW [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:2483:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:2555:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:2587:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_WRITE [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:2642:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MF_GRAYED [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:2660:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_MENU [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:2670:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWLP_USERDATA [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:3387:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDI_APPLICATION [valueFlowBailoutIncompleteVar] sgt-puzzles-20250730.a7c7826/windows.c:1451:13: style: Condition 'me' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/windows.c:1448:18: note: Assignment 'me=NULL', assigned value is 0 sgt-puzzles-20250730.a7c7826/windows.c:1451:13: note: Condition 'me' is always false sgt-puzzles-20250730.a7c7826/windows.c:1491:17: style: Condition '!err_load' is always true [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/windows.c:1462:20: note: Assignment 'err_load=NULL', assigned value is 0 sgt-puzzles-20250730.a7c7826/windows.c:1491:17: note: Condition '!err_load' is always true sgt-puzzles-20250730.a7c7826/windows.c:1492:21: style: Condition 'me' is always false [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/windows.c:1448:18: note: Assignment 'me=NULL', assigned value is 0 sgt-puzzles-20250730.a7c7826/windows.c:1492:21: note: Condition 'me' is always false sgt-puzzles-20250730.a7c7826/windows.c:2845:29: style: Condition '!err' is always true [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/windows.c:2809:22: note: Assignment 'err=NULL', assigned value is 0 sgt-puzzles-20250730.a7c7826/windows.c:2816:8: note: Assuming condition is false sgt-puzzles-20250730.a7c7826/windows.c:2845:29: note: Condition '!err' is always true sgt-puzzles-20250730.a7c7826/windows.c:3137:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sgt-puzzles-20250730.a7c7826/windows.c:349:44: style: Parameter 'fe' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/windows.c:827:37: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'win_end_puzzle' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/windows.c:916:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/windows.c:827:37: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/windows.c:883:34: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'win_text_fallback' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sgt-puzzles-20250730.a7c7826/windows.c:921:5: note: You might need to cast the function pointer here sgt-puzzles-20250730.a7c7826/windows.c:883:34: note: Parameter 'dr' can be declared as pointer to const sgt-puzzles-20250730.a7c7826/windows.c:1251:50: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/windows.c:1445:42: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/windows.c:2435:50: style: Parameter 'proposed' can be declared as pointer to const [constParameterPointer] sgt-puzzles-20250730.a7c7826/windows.c:236:19: error: Uninitialized variable: lpMsgBuf [uninitvar] sgt-puzzles-20250730.a7c7826/windows.c:1857:3: style: Variable 'i' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/windows.c:2545:22: style: Variable 'game' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/windows.c:2562:17: style: Variable 'game' is assigned a value that is never used. [unreadVariable] sgt-puzzles-20250730.a7c7826/signpost.c:1086:31: warning: Null pointer dereference: state [ctunullpointer] sgt-puzzles-20250730.a7c7826/signpost.c:1232:9: note: Assuming that condition '!state' is not redundant sgt-puzzles-20250730.a7c7826/signpost.c:1234:19: note: Calling function update_numbers, 1st argument is null sgt-puzzles-20250730.a7c7826/signpost.c:1086:31: note: Dereferencing argument state that is null diff: 2.20.0 sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:507:19: style: Local variable 'm' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:448:15: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:507:19: note: Shadow variable head sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:507:19: style: Local variable 'm' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:448:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/hatgen.c:507:19: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:423:24: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:392:15: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:423:24: note: Shadow variable head sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:423:24: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:392:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/spectre-test.c:423:24: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:33: style: Argument 'tree' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:53:17: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:33: note: Shadow argument head sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:46: style: Argument 'array' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:48:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:46: note: Shadow argument head sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:57: style: Argument 'arraylen' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:49:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:303:57: note: Shadow argument head sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:32: style: Argument 'tree' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:53:17: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:32: note: Shadow argument head sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:45: style: Argument 'array' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:48:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:45: note: Shadow argument head sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:56: style: Argument 'arraylen' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:49:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/auxiliary/tree234-test.c:562:56: note: Shadow argument head sgt-puzzles-20250730.a7c7826/bridges.c:2563:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/bridges.c:2397:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/bridges.c:2563:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/bridges.c:2563:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/bridges.c:2397:33: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/bridges.c:2563:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/bridges.c:2563:42: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/bridges.c:2397:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/bridges.c:2563:42: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/bridges.c:2563:42: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/bridges.c:2397:40: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/bridges.c:2563:42: note: Shadow variable 2.20.0 sgt-puzzles-20250730.a7c7826/cube.c:1425:13: style: Local variable 'pkey' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/cube.c:1233:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/cube.c:1425:13: note: Shadow variable head sgt-puzzles-20250730.a7c7826/cube.c:1425:13: style: Local variable 'pkey' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/cube.c:1233:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/cube.c:1425:13: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/cube.c:1581:27: style: Local variable 't' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/cube.c:1573:11: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/cube.c:1581:27: note: Shadow variable head sgt-puzzles-20250730.a7c7826/cube.c:1581:27: style: Local variable 't' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/cube.c:1573:11: note: Shadowed variable sgt-puzzles-20250730.a7c7826/cube.c:1581:27: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/dominosa.c:2152:29: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:12: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/dominosa.c:2152:29: note: Shadow variable head sgt-puzzles-20250730.a7c7826/dominosa.c:2152:29: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:2152:29: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/dominosa.c:2152:54: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:15: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/dominosa.c:2152:54: note: Shadow variable head sgt-puzzles-20250730.a7c7826/dominosa.c:2152:54: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:2152:54: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/dominosa.c:2190:21: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:12: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/dominosa.c:2190:21: note: Shadow variable head sgt-puzzles-20250730.a7c7826/dominosa.c:2190:21: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:2190:21: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/dominosa.c:2190:36: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:15: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/dominosa.c:2190:36: note: Shadow variable head sgt-puzzles-20250730.a7c7826/dominosa.c:2190:36: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:2043:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:2190:36: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/dominosa.c:3279:17: style: Local variable 'n' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:3253:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/dominosa.c:3279:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/dominosa.c:3279:17: style: Local variable 'n' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:3253:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:3279:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/dominosa.c:3404:20: style: Local variable 'c' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:3388:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/dominosa.c:3404:20: note: Shadow variable head sgt-puzzles-20250730.a7c7826/dominosa.c:3404:20: style: Local variable 'c' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/dominosa.c:3388:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/dominosa.c:3404:20: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/dominosa.c:566:57: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] head sgt-puzzles-20250730.a7c7826/dominosa.c:567:57: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] head sgt-puzzles-20250730.a7c7826/emcc.c:354:35: style: Argument 'key' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/emcc.c:116:6: note: Shadowed function sgt-puzzles-20250730.a7c7826/emcc.c:354:35: note: Shadow argument head sgt-puzzles-20250730.a7c7826/emcc.c:900:32: style: Argument 'me' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/emcc.c:192:16: note: Shadowed variable sgt-puzzles-20250730.a7c7826/emcc.c:900:32: note: Shadow argument head sgt-puzzles-20250730.a7c7826/emcc.c:942:34: style: Argument 'me' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/emcc.c:192:16: note: Shadowed variable sgt-puzzles-20250730.a7c7826/emcc.c:942:34: note: Shadow argument head sgt-puzzles-20250730.a7c7826/filling.c:1320:37: style:inconclusive: Function 'new_game' argument 1 names different: declaration '' definition 'me'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/filling.c:1320:60: style:inconclusive: Function 'new_game' argument 2 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/filling.c:1321:41: style:inconclusive: Function 'new_game' argument 3 names different: declaration '' definition 'desc'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/filling.c:1360:35: style:inconclusive: Function 'free_game' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/filling.c:1615:19: style: Local variable 'sz' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/filling.c:1582:15: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/filling.c:1615:19: note: Shadow variable head sgt-puzzles-20250730.a7c7826/filling.c:1615:19: style: Local variable 'sz' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/filling.c:1582:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/filling.c:1615:19: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/filling.c:1888:17: style: Local variable 'dx' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/filling.c:288:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/filling.c:1888:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/filling.c:1888:17: style: Local variable 'dx' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/filling.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/filling.c:1888:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/filling.c:1888:21: style: Local variable 'dy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/filling.c:289:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/filling.c:1888:21: note: Shadow variable head sgt-puzzles-20250730.a7c7826/filling.c:1888:21: style: Local variable 'dy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/filling.c:289:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/filling.c:1888:21: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/findloop.c:34:48: style:inconclusive: Function 'findloop_free_state' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/findloop.c:82:37: style:inconclusive: Function 'findloop_run' argument 4 names different: declaration '' definition 'ctx'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/flip.c:1178:6: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/flip.c:1122:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/flip.c:1178:6: note: Shadow variable head sgt-puzzles-20250730.a7c7826/flip.c:1178:6: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/flip.c:1122:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/flip.c:1178:6: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/galaxies.c:3327:32: style: Local variable 'dot' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/galaxies.c:3253:17: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/galaxies.c:3327:32: note: Shadow variable head sgt-puzzles-20250730.a7c7826/galaxies.c:3327:32: style: Local variable 'dot' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/galaxies.c:3253:17: note: Shadowed variable sgt-puzzles-20250730.a7c7826/galaxies.c:3327:32: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/gtk.c:2015:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] head sgt-puzzles-20250730.a7c7826/gtk.c:2148:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] 2.20.0 sgt-puzzles-20250730.a7c7826/gtk.c:3166:16: style: Local variable 'len' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/gtk.c:3122:12: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/gtk.c:3166:16: note: Shadow variable head sgt-puzzles-20250730.a7c7826/gtk.c:3166:16: style: Local variable 'len' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/gtk.c:3122:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/gtk.c:3166:16: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/gtk.c:3507:9: style: Local variable 'fp' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/gtk.c:3473:8: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/gtk.c:3507:9: note: Shadow variable head sgt-puzzles-20250730.a7c7826/gtk.c:3507:9: style: Local variable 'fp' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/gtk.c:3473:8: note: Shadowed variable sgt-puzzles-20250730.a7c7826/gtk.c:3507:9: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/gtk.c:4291:33: style: Local variable 'err' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/gtk.c:4192:25: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/gtk.c:4291:33: note: Shadow variable head sgt-puzzles-20250730.a7c7826/gtk.c:4291:33: style: Local variable 'err' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/gtk.c:4192:25: note: Shadowed variable sgt-puzzles-20250730.a7c7826/gtk.c:4291:33: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/hat.c:769:58: style:inconclusive: Function 'maybe_report_hat' argument 6 names different: declaration '' definition 'cbctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/hat.c:860:57: style:inconclusive: Function 'hat_tiling_generate' argument 5 names different: declaration '' definition 'cbctx'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/inertia.c:1253:11: style: Local variable 'p' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:736:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/inertia.c:1253:11: note: Shadow variable head sgt-puzzles-20250730.a7c7826/inertia.c:1253:11: style: Local variable 'p' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:736:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/inertia.c:1253:11: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/inertia.c:1274:8: style: Local variable 'ni' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:1253:26: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/inertia.c:1274:8: note: Shadow variable head sgt-puzzles-20250730.a7c7826/inertia.c:1274:8: style: Local variable 'ni' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:1253:26: note: Shadowed variable sgt-puzzles-20250730.a7c7826/inertia.c:1274:8: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/inertia.c:1276:12: style: Local variable 'ti' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:1253:30: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/inertia.c:1276:12: note: Shadow variable head sgt-puzzles-20250730.a7c7826/inertia.c:1276:12: style: Local variable 'ti' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:1253:30: note: Shadowed variable sgt-puzzles-20250730.a7c7826/inertia.c:1276:12: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/inertia.c:1325:8: style: Local variable 'xy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:1242:7: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/inertia.c:1325:8: note: Shadow variable head sgt-puzzles-20250730.a7c7826/inertia.c:1325:8: style: Local variable 'xy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:1242:7: note: Shadowed variable sgt-puzzles-20250730.a7c7826/inertia.c:1325:8: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/inertia.c:253:40: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] 2.20.0 sgt-puzzles-20250730.a7c7826/inertia.c:372:10: style: Local variable 'dir' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:346:6: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/inertia.c:372:10: note: Shadow variable head sgt-puzzles-20250730.a7c7826/inertia.c:372:10: style: Local variable 'dir' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/inertia.c:346:6: note: Shadowed variable sgt-puzzles-20250730.a7c7826/inertia.c:372:10: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/inertia.c:695:45: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] 2.20.0 sgt-puzzles-20250730.a7c7826/keen.c:1074:7: style: Local variable 'p' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/keen.c:906:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/keen.c:1074:7: note: Shadow variable head sgt-puzzles-20250730.a7c7826/keen.c:1074:7: style: Local variable 'p' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/keen.c:906:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/keen.c:1074:7: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/keen.c:610:24: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] 2.20.0 sgt-puzzles-20250730.a7c7826/latin.c:1141:31: style: Local variable 'matching' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/matching.h:77:5: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/latin.c:1141:31: note: Shadow variable head sgt-puzzles-20250730.a7c7826/latin.c:1141:31: style: Local variable 'matching' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/matching.h:77:5: note: Shadowed function sgt-puzzles-20250730.a7c7826/latin.c:1141:31: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/latin.c:176:13: style: Local variable 'count' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/latin.c:161:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/latin.c:176:13: note: Shadow variable head sgt-puzzles-20250730.a7c7826/latin.c:176:13: style: Local variable 'count' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/latin.c:161:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/latin.c:176:13: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/lightup.c:1059:43: style:inconclusive: Function 'try_rule_out' argument 7 names different: declaration '' definition 'ctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/loopgen.c:217:47: style: Parameter 'board' can be declared as pointer to const [constParameterPointer] head sgt-puzzles-20250730.a7c7826/loopgen.c:303:50: style:inconclusive: Function 'generate_loop' argument 5 names different: declaration '' definition 'biasctx'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/loopgen.c:352:28: style: Local variable 'fs' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopgen.c:308:24: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/loopgen.c:352:28: note: Shadow variable head sgt-puzzles-20250730.a7c7826/loopgen.c:352:28: style: Local variable 'fs' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopgen.c:308:24: note: Shadowed variable sgt-puzzles-20250730.a7c7826/loopgen.c:352:28: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/loopgen.c:395:17: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopgen.c:305:12: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/loopgen.c:395:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/loopgen.c:395:17: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopgen.c:305:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/loopgen.c:395:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/loopgen.c:516:17: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopgen.c:305:12: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/loopgen.c:516:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/loopgen.c:516:17: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopgen.c:305:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/loopgen.c:516:17: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/loopgen.c:82:44: style: Parameter 'board' can be declared as pointer to const [constParameterPointer] head sgt-puzzles-20250730.a7c7826/loopy.c:2188:45: style:inconclusive: Function 'trivial_deductions' argument 1 names different: declaration '' definition 'sstate'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/loopy.c:2270:29: style: Local variable 'e' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopy.c:2252:31: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/loopy.c:2270:29: note: Shadow variable head sgt-puzzles-20250730.a7c7826/loopy.c:2270:29: style: Local variable 'e' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/loopy.c:2252:31: note: Shadowed variable sgt-puzzles-20250730.a7c7826/loopy.c:2270:29: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/loopy.c:2341:43: style:inconclusive: Function 'dline_deductions' argument 1 names different: declaration '' definition 'sstate'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/loopy.c:2668:45: style:inconclusive: Function 'linedsf_deductions' argument 1 names different: declaration '' definition 'sstate'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/loopy.c:2798:42: style:inconclusive: Function 'loop_deductions' argument 1 names different: declaration '' definition 'sstate'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/loopy.c:588:18: style: Local variable 'dup_params' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/loopy.c:521:21: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/loopy.c:588:18: note: Shadow variable head sgt-puzzles-20250730.a7c7826/loopy.c:588:18: style: Local variable 'dup_params' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/loopy.c:521:21: note: Shadowed function sgt-puzzles-20250730.a7c7826/loopy.c:588:18: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/magnets.c:1701:33: style: Variable 'rc.targets[NEUTRAL]' is assigned a value that is never used. [unreadVariable] 2.20.0 sgt-puzzles-20250730.a7c7826/magnets.c:2393:7: style: Local variable 'dx' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/magnets.c:808:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/magnets.c:2393:7: note: Shadow variable head sgt-puzzles-20250730.a7c7826/magnets.c:2393:7: style: Local variable 'dx' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/magnets.c:808:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/magnets.c:2393:7: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/magnets.c:2394:7: style: Local variable 'dy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/magnets.c:809:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/magnets.c:2394:7: note: Shadow variable head sgt-puzzles-20250730.a7c7826/magnets.c:2394:7: style: Local variable 'dy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/magnets.c:809:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/magnets.c:2394:7: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/map.c:2686:7: style: Local variable 'k' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/map.c:2628:12: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/map.c:2686:7: note: Shadow variable head sgt-puzzles-20250730.a7c7826/map.c:2686:7: style: Local variable 'k' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/map.c:2628:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/map.c:2686:7: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/map.c:441:17: style: Local variable 'index' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/map.c:424:45: note: Shadowed argument sgt-puzzles-20250730.a7c7826/map.c:441:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/map.c:441:17: style: Local variable 'index' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/map.c:424:45: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/map.c:441:17: note: Shadow variable 2.20.0 sgt-puzzles-20250730.a7c7826/map.c:561:13: style: Local variable 'k' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/map.c:516:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/map.c:561:13: note: Shadow variable head sgt-puzzles-20250730.a7c7826/map.c:561:13: style: Local variable 'k' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/map.c:516:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/map.c:561:13: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/matching.c:324:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] head sgt-puzzles-20250730.a7c7826/midend.c:1654:74: style:inconclusive: Function 'midend_request_id_changes' argument 3 names different: declaration '' definition 'ctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/midend.c:2150:29: style:inconclusive: Function 'midend_serialise' argument 3 names different: declaration '' definition 'wctx'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/midend.c:2220:13: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2152:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/midend.c:2220:13: note: Shadow variable head sgt-puzzles-20250730.a7c7826/midend.c:2220:13: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2152:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/midend.c:2220:13: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/midend.c:2327:68: style:inconclusive: Function 'midend_deserialise_internal' argument 3 names different: declaration '' definition 'rctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/midend.c:2328:19: style:inconclusive: Function 'midend_deserialise_internal' argument 4 names different: declaration '' definition 'check'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/midend.c:2329:11: style:inconclusive: Function 'midend_deserialise_internal' argument 5 names different: declaration '' definition 'cctx'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/midend.c:2443:21: style: Local variable 'len' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2357:13: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/midend.c:2443:21: note: Shadow variable head sgt-puzzles-20250730.a7c7826/midend.c:2443:21: style: Local variable 'len' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2357:13: note: Shadowed variable sgt-puzzles-20250730.a7c7826/midend.c:2443:21: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/midend.c:2464:21: style: Local variable 'len' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2357:13: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/midend.c:2464:21: note: Shadow variable head sgt-puzzles-20250730.a7c7826/midend.c:2464:21: style: Local variable 'len' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2357:13: note: Shadowed variable sgt-puzzles-20250730.a7c7826/midend.c:2464:21: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/midend.c:2721:13: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2334:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/midend.c:2721:13: note: Shadow variable head sgt-puzzles-20250730.a7c7826/midend.c:2721:13: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/midend.c:2334:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/midend.c:2721:13: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/midend.c:2735:68: style:inconclusive: Function 'midend_deserialise' argument 3 names different: declaration '' definition 'rctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/midend.c:2749:33: style:inconclusive: Function 'identify_game' argument 3 names different: declaration '' definition 'rctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/midend.c:2974:63: style:inconclusive: Function 'midend_serialise_prefs' argument 4 names different: declaration '' definition 'wctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/midend.c:3056:56: style:inconclusive: Function 'midend_deserialise_prefs' argument 4 names different: declaration '' definition 'rctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/midend.c:671:68: style:inconclusive: Function 'midend_load_prefs' argument 3 names different: declaration '' definition 'rctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/midend.c:679:30: style:inconclusive: Function 'midend_save_prefs' argument 3 names different: declaration '' definition 'wctx'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/mines.c:1215:18: style: Local variable 's' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/mines.c:725:14: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/mines.c:1215:18: note: Shadow variable head sgt-puzzles-20250730.a7c7826/mines.c:1215:18: style: Local variable 's' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/mines.c:725:14: note: Shadowed variable sgt-puzzles-20250730.a7c7826/mines.c:1215:18: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/mosaic.c:1317:51: warning: Either the condition 'sol_char<='9'' is redundant or there is signed integer overflow for expression '(sol_char-'a')+10'. [integerOverflowCond] sgt-puzzles-20250730.a7c7826/mosaic.c:1314:49: note: Assuming that condition 'sol_char<='9'' is not redundant sgt-puzzles-20250730.a7c7826/mosaic.c:1317:51: note: Integer overflow head sgt-puzzles-20250730.a7c7826/net.c:2801:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:60: note: Shadowed argument sgt-puzzles-20250730.a7c7826/net.c:2801:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/net.c:2801:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:60: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/net.c:2801:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/net.c:2801:20: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:67: note: Shadowed argument sgt-puzzles-20250730.a7c7826/net.c:2801:20: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/net.c:2801:20: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:67: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/net.c:2801:20: note: Shadow variable head sgt-puzzles-20250730.a7c7826/net.c:2875:23: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:60: note: Shadowed argument sgt-puzzles-20250730.a7c7826/net.c:2875:23: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/net.c:2875:23: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:60: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/net.c:2875:23: note: Shadow variable head sgt-puzzles-20250730.a7c7826/net.c:2875:26: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:67: note: Shadowed argument sgt-puzzles-20250730.a7c7826/net.c:2875:26: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/net.c:2875:26: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2704:67: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/net.c:2875:26: note: Shadow variable head sgt-puzzles-20250730.a7c7826/net.c:2975:17: style: Local variable 't' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2926:31: note: Shadowed argument sgt-puzzles-20250730.a7c7826/net.c:2975:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/net.c:2975:17: style: Local variable 't' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/net.c:2926:31: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/net.c:2975:17: note: Shadow variable 2.20.0 sgt-puzzles-20250730.a7c7826/palisade.c:1041:17: style: Local variable 'dx' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/palisade.c:267:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/palisade.c:1041:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/palisade.c:1041:17: style: Local variable 'dx' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/palisade.c:267:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/palisade.c:1041:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/palisade.c:1042:17: style: Local variable 'dy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/palisade.c:268:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/palisade.c:1042:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/palisade.c:1042:17: style: Local variable 'dy' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/palisade.c:268:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/palisade.c:1042:17: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/palisade.c:105:60: style: Argument 'string' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/palisade.c:34:14: note: Shadowed function sgt-puzzles-20250730.a7c7826/palisade.c:105:60: note: Shadow argument head sgt-puzzles-20250730.a7c7826/palisade.c:1343:71: style: Local variable 'dir' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/palisade.c:1312:29: note: Shadowed argument sgt-puzzles-20250730.a7c7826/palisade.c:1343:71: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/palisade.c:1343:71: style: Local variable 'dir' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/palisade.c:1312:29: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/palisade.c:1343:71: note: Shadow variable 2.20.0 sgt-puzzles-20250730.a7c7826/palisade.c:660:21: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/palisade.c:641:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/palisade.c:660:21: note: Shadow variable head sgt-puzzles-20250730.a7c7826/palisade.c:660:21: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/palisade.c:641:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/palisade.c:660:21: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/pattern.c:1401:21: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pattern.c:1297:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/pattern.c:1401:21: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/pattern.c:1401:21: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pattern.c:1297:40: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/pattern.c:1401:21: note: Shadow variable head sgt-puzzles-20250730.a7c7826/pattern.c:1401:6: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pattern.c:1297:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/pattern.c:1401:6: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/pattern.c:1401:6: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pattern.c:1297:33: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/pattern.c:1401:6: note: Shadow variable head sgt-puzzles-20250730.a7c7826/pearl.c:2656:33: style: Local variable 'dir' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pearl.c:2622:29: note: Shadowed argument sgt-puzzles-20250730.a7c7826/pearl.c:2656:33: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/pearl.c:2656:33: style: Local variable 'dir' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pearl.c:2622:29: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/pearl.c:2656:33: note: Shadow variable head sgt-puzzles-20250730.a7c7826/pearl.c:2656:38: style: Local variable 'oldstate' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pearl.c:2621:43: note: Shadowed argument sgt-puzzles-20250730.a7c7826/pearl.c:2656:38: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/pearl.c:2656:38: style: Local variable 'oldstate' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/pearl.c:2621:43: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/pearl.c:2656:38: note: Shadow variable 2.20.0 sgt-puzzles-20250730.a7c7826/pegs.c:376:20: style: Local variable 'm' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/pegs.c:352:16: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/pegs.c:376:20: note: Shadow variable head sgt-puzzles-20250730.a7c7826/pegs.c:376:20: style: Local variable 'm' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/pegs.c:352:16: note: Shadowed variable sgt-puzzles-20250730.a7c7826/pegs.c:376:20: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/pegs.c:435:27: style: Local variable 'm' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/pegs.c:420:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/pegs.c:435:27: note: Shadow variable head sgt-puzzles-20250730.a7c7826/pegs.c:435:27: style: Local variable 'm' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/pegs.c:420:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/pegs.c:435:27: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/penrose.c:701:57: style:inconclusive: Function 'penrosectx_generate' argument 3 names different: declaration '' definition 'inboundsctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/penrose.c:702:12: style:inconclusive: Function 'penrosectx_generate' argument 4 names different: declaration '' definition 'tile'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/penrose.c:702:63: style:inconclusive: Function 'penrosectx_generate' argument 5 names different: declaration '' definition 'tilectx'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/penrose.c:722:18: style: Local variable 'sibling_edge' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/penrose-internal.h:8:24: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/penrose.c:722:18: note: Shadow variable head sgt-puzzles-20250730.a7c7826/penrose.c:722:18: style: Local variable 'sibling_edge' shadows outer function [shadowFunction] sgt-puzzles-20250730.a7c7826/penrose-internal.h:8:24: note: Shadowed function sgt-puzzles-20250730.a7c7826/penrose.c:722:18: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/penrose.c:882:40: style:inconclusive: Function 'penrose_tiling_generate' argument 5 names different: declaration '' definition 'cbctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/range.c:1674:36: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1674:36: note: Shadow argument head sgt-puzzles-20250730.a7c7826/range.c:1706:52: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1706:52: note: Shadow argument head sgt-puzzles-20250730.a7c7826/range.c:1721:42: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1721:42: note: Shadow argument head sgt-puzzles-20250730.a7c7826/range.c:1741:34: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1741:34: note: Shadow argument 2.20.0 sgt-puzzles-20250730.a7c7826/range.c:1796:16: style: Local variable 'colour' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:1780:15: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/range.c:1796:16: note: Shadow variable head sgt-puzzles-20250730.a7c7826/range.c:1796:16: style: Local variable 'colour' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:1780:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1796:16: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/range.c:1820:33: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:1820:33: note: Shadow argument head sgt-puzzles-20250730.a7c7826/range.c:394:34: style: Argument 'dr' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:288:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:394:34: note: Shadow argument head sgt-puzzles-20250730.a7c7826/range.c:394:50: style: Argument 'dc' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:289:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:394:50: note: Shadow argument 2.20.0 sgt-puzzles-20250730.a7c7826/range.c:595:17: style: Local variable 'k' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:536:16: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/range.c:595:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/range.c:595:17: style: Local variable 'k' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:536:16: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:595:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/range.c:781:27: style: Local variable 'c' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:778:12: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/range.c:781:27: note: Shadow variable head sgt-puzzles-20250730.a7c7826/range.c:781:27: style: Local variable 'c' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:778:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:781:27: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/range.c:792:27: style: Local variable 'r' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:778:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/range.c:792:27: note: Shadow variable head sgt-puzzles-20250730.a7c7826/range.c:792:27: style: Local variable 'r' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/range.c:778:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/range.c:792:27: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/rect.c:1623:27: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:1155:36: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/rect.c:1623:27: note: Shadow variable head sgt-puzzles-20250730.a7c7826/rect.c:1623:27: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:1155:36: note: Shadowed variable sgt-puzzles-20250730.a7c7826/rect.c:1623:27: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/rect.c:1683:25: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:1155:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/rect.c:1683:25: note: Shadow variable head sgt-puzzles-20250730.a7c7826/rect.c:1683:25: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:1155:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/rect.c:1683:25: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/rect.c:1684:25: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:1155:12: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/rect.c:1684:25: note: Shadow variable head sgt-puzzles-20250730.a7c7826/rect.c:1684:25: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:1155:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/rect.c:1684:25: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/rect.c:2103:7: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:2061:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/rect.c:2103:7: note: Shadow variable head sgt-puzzles-20250730.a7c7826/rect.c:2103:7: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:2061:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/rect.c:2103:7: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/rect.c:2418:15: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:2395:20: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/rect.c:2418:15: note: Shadow variable head sgt-puzzles-20250730.a7c7826/rect.c:2418:15: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/rect.c:2395:20: note: Shadowed variable sgt-puzzles-20250730.a7c7826/rect.c:2418:15: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/rect.c:576:21: style: Local variable 'w' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/rect.c:338:28: note: Shadowed argument sgt-puzzles-20250730.a7c7826/rect.c:576:21: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/rect.c:576:21: style: Local variable 'w' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/rect.c:338:28: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/rect.c:576:21: note: Shadow variable head sgt-puzzles-20250730.a7c7826/rect.c:577:21: style: Local variable 'h' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/rect.c:338:35: note: Shadowed argument sgt-puzzles-20250730.a7c7826/rect.c:577:21: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/rect.c:577:21: style: Local variable 'h' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/rect.c:338:35: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/rect.c:577:21: note: Shadow variable 2.20.0 sgt-puzzles-20250730.a7c7826/samegame.c:509:29: style: Local variable 'pos' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/samegame.c:325:27: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/samegame.c:509:29: note: Shadow variable head sgt-puzzles-20250730.a7c7826/samegame.c:509:29: style: Local variable 'pos' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/samegame.c:325:27: note: Shadowed variable sgt-puzzles-20250730.a7c7826/samegame.c:509:29: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/samegame.c:673:26: style: Local variable 'ok' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/samegame.c:327:10: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/samegame.c:673:26: note: Shadow variable head sgt-puzzles-20250730.a7c7826/samegame.c:673:26: style: Local variable 'ok' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/samegame.c:327:10: note: Shadowed variable sgt-puzzles-20250730.a7c7826/samegame.c:673:26: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/signpost.c:293:54: style: Parameter 'copy' can be declared as pointer to const [constParameterPointer] 2.20.0 sgt-puzzles-20250730.a7c7826/signpost.c:995:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] sgt-puzzles-20250730.a7c7826/signpost.c:999:5: note: Found duplicate branches for 'if' and 'else'. sgt-puzzles-20250730.a7c7826/signpost.c:995:5: note: Found duplicate branches for 'if' and 'else'. 2.20.0 sgt-puzzles-20250730.a7c7826/sixteen.c:282:25: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/sixteen.c:205:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/sixteen.c:282:25: note: Shadow variable head sgt-puzzles-20250730.a7c7826/sixteen.c:282:25: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/sixteen.c:205:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/sixteen.c:282:25: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/sixteen.c:634:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/sixteen.c:634:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/sixteen.c:634:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:33: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/sixteen.c:634:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/sixteen.c:634:32: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/sixteen.c:634:32: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/sixteen.c:634:32: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:40: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/sixteen.c:634:32: note: Shadow variable head sgt-puzzles-20250730.a7c7826/sixteen.c:658:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/sixteen.c:658:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/sixteen.c:658:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:33: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/sixteen.c:658:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/sixteen.c:658:36: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/sixteen.c:658:36: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/sixteen.c:658:36: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/sixteen.c:618:40: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/sixteen.c:658:36: note: Shadow variable 2.20.0 sgt-puzzles-20250730.a7c7826/slant.c:1183:11: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/slant.c:1086:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/slant.c:1183:11: note: Shadow variable head sgt-puzzles-20250730.a7c7826/slant.c:1183:11: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/slant.c:1086:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/slant.c:1183:11: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/slant.c:1412:13: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/slant.c:1400:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/slant.c:1412:13: note: Shadow variable head sgt-puzzles-20250730.a7c7826/slant.c:1412:13: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/slant.c:1400:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/slant.c:1412:13: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/slant.c:1412:16: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/slant.c:1400:12: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/slant.c:1412:16: note: Shadow variable head sgt-puzzles-20250730.a7c7826/slant.c:1412:16: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/slant.c:1400:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/slant.c:1412:16: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/slant.c:1804:21: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/slant.c:1771:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/slant.c:1804:21: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/slant.c:1804:21: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/slant.c:1771:40: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/slant.c:1804:21: note: Shadow variable head sgt-puzzles-20250730.a7c7826/slant.c:1804:6: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/slant.c:1771:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/slant.c:1804:6: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/slant.c:1804:6: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/slant.c:1771:33: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/slant.c:1804:6: note: Shadow variable 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:1021:13: style: Local variable 'count' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1006:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:1021:13: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:1021:13: style: Local variable 'count' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1006:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:1021:13: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:1802:17: style: Local variable 'n' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:21: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:1802:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:1802:17: style: Local variable 'n' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:21: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:1802:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:1864:11: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:1864:11: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:1864:11: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:1864:11: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:2012:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:2012:7: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:2012:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:2012:7: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:2025:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:2025:7: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:2025:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:2025:7: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:2052:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:2052:7: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:2052:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:2052:7: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:2068:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:2068:7: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:2068:7: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:24: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:2068:7: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:2528:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:2528:10: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:2528:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:1718:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:2528:10: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/solo.c:3029:57: style: Parameter 'blocks' can be declared as pointer to const [constParameterPointer] head sgt-puzzles-20250730.a7c7826/solo.c:3271:75: style: Parameter 'blocks' can be declared as pointer to const [constParameterPointer] 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:3599:14: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3558:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:3599:14: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:3599:14: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3558:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:3599:14: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:3599:17: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3558:12: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:3599:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:3599:17: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3558:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:3599:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:3820:21: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3658:15: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:3820:21: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:3820:21: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3658:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:3820:21: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/solo.c:3821:21: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3658:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/solo.c:3821:21: note: Shadow variable head sgt-puzzles-20250730.a7c7826/solo.c:3821:21: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/solo.c:3658:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/solo.c:3821:21: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/sort.c:41:48: style:inconclusive: Function 'arraysort_fn' argument 5 names different: declaration '' definition 'ctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/spectre.c:436:32: style:inconclusive: Function 'spectrectx_generate' argument 3 names different: declaration '' definition 'cbctx'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/spectre.c:587:30: style:inconclusive: Function 'spectre_tiling_generate' argument 4 names different: declaration 'cb' definition 'external_cb'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/spectre.h:70:30: note: Function 'spectre_tiling_generate' argument 4 names different: declaration 'cb' definition 'external_cb'. sgt-puzzles-20250730.a7c7826/spectre.c:587:30: note: Function 'spectre_tiling_generate' argument 4 names different: declaration 'cb' definition 'external_cb'. head sgt-puzzles-20250730.a7c7826/spectre.c:587:49: style:inconclusive: Function 'spectre_tiling_generate' argument 5 names different: declaration '' definition 'external_cbctx'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/spectre.c:587:49: style:inconclusive: Function 'spectre_tiling_generate' argument 5 names different: declaration 'cbctx' definition 'external_cbctx'. [funcArgNamesDifferent] sgt-puzzles-20250730.a7c7826/spectre.h:70:40: note: Function 'spectre_tiling_generate' argument 5 names different: declaration 'cbctx' definition 'external_cbctx'. sgt-puzzles-20250730.a7c7826/spectre.c:587:49: note: Function 'spectre_tiling_generate' argument 5 names different: declaration 'cbctx' definition 'external_cbctx'. 2.20.0 sgt-puzzles-20250730.a7c7826/tents.c:1742:17: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/tents.c:1736:21: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/tents.c:1742:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/tents.c:1742:17: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/tents.c:1736:21: note: Shadowed variable sgt-puzzles-20250730.a7c7826/tents.c:1742:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/towers.c:1388:10: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/towers.c:1319:15: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/towers.c:1388:10: note: Shadow variable head sgt-puzzles-20250730.a7c7826/towers.c:1388:10: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/towers.c:1319:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/towers.c:1388:10: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/towers.c:1388:7: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/towers.c:1319:12: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/towers.c:1388:7: note: Shadow variable head sgt-puzzles-20250730.a7c7826/towers.c:1388:7: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/towers.c:1319:12: note: Shadowed variable sgt-puzzles-20250730.a7c7826/towers.c:1388:7: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/towers.c:1516:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/towers.c:1427:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/towers.c:1516:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/towers.c:1516:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/towers.c:1427:33: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/towers.c:1516:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/towers.c:1516:29: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/towers.c:1427:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/towers.c:1516:29: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/towers.c:1516:29: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/towers.c:1427:40: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/towers.c:1516:29: note: Shadow variable 2.20.0 sgt-puzzles-20250730.a7c7826/towers.c:1977:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/towers.c:1921:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/towers.c:1977:10: note: Shadow variable head sgt-puzzles-20250730.a7c7826/towers.c:1977:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/towers.c:1921:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/towers.c:1977:10: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/tree234.c:1394:58: style:inconclusive: Function 'split234' argument 4 names different: declaration '' definition 'rel'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/tree234.c:1435:58: style:inconclusive: Function 'copytree234' argument 3 names different: declaration '' definition 'copyfnstate'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/tree234.c:440:11: style:inconclusive: Function 'findrelpos234' argument 4 names different: declaration '' definition 'relation'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/tree234.c:440:26: style:inconclusive: Function 'findrelpos234' argument 5 names different: declaration '' definition 'index'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/tree234.c:546:57: style:inconclusive: Function 'findrel234' argument 4 names different: declaration '' definition 'relation'. [funcArgNamesDifferentUnnamed] head sgt-puzzles-20250730.a7c7826/tree234.c:549:58: style:inconclusive: Function 'findpos234' argument 4 names different: declaration '' definition 'index'. [funcArgNamesDifferentUnnamed] 2.20.0 sgt-puzzles-20250730.a7c7826/undead.c:1050:17: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/undead.c:1050:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/undead.c:1050:17: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/undead.c:1050:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/undead.c:1050:19: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:11: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/undead.c:1050:19: note: Shadow variable head sgt-puzzles-20250730.a7c7826/undead.c:1050:19: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:11: note: Shadowed variable sgt-puzzles-20250730.a7c7826/undead.c:1050:19: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/undead.c:1170:17: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/undead.c:1170:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/undead.c:1170:17: style: Local variable 'x' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/undead.c:1170:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/undead.c:1170:19: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:11: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/undead.c:1170:19: note: Shadow variable head sgt-puzzles-20250730.a7c7826/undead.c:1170:19: style: Local variable 'y' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:1002:11: note: Shadowed variable sgt-puzzles-20250730.a7c7826/undead.c:1170:19: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/undead.c:470:17: style: Local variable 'c' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:452:13: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/undead.c:470:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/undead.c:470:17: style: Local variable 'c' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/undead.c:452:13: note: Shadowed variable sgt-puzzles-20250730.a7c7826/undead.c:470:17: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/unequal.c:612:49: style: Parameter 'solver' can be declared as pointer to const [constParameterPointer] 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/group.c:1520:8: style: Local variable 'a' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1437:27: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/group.c:1520:8: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/group.c:1520:8: style: Local variable 'a' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1437:27: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:1520:8: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/unfinished/group.c:1700:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1558:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/unfinished/group.c:1700:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/group.c:1700:17: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1558:33: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/group.c:1700:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/group.c:1701:17: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1558:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/unfinished/group.c:1701:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/group.c:1701:17: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1558:40: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/group.c:1701:17: note: Shadow variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/group.c:1849:17: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1758:15: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/group.c:1849:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/group.c:1849:17: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1758:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:1849:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/group.c:1850:17: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1758:18: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/group.c:1850:17: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/group.c:1850:17: style: Local variable 'j' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:1758:18: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:1850:17: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/group.c:2204:21: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2136:15: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/group.c:2204:21: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/group.c:2204:21: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/group.c:2136:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/group.c:2204:21: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:1104:11: style: Variable 'pname' can be declared as pointer to const [constVariablePointer] 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:1160:13: style: Variable 'v' can be declared as pointer to const [constVariablePointer] 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:875:14: style: Local variable 'sn' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:841:17: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:875:14: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:875:14: style: Local variable 'sn' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:841:17: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:875:14: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:842:15: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:842:15: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:879:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:879:10: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:879:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:879:10: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:949:8: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:949:8: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:949:8: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:876:6: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/numgame.c:949:8: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/path.c:591:6: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/path.c:553:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/path.c:591:6: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/path.c:591:6: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/path.c:553:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/path.c:591:6: note: Shadow local variable head sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:10: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1244:33: note: Shadowed argument sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:10: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:10: style: Local variable 'x' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1244:33: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:10: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:23: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1244:40: note: Shadowed argument sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:23: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:23: style: Local variable 'y' shadows outer argument [shadowArgument] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1244:40: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/slide.c:1287:23: note: Shadow variable 2.20.0 sgt-puzzles-20250730.a7c7826/unfinished/slide.c:309:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:298:9: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/unfinished/slide.c:309:10: note: Shadow variable head sgt-puzzles-20250730.a7c7826/unfinished/slide.c:309:10: style: Local variable 'i' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/unfinished/slide.c:298:9: note: Shadowed variable sgt-puzzles-20250730.a7c7826/unfinished/slide.c:309:10: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/untangle.c:1014:6: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/untangle.c:998:20: note: Shadowed declaration sgt-puzzles-20250730.a7c7826/untangle.c:1014:6: note: Shadow variable head sgt-puzzles-20250730.a7c7826/untangle.c:1014:6: style: Local variable 'ret' shadows outer variable [shadowVariable] sgt-puzzles-20250730.a7c7826/untangle.c:998:20: note: Shadowed variable sgt-puzzles-20250730.a7c7826/untangle.c:1014:6: note: Shadow local variable 2.20.0 sgt-puzzles-20250730.a7c7826/windows.c:2856:36: style: The comparison 'fe->me != me' is always false because 'fe->me' and 'me' represent the same value. [knownConditionTrueFalse] sgt-puzzles-20250730.a7c7826/windows.c:2811:40: note: 'me' is assigned value 'fe->me' here. sgt-puzzles-20250730.a7c7826/windows.c:2856:36: note: The comparison 'fe->me != me' is always false because 'fe->me' and 'me' represent the same value. DONE