2025-11-22 14:51 ftp://ftp.de.debian.org/debian/pool/main/m/mah-jong/mah-jong_1.17.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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-88-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 687 686 elapsed-time: 18.9 21.1 head-timing-info: old-timing-info: head results: mj-1.17.2-src/client.c:27:33: style: Parameter 'address' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/controller.c:181:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:321:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:755:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_data [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:2457:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_state [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:2539:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:2610:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable completed_rounds [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:2857:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caller [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:3089:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable options [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:3156:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:3290:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:3492:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable completed_rounds [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:3835:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable histcount [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:3880:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable history [valueFlowBailoutIncompleteVar] mj-1.17.2-src/controller.c:283:24: warning: Either the condition 'j==4' is redundant or the array 'auth_info[4]' is accessed at index 4, which is out of bounds. [arrayIndexOutOfBoundsCond] mj-1.17.2-src/controller.c:284:14: note: Assuming that condition 'j==4' is not redundant mj-1.17.2-src/controller.c:283:24: note: Array index out of bounds mj-1.17.2-src/controller.c:283:24: style: Array index 'j' is used before limits check. [arrayIndexThenCheck] mj-1.17.2-src/controller.c:553:20: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] mj-1.17.2-src/controller.c:1156:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] mj-1.17.2-src/controller.c:3145:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] mj-1.17.2-src/controller.c:2624:8: style: The if condition is the same as the previous if condition [duplicateCondition] mj-1.17.2-src/controller.c:2621:8: note: First condition mj-1.17.2-src/controller.c:2624:8: note: Second condition mj-1.17.2-src/controller.c:2151:7: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'bool *'. [invalidScanfArgType_int] mj-1.17.2-src/controller.c:3185:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mj-1.17.2-src/controller.c:3240:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mj-1.17.2-src/controller.c:3307:7: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] mj-1.17.2-src/controller.c:3731:5: warning:inconclusive: Width 2 given in format string (no. 1) is smaller than destination buffer 'tn[5]'. [invalidScanfFormatWidth_smaller] mj-1.17.2-src/controller.c:1437:12: style: Variable 'pdlm.type' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/controller.c:1397:17: note: pdlm.type is assigned mj-1.17.2-src/controller.c:1437:12: note: pdlm.type is overwritten mj-1.17.2-src/controller.c:913:18: style: Local variable 'cm' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:770:27: note: Shadowed declaration mj-1.17.2-src/controller.c:913:18: note: Shadow variable mj-1.17.2-src/controller.c:981:10: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:775:11: note: Shadowed declaration mj-1.17.2-src/controller.c:981:10: note: Shadow variable mj-1.17.2-src/controller.c:999:10: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:775:11: note: Shadowed declaration mj-1.17.2-src/controller.c:999:10: note: Shadow variable mj-1.17.2-src/controller.c:1043:15: style: Local variable 'm' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:768:23: note: Shadowed declaration mj-1.17.2-src/controller.c:1043:15: note: Shadow variable mj-1.17.2-src/controller.c:1084:10: style: Local variable 'p' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:769:15: note: Shadowed declaration mj-1.17.2-src/controller.c:1084:10: note: Shadow variable mj-1.17.2-src/controller.c:1105:10: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:775:11: note: Shadowed declaration mj-1.17.2-src/controller.c:1105:10: note: Shadow variable mj-1.17.2-src/controller.c:1136:14: style: Local variable 'p' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:769:15: note: Shadowed declaration mj-1.17.2-src/controller.c:1136:14: note: Shadow variable mj-1.17.2-src/controller.c:1161:10: style: Local variable 'p' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:769:15: note: Shadowed declaration mj-1.17.2-src/controller.c:1161:10: note: Shadow variable mj-1.17.2-src/controller.c:3142:6: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:3116:7: note: Shadowed declaration mj-1.17.2-src/controller.c:3142:6: note: Shadow variable mj-1.17.2-src/controller.c:3180:9: style: Local variable 'j' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:3116:9: note: Shadowed declaration mj-1.17.2-src/controller.c:3180:9: note: Shadow variable mj-1.17.2-src/controller.c:3206:9: style: Local variable 'j' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:3116:9: note: Shadowed declaration mj-1.17.2-src/controller.c:3206:9: note: Shadow variable mj-1.17.2-src/controller.c:3474:10: style: Local variable 'buf' shadows outer variable [shadowVariable] mj-1.17.2-src/controller.c:3354:8: note: Shadowed declaration mj-1.17.2-src/controller.c:3474:10: note: Shadow variable mj-1.17.2-src/controller.c:180:25: style: Parameter 'pname' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/controller.c:180:37: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/controller.c:237:9: style: Variable 'address' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:238:9: style: Variable 'logfilename' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:631:25: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:743:24: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:1381:30: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:1467:23: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:1499:23: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:1537:20: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:1672:30: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:1740:30: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:1772:30: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:1804:20: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:1832:20: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:1936:23: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:1983:33: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:2019:25: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:2053:28: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:2118:24: style: Variable 'goe' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:2225:24: style: Variable 'goe' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:2248:31: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:2251:24: style: Variable 'goe' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:2274:29: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:2329:24: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:2503:29: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/controller.c:2511:32: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/controller.c:2519:30: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/controller.c:2526:37: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/controller.c:2628:22: style: Variable 'goe' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:3114:40: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/controller.c:3120:20: style: Variable 'goe' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:3140:13: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:3305:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/controller.c:3355:16: style: Variable 'seatnames' can be declared as const array [constVariable] mj-1.17.2-src/controller.c:3719:28: style: Parameter 'wfname' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/game.c:1139:7: style: The if condition is the same as the previous if condition [duplicateCondition] mj-1.17.2-src/game.c:1138:7: note: First condition mj-1.17.2-src/game.c:1139:7: note: Second condition mj-1.17.2-src/game.c:1504:7: style: The if condition is the same as the previous if condition [duplicateCondition] mj-1.17.2-src/game.c:1503:7: note: First condition mj-1.17.2-src/game.c:1504:7: note: Second condition mj-1.17.2-src/game.c:1865:7: warning:inconclusive: Width 2 given in format string (no. 1) is smaller than destination buffer 'tn[5]'. [invalidScanfFormatWidth_smaller] mj-1.17.2-src/game.c:472:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:471:7: note: affected_id is assigned mj-1.17.2-src/game.c:472:19: note: affected_id is overwritten mj-1.17.2-src/game.c:533:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:532:7: note: affected_id is assigned mj-1.17.2-src/game.c:533:19: note: affected_id is overwritten mj-1.17.2-src/game.c:633:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:632:7: note: affected_id is assigned mj-1.17.2-src/game.c:633:19: note: affected_id is overwritten mj-1.17.2-src/game.c:678:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:677:7: note: affected_id is assigned mj-1.17.2-src/game.c:678:19: note: affected_id is overwritten mj-1.17.2-src/game.c:764:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:763:7: note: affected_id is assigned mj-1.17.2-src/game.c:764:19: note: affected_id is overwritten mj-1.17.2-src/game.c:846:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:845:7: note: affected_id is assigned mj-1.17.2-src/game.c:846:19: note: affected_id is overwritten mj-1.17.2-src/game.c:883:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:882:7: note: affected_id is assigned mj-1.17.2-src/game.c:883:19: note: affected_id is overwritten mj-1.17.2-src/game.c:903:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:902:7: note: affected_id is assigned mj-1.17.2-src/game.c:903:19: note: affected_id is overwritten mj-1.17.2-src/game.c:934:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:933:7: note: affected_id is assigned mj-1.17.2-src/game.c:934:19: note: affected_id is overwritten mj-1.17.2-src/game.c:965:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:964:7: note: affected_id is assigned mj-1.17.2-src/game.c:965:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1001:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1000:7: note: affected_id is assigned mj-1.17.2-src/game.c:1001:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1067:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1066:7: note: affected_id is assigned mj-1.17.2-src/game.c:1067:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1117:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1116:7: note: affected_id is assigned mj-1.17.2-src/game.c:1117:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1184:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1183:7: note: affected_id is assigned mj-1.17.2-src/game.c:1184:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1248:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1247:7: note: affected_id is assigned mj-1.17.2-src/game.c:1248:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1279:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1278:7: note: affected_id is assigned mj-1.17.2-src/game.c:1279:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1399:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1398:7: note: affected_id is assigned mj-1.17.2-src/game.c:1399:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1449:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1448:7: note: affected_id is assigned mj-1.17.2-src/game.c:1449:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1487:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1486:7: note: affected_id is assigned mj-1.17.2-src/game.c:1487:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1542:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1541:7: note: affected_id is assigned mj-1.17.2-src/game.c:1542:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1580:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1579:7: note: affected_id is assigned mj-1.17.2-src/game.c:1580:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1618:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1617:7: note: affected_id is assigned mj-1.17.2-src/game.c:1618:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1654:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1653:7: note: affected_id is assigned mj-1.17.2-src/game.c:1654:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1713:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1712:7: note: affected_id is assigned mj-1.17.2-src/game.c:1713:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1755:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1754:7: note: affected_id is assigned mj-1.17.2-src/game.c:1755:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1788:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1787:7: note: affected_id is assigned mj-1.17.2-src/game.c:1788:19: note: affected_id is overwritten mj-1.17.2-src/game.c:1801:19: style: Variable 'affected_id' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/game.c:1800:7: note: affected_id is assigned mj-1.17.2-src/game.c:1801:19: note: affected_id is overwritten mj-1.17.2-src/game.c:143:46: style:inconclusive: Function 'game_clear_option_table' argument 1 names different: declaration 't' definition 'got'. [funcArgNamesDifferent] mj-1.17.2-src/game.h:301:46: note: Function 'game_clear_option_table' argument 1 names different: declaration 't' definition 'got'. mj-1.17.2-src/game.c:143:46: note: Function 'game_clear_option_table' argument 1 names different: declaration 't' definition 'got'. mj-1.17.2-src/game.c:308:40: style:inconclusive: Function 'game_handle_cmsg' argument 2 names different: declaration 'm' definition 'cm'. [funcArgNamesDifferent] mj-1.17.2-src/game.h:288:40: note: Function 'game_handle_cmsg' argument 2 names different: declaration 'm' definition 'cm'. mj-1.17.2-src/game.c:308:40: note: Function 'game_handle_cmsg' argument 2 names different: declaration 'm' definition 'cm'. mj-1.17.2-src/game.c:447:11: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/game.c:312:7: note: Shadowed declaration mj-1.17.2-src/game.c:447:11: note: Shadow variable mj-1.17.2-src/game.c:448:13: style: Local variable 's' shadows outer variable [shadowVariable] mj-1.17.2-src/game.c:311:9: note: Shadowed declaration mj-1.17.2-src/game.c:448:13: note: Shadow variable mj-1.17.2-src/game.c:469:11: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/game.c:312:7: note: Shadowed declaration mj-1.17.2-src/game.c:469:11: note: Shadow variable mj-1.17.2-src/game.c:539:10: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/game.c:312:7: note: Shadowed declaration mj-1.17.2-src/game.c:539:10: note: Shadow variable mj-1.17.2-src/game.c:1855:11: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/game.c:312:7: note: Shadowed declaration mj-1.17.2-src/game.c:1855:11: note: Shadow variable mj-1.17.2-src/game.c:2073:10: style: Local variable 't' shadows outer variable [shadowVariable] mj-1.17.2-src/game.c:2026:8: note: Shadowed declaration mj-1.17.2-src/game.c:2073:10: note: Shadow variable mj-1.17.2-src/game.c:2139:10: style: Local variable 'buf' shadows outer variable [shadowVariable] mj-1.17.2-src/game.c:2128:15: note: Shadowed declaration mj-1.17.2-src/game.c:2139:10: note: Shadow variable mj-1.17.2-src/game.c:43:29: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/game.c:154:68: style: Parameter 'oldt' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/game.c:199:96: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/game.c:244:67: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/game.c:329:28: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:341:22: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:388:20: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:438:24: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:446:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:468:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:486:23: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:529:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:629:32: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:675:37: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:760:30: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:843:33: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:880:32: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:900:32: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:931:32: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:962:32: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:998:35: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1064:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1181:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1245:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1276:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1396:30: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1446:37: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1539:37: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1577:37: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1615:40: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1651:32: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1710:30: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1785:24: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1798:25: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1807:26: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1842:29: style: Variable 'm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/game.c:1900:28: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/game.c:2146:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] mj-1.17.2-src/game.c:1089:25: error: Uninitialized variable: &cp [uninitvar] mj-1.17.2-src/game.c:1138:25: error: Uninitialized variable: &cp [uninitvar] mj-1.17.2-src/game.c:1222:25: error: Uninitialized variable: &cp [uninitvar] mj-1.17.2-src/game.c:1313:18: error: Uninitialized variable: &cp [uninitvar] mj-1.17.2-src/game.c:1367:25: error: Uninitialized variable: &cp [uninitvar] mj-1.17.2-src/game.c:1468:25: error: Uninitialized variable: &cp [uninitvar] mj-1.17.2-src/game.c:1503:25: error: Uninitialized variable: &cp [uninitvar] mj-1.17.2-src/game.c:1561:25: error: Uninitialized variable: &cp [uninitvar] mj-1.17.2-src/game.c:1599:25: error: Uninitialized variable: &cp [uninitvar] mj-1.17.2-src/game.c:1155:29: error: Uninitialized struct member: cp.num_concealed [uninitStructMember] mj-1.17.2-src/game.c:1520:29: error: Uninitialized struct member: cp.num_concealed [uninitStructMember] mj-1.17.2-src/game.c:2226:7: style: Variable 'tot' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/game.c:2231:9: style: Variable 'tot' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/greedy.c:138:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mj-1.17.2-src/greedy.c:153:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mj-1.17.2-src/greedy.c:1391:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] mj-1.17.2-src/greedy.c:1565:8: style: Condition 'dofast' is always false [knownConditionTrueFalse] mj-1.17.2-src/greedy.c:1557:12: note: Assignment 'dofast=0', assigned value is 0 mj-1.17.2-src/greedy.c:1565:8: note: Condition 'dofast' is always false mj-1.17.2-src/greedy.c:661:58: style:inconclusive: Function 'check_discard' argument 3 names different: declaration 'closed_kong' definition 'closedkong'. [funcArgNamesDifferent] mj-1.17.2-src/greedy.c:125:57: note: Function 'check_discard' argument 3 names different: declaration 'closed_kong' definition 'closedkong'. mj-1.17.2-src/greedy.c:661:58: note: Function 'check_discard' argument 3 names different: declaration 'closed_kong' definition 'closedkong'. mj-1.17.2-src/greedy.c:1428:64: style:inconclusive: Function 'decide_discard' argument 3 names different: declaration 'newstrat' definition 'strat'. [funcArgNamesDifferent] mj-1.17.2-src/greedy.c:126:64: note: Function 'decide_discard' argument 3 names different: declaration 'newstrat' definition 'strat'. mj-1.17.2-src/greedy.c:1428:64: note: Function 'decide_discard' argument 3 names different: declaration 'newstrat' definition 'strat'. mj-1.17.2-src/greedy.c:600:9: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/greedy.c:465:7: note: Shadowed declaration mj-1.17.2-src/greedy.c:600:9: note: Shadow variable mj-1.17.2-src/greedy.c:82:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/greedy.c:137:25: style: Parameter 'pname' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/greedy.c:137:37: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/greedy.c:534:14: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/greedy.c:611:14: error: Uninitialized variable: &pc [uninitvar] mj-1.17.2-src/greedy.c:608:14: note: Assuming condition is false mj-1.17.2-src/greedy.c:611:14: note: Uninitialized variable: &pc mj-1.17.2-src/greedy.c:705:19: error: Uninitialized variable: &pc [uninitvar] mj-1.17.2-src/greedy.c:725:17: error: Uninitialized variable: &pc [uninitvar] mj-1.17.2-src/greedy.c:747:17: error: Uninitialized variable: &pc [uninitvar] mj-1.17.2-src/greedy.c:1455:17: error: Uninitialized variable: &cp [uninitvar] mj-1.17.2-src/greedy.c:779:10: style: Variable 'bestval' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/gui-dial.c:303:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_HAS_FOCUS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:341:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:567:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:728:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_HAS_FOCUS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:751:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:804:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_HAS_FOCUS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:825:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:905:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:983:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1041:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1098:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1127:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1175:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1477:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_HAS_FOCUS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1500:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1564:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_HAS_FOCUS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1585:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1690:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1740:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1791:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1875:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:2059:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:2115:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:2231:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:2637:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:2764:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:2830:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:2864:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:2971:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:3032:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_FOCUS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:3306:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:3356:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:3405:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:3456:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:3753:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:3967:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:4022:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:4196:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:4249:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_MENU_BAR [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui-dial.c:1056:35: error: Array 'tilepixmaps[0]' accessed at index tilepixmaps[*][-1], which is out of bounds. [negativeIndex] mj-1.17.2-src/gui-dial.c:342:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:346:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:353:13: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:385:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:394:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:404:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:414:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:424:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:433:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:442:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:451:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:460:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:481:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:482:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:752:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:756:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:761:7: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:765:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:774:7: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:787:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:792:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:793:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:826:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:829:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:835:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:852:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:860:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:867:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:871:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:872:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:906:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:909:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:918:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:984:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:987:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:996:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1047:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:1051:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1177:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1181:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:1185:8: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1201:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1202:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1204:8: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1207:14: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1217:14: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1228:14: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1240:18: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1272:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1280:8: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1291:8: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1300:20: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] mj-1.17.2-src/gui-dial.c:1306:26: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:1314:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1325:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1326:37: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1349:25: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1376:22: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1384:8: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1390:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1394:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1398:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1501:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1504:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:1510:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1525:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1536:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1544:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1552:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1556:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1557:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1586:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1589:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:1595:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1609:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1618:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1626:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1634:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1642:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1646:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1647:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1691:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1699:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:1741:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1748:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:1792:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1800:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:1840:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1841:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1847:20: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:1876:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:1883:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:1912:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2060:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2064:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2072:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2084:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2116:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2120:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2128:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2136:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2232:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2236:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2240:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2248:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2310:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2334:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2342:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2362:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2370:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2396:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2409:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2426:11: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2434:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2441:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2446:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2464:11: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2472:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2479:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2484:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2502:11: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2508:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2515:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2520:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2535:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2554:8: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2561:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2566:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2765:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2769:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2796:8: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2803:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2808:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2865:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2869:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2904:8: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:2911:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2916:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2931:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:2935:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:2948:8: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3025:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:3028:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3034:7: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:3046:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3049:14: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3054:14: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3064:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3081:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3101:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3119:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3206:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:3245:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:3406:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:3413:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:3429:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3441:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:3447:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:3457:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:3464:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:3479:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3491:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:3749:21: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3754:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:3968:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:3973:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:4023:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:4028:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui-dial.c:4045:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:4050:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:4055:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui-dial.c:4072:22: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui-dial.c:3209:8: style: The if condition is the same as the previous if condition [duplicateCondition] mj-1.17.2-src/gui-dial.c:3198:8: note: First condition mj-1.17.2-src/gui-dial.c:3209:8: note: Second condition mj-1.17.2-src/gui-dial.c:321:10: style: Condition 'dd->widget' is always true [knownConditionTrueFalse] mj-1.17.2-src/gui-dial.c:559:8: style: Condition 'w' is always true [knownConditionTrueFalse] mj-1.17.2-src/gui-dial.c:1421:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] mj-1.17.2-src/gui-dial.c:482:110: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:793:96: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:872:92: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:1201:83: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:1202:83: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:1394:80: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:1398:80: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:1557:96: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:1647:102: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:1679:52: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:2446:83: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:2484:83: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:2520:82: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:2955:83: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:3674:56: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:3702:56: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:4045:84: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:4055:83: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui-dial.c:3926:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] mj-1.17.2-src/gui-dial.c:3930:5: note: Found duplicate branches for 'if' and 'else'. mj-1.17.2-src/gui-dial.c:3926:3: note: Found duplicate branches for 'if' and 'else'. mj-1.17.2-src/gui-dial.c:3531:25: style:inconclusive: Function 'do_chow' argument 1 names different: declaration 'w' definition 'widg'. [funcArgNamesDifferent] mj-1.17.2-src/gui.h:241:25: note: Function 'do_chow' argument 1 names different: declaration 'w' definition 'widg'. mj-1.17.2-src/gui-dial.c:3531:25: note: Function 'do_chow' argument 1 names different: declaration 'w' definition 'widg'. mj-1.17.2-src/gui-dial.c:599:7: style: Local variable 'calling' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.h:443:12: note: Shadowed declaration mj-1.17.2-src/gui-dial.c:599:7: note: Shadow variable mj-1.17.2-src/gui-dial.c:2422:16: style: Local variable 'box' shadows outer variable [shadowVariable] mj-1.17.2-src/gui-dial.c:2229:14: note: Shadowed declaration mj-1.17.2-src/gui-dial.c:2422:16: note: Shadow variable mj-1.17.2-src/gui-dial.c:2460:16: style: Local variable 'box' shadows outer variable [shadowVariable] mj-1.17.2-src/gui-dial.c:2229:14: note: Shadowed declaration mj-1.17.2-src/gui-dial.c:2460:16: note: Shadow variable mj-1.17.2-src/gui-dial.c:2498:16: style: Local variable 'box' shadows outer variable [shadowVariable] mj-1.17.2-src/gui-dial.c:2229:14: note: Shadowed declaration mj-1.17.2-src/gui-dial.c:2498:16: note: Shadow variable mj-1.17.2-src/gui-dial.c:566:50: style: Parameter 'eb' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/gui-dial.c:566:62: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/gui-dial.c:1133:14: style: Variable 'b' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui-dial.c:1157:29: style: Parameter 'idt' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/gui-dial.c:1157:40: style: Parameter 'nt' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/gui-dial.c:2188:61: style: Parameter 'data' can be declared as pointer to const. However it seems that 'mfontsel_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mj-1.17.2-src/gui-dial.c:2446:48: note: You might need to cast the function pointer here mj-1.17.2-src/gui-dial.c:2188:61: note: Parameter 'data' can be declared as pointer to const mj-1.17.2-src/gui-dial.c:2201:61: style: Parameter 'data' can be declared as pointer to const. However it seems that 'tfontsel_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mj-1.17.2-src/gui-dial.c:2484:48: note: You might need to cast the function pointer here mj-1.17.2-src/gui-dial.c:2201:61: note: Parameter 'data' can be declared as pointer to const mj-1.17.2-src/gui-dial.c:2214:60: style: Parameter 'data' can be declared as pointer to const. However it seems that 'tcolsel_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mj-1.17.2-src/gui-dial.c:2520:48: note: You might need to cast the function pointer here mj-1.17.2-src/gui-dial.c:2214:60: note: Parameter 'data' can be declared as pointer to const mj-1.17.2-src/gui-dial.c:3347:9: style: Variable 'vals' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui-dial.c:4010:16: style: Variable 'nagtxt' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui-dial.c:1414:26: style: Variable 'idt[0]' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/gui.c:139:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MAP [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:434:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:735:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:1849:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_FOCUS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:1999:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ENTER_NOTIFY [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:2040:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:2146:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_FOCUS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:2276:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:2549:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:2752:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_IMAGE_NORMAL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:2871:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_FOCUS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:3008:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_FOCUS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:3209:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:3437:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable orig_live_end [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:3475:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_FOCUS [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:3554:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:3641:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:3762:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:4269:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] mj-1.17.2-src/gui.c:2859:27: warning: Either the condition 'i==5' is redundant or the array 'animlist[5]' is accessed at index 5, which is out of bounds. [arrayIndexOutOfBoundsCond] mj-1.17.2-src/gui.c:2860:12: note: Assuming that condition 'i==5' is not redundant mj-1.17.2-src/gui.c:2859:27: note: Array index out of bounds mj-1.17.2-src/gui.c:4372:33: error: Array 'tilepixmaps[4]' accessed at index tilepixmaps[*][-1], which is out of bounds. [negativeIndex] mj-1.17.2-src/gui.c:4373:33: error: Array 'tilepixmaps[4]' accessed at index tilepixmaps[*][-1], which is out of bounds. [negativeIndex] mj-1.17.2-src/gui.c:4374:33: error: Array 'tilepixmaps[4]' accessed at index tilepixmaps[*][-1], which is out of bounds. [negativeIndex] mj-1.17.2-src/gui.c:4375:33: error: Array 'tilepixmaps[4]' accessed at index tilepixmaps[*][-1], which is out of bounds. [negativeIndex] mj-1.17.2-src/gui.c:4396:13: error: Array 'tilepixmaps[4]' accessed at index tilepixmaps[*][-1], which is out of bounds. [negativeIndex] mj-1.17.2-src/gui.c:4364:16: note: Assignment 'i=-1', assigned value is -1 mj-1.17.2-src/gui.c:4396:13: note: Negative array index mj-1.17.2-src/gui.c:4399:29: error: Array 'tilepixmaps[4]' accessed at index tilepixmaps[*][-1], which is out of bounds. [negativeIndex] mj-1.17.2-src/gui.c:4364:16: note: Assignment 'i=-1', assigned value is -1 mj-1.17.2-src/gui.c:4399:29: note: Negative array index mj-1.17.2-src/gui.c:4800:21: error: Array 'tilepixmaps[4]' accessed at index tilepixmaps[*][-1], which is out of bounds. [negativeIndex] mj-1.17.2-src/gui.c:4797:14: note: Assignment 'i=-1', assigned value is -1 mj-1.17.2-src/gui.c:4800:21: note: Negative array index mj-1.17.2-src/gui.c:2859:27: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] mj-1.17.2-src/gui.c:148:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] mj-1.17.2-src/gui.c:1789:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui.c:1791:9: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui.c:1798:17: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui.c:1800:17: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui.c:1815:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui.c:1817:11: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui.c:1827:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui.c:1829:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui.c:1862:7: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:1864:7: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:1873:7: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:1875:7: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:1877:7: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:1909:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui.c:1911:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui.c:1924:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui.c:1926:11: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui.c:1938:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui.c:1940:15: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui.c:2107:2: style: gtk_signal_connect_object_while_alive is deprecated and should not be used in newly-written code. Use g_signal_connect_object() instead, passing G_CONNECT_SWAPPED as connect_flags. [prohibitedgtk_signal_connect_object_while_aliveCalled] mj-1.17.2-src/gui.c:2110:2: style: gtk_signal_connect_object_while_alive is deprecated and should not be used in newly-written code. Use g_signal_connect_object() instead, passing G_CONNECT_SWAPPED as connect_flags. [prohibitedgtk_signal_connect_object_while_aliveCalled] mj-1.17.2-src/gui.c:2143:7: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:3207:36: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] mj-1.17.2-src/gui.c:3350:15: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] mj-1.17.2-src/gui.c:3586:13: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui.c:3600:28: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui.c:4271:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:4275:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:4277:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:4488:16: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui.c:4494:16: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui.c:4525:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] mj-1.17.2-src/gui.c:4534:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui.c:4562:13: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui.c:4572:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] mj-1.17.2-src/gui.c:4619:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:4621:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:4623:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:4625:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] mj-1.17.2-src/gui.c:1668:52: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mj-1.17.2-src/gui.c:2698:56: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] mj-1.17.2-src/gui.c:4194:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mj-1.17.2-src/gui.c:3902:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] mj-1.17.2-src/gui.c:3912:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] mj-1.17.2-src/gui.c:3921:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] mj-1.17.2-src/gui.c:2972:9: warning: Possible null pointer dereference: pd [nullPointer] mj-1.17.2-src/gui.c:2957:32: note: Assignment 'last_pd=NULL', assigned value is 0 mj-1.17.2-src/gui.c:2970:26: note: Assignment 'pd=last_pd', assigned value is 0 mj-1.17.2-src/gui.c:2972:9: note: Null pointer dereference mj-1.17.2-src/gui.c:3274:22: warning: If resource allocation fails, then there is a possible null pointer dereference: serverstream [nullPointerOutOfResources] mj-1.17.2-src/gui.c:3273:28: note: Assuming allocation function fails mj-1.17.2-src/gui.c:3273:28: note: Assignment 'serverstream=fdopen(fromserver,"r")', assigned value is 0 mj-1.17.2-src/gui.c:3274:22: note: Null pointer dereference mj-1.17.2-src/gui.c:806:23: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui.c:815:23: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui.c:4622:42: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui.c:4626:39: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/gui.c:2254:37: style: Variable 'cori' is assigned an expression that holds the same value. [redundantAssignment] mj-1.17.2-src/gui.c:2253:8: note: eori is assigned 'cori' here. mj-1.17.2-src/gui.c:2254:37: note: Variable 'cori' is assigned an expression that holds the same value. mj-1.17.2-src/gui.c:2310:37: style: Variable 'cori' is assigned an expression that holds the same value. [redundantAssignment] mj-1.17.2-src/gui.c:2308:8: note: eori is assigned 'cori' here. mj-1.17.2-src/gui.c:2310:37: note: Variable 'cori' is assigned an expression that holds the same value. mj-1.17.2-src/gui.c:2442:37: style: Variable 'cori' is assigned an expression that holds the same value. [redundantAssignment] mj-1.17.2-src/gui.c:2441:8: note: eori is assigned 'cori' here. mj-1.17.2-src/gui.c:2442:37: note: Variable 'cori' is assigned an expression that holds the same value. mj-1.17.2-src/gui.c:2998:3: style: Variable 'ori' is assigned an expression that holds the same value. [redundantAssignment] mj-1.17.2-src/gui.c:2972:7: note: ori is assigned 'pd->orientation' here. mj-1.17.2-src/gui.c:2980:10: note: Assuming condition is false mj-1.17.2-src/gui.c:2998:3: note: Variable 'ori' is assigned an expression that holds the same value. mj-1.17.2-src/gui.c:2999:3: style: Variable 'eori' is assigned an expression that holds the same value. [redundantAssignment] mj-1.17.2-src/gui.c:2998:7: note: ori is assigned 'pd->orientation' here. mj-1.17.2-src/gui.c:2999:3: note: Variable 'eori' is assigned an expression that holds the same value. mj-1.17.2-src/gui.c:724:47: style:inconclusive: Function 'server_input_callback' argument 2 names different: declaration 'source' definition 'sourceparam'. [funcArgNamesDifferent] mj-1.17.2-src/gui.c:48:55: note: Function 'server_input_callback' argument 2 names different: declaration 'source' definition 'sourceparam'. mj-1.17.2-src/gui.c:724:47: note: Function 'server_input_callback' argument 2 names different: declaration 'source' definition 'sourceparam'. mj-1.17.2-src/gui.c:725:25: style:inconclusive: Function 'server_input_callback' argument 3 names different: declaration 'condition' definition 'conditionparam'. [funcArgNamesDifferent] mj-1.17.2-src/gui.c:49:25: note: Function 'server_input_callback' argument 3 names different: declaration 'condition' definition 'conditionparam'. mj-1.17.2-src/gui.c:725:25: note: Function 'server_input_callback' argument 3 names different: declaration 'condition' definition 'conditionparam'. mj-1.17.2-src/gui.c:3174:62: style:inconclusive: Function 'open_connection' argument 3 names different: declaration 'fd' definition 'oldfd'. [funcArgNamesDifferent] mj-1.17.2-src/gui.h:258:62: note: Function 'open_connection' argument 3 names different: declaration 'fd' definition 'oldfd'. mj-1.17.2-src/gui.c:3174:62: note: Function 'open_connection' argument 3 names different: declaration 'fd' definition 'oldfd'. mj-1.17.2-src/gui.c:3358:27: style:inconclusive: Function 'close_connection' argument 1 names different: declaration 'keepconnection' definition 'keepalive'. [funcArgNamesDifferent] mj-1.17.2-src/gui.h:226:27: note: Function 'close_connection' argument 1 names different: declaration 'keepconnection' definition 'keepalive'. mj-1.17.2-src/gui.c:3358:27: note: Function 'close_connection' argument 1 names different: declaration 'keepconnection' definition 'keepalive'. mj-1.17.2-src/gui.c:4860:64: style:inconclusive: Function 'change_tile_selection' argument 2 names different: declaration 'data' definition 'right'. [funcArgNamesDifferent] mj-1.17.2-src/gui.c:46:57: note: Function 'change_tile_selection' argument 2 names different: declaration 'data' definition 'right'. mj-1.17.2-src/gui.c:4860:64: note: Function 'change_tile_selection' argument 2 names different: declaration 'data' definition 'right'. mj-1.17.2-src/gui.c:4874:61: style:inconclusive: Function 'move_selected_tile' argument 2 names different: declaration 'data' definition 'right'. [funcArgNamesDifferent] mj-1.17.2-src/gui.c:47:54: note: Function 'move_selected_tile' argument 2 names different: declaration 'data' definition 'right'. mj-1.17.2-src/gui.c:4874:61: note: Function 'move_selected_tile' argument 2 names different: declaration 'data' definition 'right'. mj-1.17.2-src/gui.c:812:9: style: Local variable 'id' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:728:7: note: Shadowed declaration mj-1.17.2-src/gui.c:812:9: note: Shadow variable mj-1.17.2-src/gui.c:952:6: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:729:7: note: Shadowed declaration mj-1.17.2-src/gui.c:952:6: note: Shadow variable mj-1.17.2-src/gui.c:1002:17: style: Local variable 'm' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:727:14: note: Shadowed declaration mj-1.17.2-src/gui.c:1002:17: note: Shadow variable mj-1.17.2-src/gui.c:1315:11: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:729:7: note: Shadowed declaration mj-1.17.2-src/gui.c:1315:11: note: Shadow variable mj-1.17.2-src/gui.c:1327:11: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:729:7: note: Shadowed declaration mj-1.17.2-src/gui.c:1327:11: note: Shadow variable mj-1.17.2-src/gui.c:1413:24: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:729:7: note: Shadowed declaration mj-1.17.2-src/gui.c:1413:24: note: Shadow variable mj-1.17.2-src/gui.c:1445:9: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:729:7: note: Shadowed declaration mj-1.17.2-src/gui.c:1445:9: note: Shadow variable mj-1.17.2-src/gui.c:1497:14: style: Local variable 'iter' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:1441:17: note: Shadowed declaration mj-1.17.2-src/gui.c:1497:14: note: Shadow variable mj-1.17.2-src/gui.c:2271:13: style: Local variable 't' shadows outer argument [shadowArgument] mj-1.17.2-src/gui.c:2246:60: note: Shadowed declaration mj-1.17.2-src/gui.c:2271:13: note: Shadow variable mj-1.17.2-src/gui.c:2636:14: style: Local variable 'pd' shadows outer argument [shadowArgument] mj-1.17.2-src/gui.c:2430:43: note: Shadowed declaration mj-1.17.2-src/gui.c:2636:14: note: Shadow variable mj-1.17.2-src/gui.c:2701:16: style: Local variable 't' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:2431:8: note: Shadowed declaration mj-1.17.2-src/gui.c:2701:16: note: Shadow variable mj-1.17.2-src/gui.c:3199:11: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:3176:7: note: Shadowed declaration mj-1.17.2-src/gui.c:3199:11: note: Shadow variable mj-1.17.2-src/gui.c:3993:8: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:3701:7: note: Shadowed declaration mj-1.17.2-src/gui.c:3993:8: note: Shadow variable mj-1.17.2-src/gui.c:4004:8: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:3701:7: note: Shadowed declaration mj-1.17.2-src/gui.c:4004:8: note: Shadow variable mj-1.17.2-src/gui.c:4298:10: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:4214:7: note: Shadowed declaration mj-1.17.2-src/gui.c:4298:10: note: Shadow variable mj-1.17.2-src/gui.c:4727:9: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:4214:7: note: Shadowed declaration mj-1.17.2-src/gui.c:4727:9: note: Shadow variable mj-1.17.2-src/gui.c:4740:9: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/gui.c:4214:7: note: Shadowed declaration mj-1.17.2-src/gui.c:4740:9: note: Shadow variable mj-1.17.2-src/gui.c:137:57: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'vis_callback' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mj-1.17.2-src/gui.c:4278:32: note: You might need to cast the function pointer here mj-1.17.2-src/gui.c:137:57: note: Parameter 'ev' can be declared as pointer to const mj-1.17.2-src/gui.c:378:62: style: Parameter 'new' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/gui.c:433:18: style: Parameter 'pname' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/gui.c:433:30: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/gui.c:1000:16: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui.c:1326:23: style: Variable 'wom' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui.c:1394:11: style: Variable 'text' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui.c:1477:26: style: Variable 'sm' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui.c:1709:44: style: Parameter 'w' can be declared as pointer to const. However it seems that 'drag_begin_callback' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mj-1.17.2-src/gui.c:1874:2: note: You might need to cast the function pointer here mj-1.17.2-src/gui.c:1709:44: note: Parameter 'w' can be declared as pointer to const mj-1.17.2-src/gui.c:1709:70: style: Parameter 'c' can be declared as pointer to const. However it seems that 'drag_begin_callback' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mj-1.17.2-src/gui.c:1874:2: note: You might need to cast the function pointer here mj-1.17.2-src/gui.c:1709:70: note: Parameter 'c' can be declared as pointer to const mj-1.17.2-src/gui.c:2608:11: style: Variable 'lab' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui.c:2852:39: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/gui.c:2965:15: style: Variable 'left' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui.c:2965:21: style: Variable 'right' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui.c:3174:75: style: Parameter 'newaddr' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/gui.c:3719:11: style: Variable 'hd' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui.c:4178:20: style: Variable 'goe' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/gui.c:4860:64: style: Parameter 'right' can be declared as pointer to const. However it seems that 'change_tile_selection' is a callback function, if 'right' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mj-1.17.2-src/gui.c:4622:20: note: You might need to cast the function pointer here mj-1.17.2-src/gui.c:4860:64: note: Parameter 'right' can be declared as pointer to const mj-1.17.2-src/gui.c:159:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/gui.c:3496:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/lazyfixed.c:53:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_FIXED [valueFlowBailoutIncompleteVar] mj-1.17.2-src/lazyfixed.c:70:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_FIXED [valueFlowBailoutIncompleteVar] mj-1.17.2-src/lazyfixed.c:60:39: style:inconclusive: Function 'lazy_fixed_class_init' argument 1 names different: declaration 'klass' definition 'class'. [funcArgNamesDifferent] mj-1.17.2-src/lazyfixed.c:26:57: note: Function 'lazy_fixed_class_init' argument 1 names different: declaration 'klass' definition 'class'. mj-1.17.2-src/lazyfixed.c:60:39: note: Function 'lazy_fixed_class_init' argument 1 names different: declaration 'klass' definition 'class'. mj-1.17.2-src/lazyfixed.c:77:40: style:inconclusive: Function 'lazy_fixed_init' argument 1 names different: declaration 'widget' definition 'w'. [funcArgNamesDifferent] mj-1.17.2-src/lazyfixed.c:27:50: note: Function 'lazy_fixed_init' argument 1 names different: declaration 'widget' definition 'w'. mj-1.17.2-src/lazyfixed.c:77:40: note: Function 'lazy_fixed_init' argument 1 names different: declaration 'widget' definition 'w'. mj-1.17.2-src/lazyfixed.c:77:40: style: Parameter 'w' can be declared as pointer to const. However it seems that 'lazy_fixed_init' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mj-1.17.2-src/lazyfixed.c:47:22: note: You might need to cast the function pointer here mj-1.17.2-src/lazyfixed.c:77:40: note: Parameter 'w' can be declared as pointer to const mj-1.17.2-src/malloc.c:3232:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] mj-1.17.2-src/malloc.c:3433:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] mj-1.17.2-src/malloc.c:3779:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] mj-1.17.2-src/malloc.c:3943:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] mj-1.17.2-src/malloc.c:4054:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] mj-1.17.2-src/malloc.c:4285:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] mj-1.17.2-src/malloc.c:4626:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] mj-1.17.2-src/malloc.c:4714:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mj-1.17.2-src/malloc.c:4138:5: error: Memory leak: newmem [memleak] mj-1.17.2-src/malloc.c:2980:19: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/malloc.c:3072:14: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/malloc.c:3079:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/malloc.c:3162:24: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/malloc.c:3196:24: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/malloc.c:3203:22: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/malloc.c:3338:22: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] mj-1.17.2-src/malloc.c:2870:19: style: Variable 'old_end' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/malloc.c:2876:19: style: Variable 'snd_brk' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/malloc.c:3306:9: style: Variable 'current_brk' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/malloc.c:3307:9: style: Variable 'new_brk' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/malloc.c:4010:20: style: Variable 's' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/malloc.c:4438:84: style: Parameter 'sizes' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/malloc.c:3395:3: warning: Expression '-2' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] mj-1.17.2-src/malloc.c:4024:3: warning: Expression '-2' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] mj-1.17.2-src/malloc.c:4241:3: warning: Expression '-2' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] mj-1.17.2-src/malloc.c:2420:20: style: struct member 'malloc_state::max_n_mmaps' is never used. [unusedStructMember] mj-1.17.2-src/malloc.c:2432:20: style: struct member 'malloc_state::max_mmapped_mem' is never used. [unusedStructMember] mj-1.17.2-src/malloc.c:3103:22: style: Variable 'front_misalign' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/malloc.c:3104:20: style: Variable 'end_misalign' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/player.c:165:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] mj-1.17.2-src/player.c:631:8: style: Condition '!add_tileset(p,tileinhand?ClosedChow:Chow,low)' is always false [knownConditionTrueFalse] mj-1.17.2-src/player.c:631:20: note: Calling function 'add_tileset' returns 1 mj-1.17.2-src/player.c:631:8: note: Condition '!add_tileset(p,tileinhand?ClosedChow:Chow,low)' is always false mj-1.17.2-src/player.c:34:29: style:inconclusive: Function 'copy_player' argument 1 names different: declaration 'newp' definition 'new'. [funcArgNamesDifferent] mj-1.17.2-src/player.h:208:29: note: Function 'copy_player' argument 1 names different: declaration 'newp' definition 'new'. mj-1.17.2-src/player.c:34:29: note: Function 'copy_player' argument 1 names different: declaration 'newp' definition 'new'. mj-1.17.2-src/player.c:34:47: style:inconclusive: Function 'copy_player' argument 2 names different: declaration 'oldp' definition 'old'. [funcArgNamesDifferent] mj-1.17.2-src/player.h:208:48: note: Function 'copy_player' argument 2 names different: declaration 'oldp' definition 'old'. mj-1.17.2-src/player.c:34:47: note: Function 'copy_player' argument 2 names different: declaration 'oldp' definition 'old'. mj-1.17.2-src/player.c:172:44: style:inconclusive: Function 'player_set_discard_hint' argument 2 names different: declaration 'n' definition 'h'. [funcArgNamesDifferent] mj-1.17.2-src/player.h:386:44: note: Function 'player_set_discard_hint' argument 2 names different: declaration 'n' definition 'h'. mj-1.17.2-src/player.c:172:44: note: Function 'player_set_discard_hint' argument 2 names different: declaration 'n' definition 'h'. mj-1.17.2-src/player.c:418:46: style:inconclusive: Function 'player_forms_closed_pair' argument 2 names different: declaration 'd' definition 't'. [funcArgNamesDifferent] mj-1.17.2-src/player.h:319:46: note: Function 'player_forms_closed_pair' argument 2 names different: declaration 'd' definition 't'. mj-1.17.2-src/player.c:418:46: note: Function 'player_forms_closed_pair' argument 2 names different: declaration 'd' definition 't'. mj-1.17.2-src/player.c:422:49: style:inconclusive: Function 'player_can_form_closed_pair' argument 2 names different: declaration 'd' definition 't'. [funcArgNamesDifferent] mj-1.17.2-src/player.h:321:49: note: Function 'player_can_form_closed_pair' argument 2 names different: declaration 'd' definition 't'. mj-1.17.2-src/player.c:422:49: note: Function 'player_can_form_closed_pair' argument 2 names different: declaration 'd' definition 't'. mj-1.17.2-src/player.c:1039:41: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/player.c:1084:9: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/player.c:1136:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] mj-1.17.2-src/player.c:1144:12: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] mj-1.17.2-src/player.c:1143:20: note: Assuming that condition 'i<32' is not redundant mj-1.17.2-src/player.c:1144:12: note: Shift mj-1.17.2-src/player.c:910:47: error: Uninitialized variable: ctiles[i] [legacyUninitvar] mj-1.17.2-src/protocol.c:280:54: style: Condition 'goe.value.optbool!=1' is always false [knownConditionTrueFalse] mj-1.17.2-src/protocol.c:280:28: note: Assuming that condition 'goe.value.optbool!=0' is not redundant mj-1.17.2-src/protocol.c:280:54: note: Condition 'goe.value.optbool!=1' is always false mj-1.17.2-src/protocol.c:250:8: warning:inconclusive: Width 15 given in format string (no. 1) is smaller than destination buffer 'tmp[100]'. [invalidScanfFormatWidth_smaller] mj-1.17.2-src/protocol.c:268:8: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'bool *'. [invalidScanfArgType_int] mj-1.17.2-src/protocol.c:276:10: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'bool *'. [invalidScanfArgType_int] mj-1.17.2-src/protocol.c:155:8: style: Variable 'type' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/protocol.c:151:8: note: type is assigned mj-1.17.2-src/protocol.c:155:8: note: type is overwritten mj-1.17.2-src/protocol.c:214:8: style: Variable 'type' is reassigned a value before the old one has been used. [redundantAssignment] mj-1.17.2-src/protocol.c:210:8: note: type is assigned mj-1.17.2-src/protocol.c:214:8: note: type is overwritten mj-1.17.2-src/protocol.c:311:68: style:inconclusive: Function 'protocol_print_GameOptionEntry' argument 1 names different: declaration 't' definition 'goe'. [funcArgNamesDifferent] mj-1.17.2-src/protocol.c:103:68: note: Function 'protocol_print_GameOptionEntry' argument 1 names different: declaration 't' definition 'goe'. mj-1.17.2-src/protocol.c:311:68: note: Function 'protocol_print_GameOptionEntry' argument 1 names different: declaration 't' definition 'goe'. mj-1.17.2-src/protocol.c:77:39: style: Parameter 's' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/protocol.c:137:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/protocol.c:175:28: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/protocol.c:199:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/protocol.c:115:17: style: Variable 'buf_size' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/protocol.c:116:7: style: Unused variable: badfield [unusedVariable] mj-1.17.2-src/protocol.c:155:8: style: Variable 'type' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/protocol.c:157:5: style: Variable 's' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/protocol.c:139:7: style: Unused variable: n [unusedVariable] mj-1.17.2-src/protocol.c:141:7: style: Unused variable: an_int [unusedVariable] mj-1.17.2-src/protocol.c:142:8: style: Unused variable: a_char [unusedVariable] mj-1.17.2-src/protocol.c:143:8: style: Unused variable: little_string [unusedVariable] mj-1.17.2-src/protocol.c:144:20: style: Unused variable: goe [unusedVariable] mj-1.17.2-src/protocol.c:177:17: style: Variable 'buf_size' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/protocol.c:178:7: style: Unused variable: badfield [unusedVariable] mj-1.17.2-src/protocol.c:214:8: style: Variable 'type' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/protocol.c:216:5: style: Variable 's' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/protocol.c:201:7: style: Unused variable: n [unusedVariable] mj-1.17.2-src/protocol.c:203:7: style: Unused variable: an_int [unusedVariable] mj-1.17.2-src/protocol.c:204:8: style: Unused variable: little_string [unusedVariable] mj-1.17.2-src/scoring.c:393:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] mj-1.17.2-src/scoring.c:595:8: style: The if condition is the same as the previous if condition [duplicateCondition] mj-1.17.2-src/scoring.c:573:8: note: First condition mj-1.17.2-src/scoring.c:595:8: note: Second condition mj-1.17.2-src/scoring.c:690:36: style: The if condition is the same as the previous if condition [duplicateCondition] mj-1.17.2-src/scoring.c:660:36: note: First condition mj-1.17.2-src/scoring.c:690:36: note: Second condition mj-1.17.2-src/scoring.c:362:10: style: Local variable 's' shadows outer argument [shadowArgument] mj-1.17.2-src/scoring.c:115:36: note: Shadowed declaration mj-1.17.2-src/scoring.c:362:10: note: Shadow variable mj-1.17.2-src/scoring.c:398:6: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/scoring.c:124:7: note: Shadowed declaration mj-1.17.2-src/scoring.c:398:6: note: Shadow variable mj-1.17.2-src/scoring.c:444:9: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/scoring.c:124:7: note: Shadowed declaration mj-1.17.2-src/scoring.c:444:9: note: Shadow variable mj-1.17.2-src/scoring.c:536:11: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/scoring.c:124:7: note: Shadowed declaration mj-1.17.2-src/scoring.c:536:11: note: Shadow variable mj-1.17.2-src/scoring.c:603:13: style: Local variable 's' shadows outer argument [shadowArgument] mj-1.17.2-src/scoring.c:115:36: note: Shadowed declaration mj-1.17.2-src/scoring.c:603:13: note: Shadow variable mj-1.17.2-src/scoring.c:669:6: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/scoring.c:124:7: note: Shadowed declaration mj-1.17.2-src/scoring.c:669:6: note: Shadow variable mj-1.17.2-src/scoring.c:673:8: style: Local variable 's' shadows outer argument [shadowArgument] mj-1.17.2-src/scoring.c:115:36: note: Shadowed declaration mj-1.17.2-src/scoring.c:673:8: note: Shadow variable mj-1.17.2-src/scoring.c:692:11: style: Local variable 'i' shadows outer variable [shadowVariable] mj-1.17.2-src/scoring.c:124:7: note: Shadowed declaration mj-1.17.2-src/scoring.c:692:11: note: Shadow variable mj-1.17.2-src/sysdep.c:117:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mj-1.17.2-src/sysdep.c:158:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] mj-1.17.2-src/sysdep.c:292:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] mj-1.17.2-src/sysdep.c:408:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] mj-1.17.2-src/sysdep.c:530:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mj-1.17.2-src/sysdep.c:660:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] mj-1.17.2-src/sysdep.c:686:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mj-1.17.2-src/sysdep.c:702:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] mj-1.17.2-src/sysdep.c:273:15: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] mj-1.17.2-src/sysdep.c:384:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] mj-1.17.2-src/sysdep.c:391:15: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] mj-1.17.2-src/sysdep.c:918:14: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] mj-1.17.2-src/sysdep.c:231:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] mj-1.17.2-src/sysdep.c:296:7: error: Resource leak: sfd [resourceLeak] mj-1.17.2-src/sysdep.c:307:7: error: Resource leak: sfd [resourceLeak] mj-1.17.2-src/sysdep.c:313:5: error: Resource leak: sfd [resourceLeak] mj-1.17.2-src/sysdep.c:618:5: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] mj-1.17.2-src/sysdep.c:706:20: style:inconclusive: Function 'rand_seed' argument 1 names different: declaration 'seed' definition 's'. [funcArgNamesDifferent] mj-1.17.2-src/sysdep.h:228:20: note: Function 'rand_seed' argument 1 names different: declaration 'seed' definition 's'. mj-1.17.2-src/sysdep.c:706:20: note: Function 'rand_seed' argument 1 names different: declaration 'seed' definition 's'. mj-1.17.2-src/sysdep.c:546:6: style: Local variable 'j' shadows outer variable [shadowVariable] mj-1.17.2-src/sysdep.c:500:16: note: Shadowed declaration mj-1.17.2-src/sysdep.c:546:6: note: Shadow variable mj-1.17.2-src/sysdep.c:77:39: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/sysdep.c:79:9: style: Variable 'note' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/sysdep.c:607:35: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/sysdep.c:649:31: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/sysdep.c:716:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/sysdep.c:262:38: error: Uninitialized variable: unaddr [uninitvar] mj-1.17.2-src/sysdep.c:380:50: error: Uninitialized variable: unaddr [uninitvar] mj-1.17.2-src/sysdep.c:622:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] mj-1.17.2-src/sysdep.c:126:33: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] mj-1.17.2-src/sysdep.c:135:41: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] mj-1.17.2-src/sysdep.c:141:42: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] mj-1.17.2-src/sysdep.c:147:39: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] mj-1.17.2-src/tiles.c:228:30: style:inconclusive: Function 'tile_decode' argument 1 names different: declaration 'c' definition 's'. [funcArgNamesDifferent] mj-1.17.2-src/tiles.h:160:30: note: Function 'tile_decode' argument 1 names different: declaration 'c' definition 's'. mj-1.17.2-src/tiles.c:228:30: note: Function 'tile_decode' argument 1 names different: declaration 'c' definition 's'. mj-1.17.2-src/vlazyfixed.c:54:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_FIXED [valueFlowBailoutIncompleteVar] mj-1.17.2-src/vlazyfixed.c:71:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_FIXED [valueFlowBailoutIncompleteVar] mj-1.17.2-src/vlazyfixed.c:150:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkFixedChild [valueFlowBailoutIncompleteVar] mj-1.17.2-src/vlazyfixed.c:61:40: style:inconclusive: Function 'vlazy_fixed_class_init' argument 1 names different: declaration 'klass' definition 'class'. [funcArgNamesDifferent] mj-1.17.2-src/vlazyfixed.c:25:58: note: Function 'vlazy_fixed_class_init' argument 1 names different: declaration 'klass' definition 'class'. mj-1.17.2-src/vlazyfixed.c:61:40: note: Function 'vlazy_fixed_class_init' argument 1 names different: declaration 'klass' definition 'class'. mj-1.17.2-src/vlazyfixed.c:79:42: style:inconclusive: Function 'vlazy_fixed_init' argument 1 names different: declaration 'widget' definition 'w'. [funcArgNamesDifferent] mj-1.17.2-src/vlazyfixed.c:26:52: note: Function 'vlazy_fixed_init' argument 1 names different: declaration 'widget' definition 'w'. mj-1.17.2-src/vlazyfixed.c:79:42: note: Function 'vlazy_fixed_init' argument 1 names different: declaration 'widget' definition 'w'. mj-1.17.2-src/vlazyfixed.c:137:36: style:inconclusive: Function 'vlazy_fixed_put' argument 1 names different: declaration 'fixed' definition 'vlfixed'. [funcArgNamesDifferent] mj-1.17.2-src/vlazyfixed.h:55:61: note: Function 'vlazy_fixed_put' argument 1 names different: declaration 'fixed' definition 'vlfixed'. mj-1.17.2-src/vlazyfixed.c:137:36: note: Function 'vlazy_fixed_put' argument 1 names different: declaration 'fixed' definition 'vlfixed'. mj-1.17.2-src/vlazyfixed.c:173:37: style:inconclusive: Function 'vlazy_fixed_move' argument 1 names different: declaration 'fixed' definition 'vlfixed'. [funcArgNamesDifferent] mj-1.17.2-src/vlazyfixed.h:59:61: note: Function 'vlazy_fixed_move' argument 1 names different: declaration 'fixed' definition 'vlfixed'. mj-1.17.2-src/vlazyfixed.c:173:37: note: Function 'vlazy_fixed_move' argument 1 names different: declaration 'fixed' definition 'vlfixed'. mj-1.17.2-src/vlazyfixed.c:79:42: style: Parameter 'w' can be declared as pointer to const. However it seems that 'vlazy_fixed_init' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mj-1.17.2-src/vlazyfixed.c:48:22: note: You might need to cast the function pointer here mj-1.17.2-src/vlazyfixed.c:79:42: note: Parameter 'w' can be declared as pointer to const mj-1.17.2-src/vlazyfixed.c:174:33: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] mj-1.17.2-src/vlazyfixed.c:179:13: style: Variable 'fixed' can be declared as pointer to const [constVariablePointer] mj-1.17.2-src/vlazyfixed.c:180:10: style: Variable 'children' can be declared as pointer to const [constVariablePointer] diff: head mj-1.17.2-src/gui.c:2998:3: style: Variable 'ori' is assigned an expression that holds the same value. [redundantAssignment] mj-1.17.2-src/gui.c:2972:7: note: ori is assigned 'pd->orientation' here. mj-1.17.2-src/gui.c:2980:10: note: Assuming condition is false mj-1.17.2-src/gui.c:2998:3: note: Variable 'ori' is assigned an expression that holds the same value. DONE