2025-07-14 00:39 ftp://ftp.de.debian.org/debian/pool/main/g/glhack/glhack_1.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --library=opengl --library=sdl --library=motif --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.12.33+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.17.0 head-info: 843f95e (2025-07-12 14:37:40 +0200) count: 2952 2921 elapsed-time: 15.9 17.0 head-timing-info: old-timing-info: head results: glhack-1.2/src/ball.c:17:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ox [valueFlowBailoutIncompleteVar] glhack-1.2/src/ball.c:101:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uchain [valueFlowBailoutIncompleteVar] glhack-1.2/src/ball.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswallow [valueFlowBailoutIncompleteVar] glhack-1.2/src/ball.c:154:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ox [valueFlowBailoutIncompleteVar] glhack-1.2/src/ball.c:176:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uball [valueFlowBailoutIncompleteVar] glhack-1.2/src/ball.c:235:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Blind [valueFlowBailoutIncompleteVar] glhack-1.2/src/ball.c:371:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ox [valueFlowBailoutIncompleteVar] glhack-1.2/src/ball.c:646:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Blind [valueFlowBailoutIncompleteVar] glhack-1.2/src/ball.c:730:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invent [valueFlowBailoutIncompleteVar] glhack-1.2/src/ball.c:761:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uball [valueFlowBailoutIncompleteVar] glhack-1.2/src/ball.c:653:15: style: Variable 't' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/bones.c:28:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dungeons [valueFlowBailoutIncompleteVar] glhack-1.2/src/bones.c:48:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ffruit [valueFlowBailoutIncompleteVar] glhack-1.2/src/bones.c:67:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CORPSE [valueFlowBailoutIncompleteVar] glhack-1.2/src/bones.c:128:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswapwep [valueFlowBailoutIncompleteVar] glhack-1.2/src/bones.c:166:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/bones.c:202:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/bones.c:381:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable discover [valueFlowBailoutIncompleteVar] glhack-1.2/src/bones.c:23:11: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/bones.c:199:19: style: Variable 'mptr' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/bones.c:409:29: error: Uninitialized variable: c [uninitvar] glhack-1.2/src/detect.c:52:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:90:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALL_CLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:151:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:168:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uinwater [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:300:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Confusion [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:405:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:596:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmon [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:650:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hallucination [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:687:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uinwater [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:751:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:796:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Blind [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:916:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Confusion [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:945:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uinwater [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:964:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uy [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:985:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MASK [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:1009:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:1056:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:1105:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswallow [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:1115:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswallow [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:1136:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_WIS [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:1175:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswallow [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:1281:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/detect.c:859:41: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/detect.c:85:25: style: Variable 'mtmp' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/display.c:173:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:219:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hero_memory [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:238:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hero_memory [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:257:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hero_memory [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:275:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ux [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:297:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hero_memory [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:366:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_AP_NOTHING [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:464:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNCOUNT [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:492:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:633:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:783:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sparkle [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:871:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISP_BEAM [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:935:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_stone [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:987:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1030:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswallow [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1069:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmon [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1091:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmon [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1113:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fobj [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1126:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ftrap [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1155:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ux [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1232:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLYPH_WARNING_OFF [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1311:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROWNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1330:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_stone [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1337:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MESSAGE [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1363:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROWNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1401:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1498:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_sw_tl [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1524:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_ZAP [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1543:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1603:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1632:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_T_LONG [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1651:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_W_TOP [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1686:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_C_INNER [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1710:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_X_TLBR [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1743:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1888:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TUWALL [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:1935:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MASK [valueFlowBailoutIncompleteVar] glhack-1.2/src/display.c:188:11: style: Condition '1||show' is always true [knownConditionTrueFalse] glhack-1.2/src/display.c:221:11: style: Condition '1||show' is always true [knownConditionTrueFalse] glhack-1.2/src/display.c:240:11: style: Condition '1||show' is always true [knownConditionTrueFalse] glhack-1.2/src/display.c:1277:11: style: Condition '1||gbuf[y][x].glyph!=glyph' is always true [knownConditionTrueFalse] glhack-1.2/src/display.c:366:35: warning: Either the condition 'mon' is redundant or there is possible null pointer dereference: mon. [nullPointerRedundantCheck] glhack-1.2/src/display.c:620:3: note: Assuming that condition 'mon' is not redundant glhack-1.2/src/display.c:618:24: note: Calling function 'display_monster', 3rd argument 'mon' value is 0 glhack-1.2/src/display.c:366:35: note: Null pointer dereference glhack-1.2/src/display.c:1945:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] glhack-1.2/src/display.c:2034:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] glhack-1.2/src/display.c:2037:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] glhack-1.2/src/display.c:2052:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] glhack-1.2/src/display.c:2055:51: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] glhack-1.2/src/display.c:2079:6: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] glhack-1.2/src/display.c:2082:6: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] glhack-1.2/src/display.c:2085:6: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] glhack-1.2/src/display.c:2088:6: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] glhack-1.2/src/display.c:2155:23: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] glhack-1.2/src/display.c:2157:23: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] glhack-1.2/src/dokick.c:34:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACURRSTR [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:125:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:302:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mons [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:354:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHOPBASE [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:410:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:601:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doname [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:628:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:1124:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:1171:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIGR_NEAR_PLAYER [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:1286:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIGR_NOWHERE [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:1397:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable migrating_objs [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:1437:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:1468:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/dokick.c:495:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/dokick.c:1209:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/dokick.c:1329:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/dokick.c:771:20: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] glhack-1.2/src/dokick.c:738:20: style: Variable 'mdat' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/dokick.c:1281:15: style: Variable 't' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/dokick.c:1464:15: style: Variable 'ttmp' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/dothrow.c:50:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COIN_CLASS [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:203:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable multi [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:228:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uquiver [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:293:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:340:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:466:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Passes_walls [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:609:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Punished [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:663:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MZ_HUGE [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:686:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ushops [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:731:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uy [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:835:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:846:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:867:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Confusion [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:1117:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MZ_MEDIUM [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:1161:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_AP_MONSTER [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:1185:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ustuck [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:1419:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:1524:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Blind [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:1541:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Blind [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:1560:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POTION_CLASS [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:1630:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:1657:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POTION_CLASS [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:1701:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dx [valueFlowBailoutIncompleteVar] glhack-1.2/src/dothrow.c:1010:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/dothrow.c:466:37: style: Redundant initialization for 'may_pass'. The initialized value is overwritten before it is read. [redundantInitialization] glhack-1.2/src/dothrow.c:454:22: note: may_pass is initialized glhack-1.2/src/dothrow.c:466:37: note: may_pass is overwritten glhack-1.2/src/dothrow.c:1265:11: style: Variable 'obj' is assigned a value that is never used. [unreadVariable] glhack-1.2/src/drawing.c:623:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXOCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/src/drawing.c:637:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXMCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/src/drawing.c:651:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sym [valueFlowBailoutIncompleteVar] glhack-1.2/src/drawing.c:661:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPCHARS [valueFlowBailoutIncompleteVar] glhack-1.2/src/drawing.c:650:39: warning: Possible null pointer dereference: graph_chars [nullPointer] glhack-1.2/src/drawing.c:661:22: note: Calling function 'assign_graphics', 1st argument '(uchar*)0' value is 0 glhack-1.2/src/drawing.c:650:39: note: Null pointer dereference glhack-1.2/src/drawing.c:651:10: warning: Possible null pointer dereference: graph_chars [nullPointer] glhack-1.2/src/drawing.c:661:22: note: Calling function 'assign_graphics', 1st argument '(uchar*)0' value is 0 glhack-1.2/src/drawing.c:651:10: note: Null pointer dereference glhack-1.2/src/end.c:310:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] glhack-1.2/src/exper.c:23:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Role_switch [valueFlowBailoutIncompleteVar] glhack-1.2/src/exper.c:55:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORMAL_SPEED [valueFlowBailoutIncompleteVar] glhack-1.2/src/exper.c:102:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uexp [valueFlowBailoutIncompleteVar] glhack-1.2/src/exper.c:126:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable youmonst [valueFlowBailoutIncompleteVar] glhack-1.2/src/exper.c:176:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulevel [valueFlowBailoutIncompleteVar] glhack-1.2/src/exper.c:188:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uhpmax [valueFlowBailoutIncompleteVar] glhack-1.2/src/exper.c:229:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulevel [valueFlowBailoutIncompleteVar] glhack-1.2/src/files.c:2176:0: error: #error "Where to write config file for this platform ??" [preprocessorErrorDirective] glhack-1.2/src/files.c:2176:4: error: #error "Where to write config file for this platform ??" [preprocessorErrorDirective] glhack-1.2/src/fountain.c:28:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvitals [valueFlowBailoutIncompleteVar] glhack-1.2/src/fountain.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvitals [valueFlowBailoutIncompleteVar] glhack-1.2/src/fountain.c:73:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvitals [valueFlowBailoutIncompleteVar] glhack-1.2/src/fountain.c:95:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uy [valueFlowBailoutIncompleteVar] glhack-1.2/src/fountain.c:112:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uy [valueFlowBailoutIncompleteVar] glhack-1.2/src/fountain.c:139:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Blind [valueFlowBailoutIncompleteVar] glhack-1.2/src/fountain.c:153:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/fountain.c:198:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/fountain.c:354:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Levitation [valueFlowBailoutIncompleteVar] glhack-1.2/src/fountain.c:96:6: style: Condition '!madepool' is always true [knownConditionTrueFalse] glhack-1.2/src/fountain.c:93:17: note: Assignment 'madepool=0', assigned value is 0 glhack-1.2/src/fountain.c:96:6: note: Condition '!madepool' is always true glhack-1.2/src/lock.c:12:14: style: struct member 'xlock_s::door' is never used. [unusedStructMember] glhack-1.2/src/lock.c:13:14: style: struct member 'xlock_s::box' is never used. [unusedStructMember] glhack-1.2/src/lock.c:14:6: style: struct member 'xlock_s::picktyp' is never used. [unusedStructMember] glhack-1.2/src/lock.c:14:15: style: struct member 'xlock_s::chance' is never used. [unusedStructMember] glhack-1.2/src/lock.c:14:23: style: struct member 'xlock_s::usedtime' is never used. [unusedStructMember] glhack-1.2/src/mapglyph.c:80:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLYPH_WARNING_OFF [valueFlowBailoutIncompleteVar] glhack-1.2/src/mapglyph.c:159:24: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] glhack-1.2/src/mapglyph.c:179:24: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] glhack-1.2/src/minion.c:14:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NON_PM [valueFlowBailoutIncompleteVar] glhack-1.2/src/minion.c:99:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_AIR_ELEMENTAL [valueFlowBailoutIncompleteVar] glhack-1.2/src/minion.c:147:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uwep [valueFlowBailoutIncompleteVar] glhack-1.2/src/minion.c:210:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/minion.c:257:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_DEMOGORGON [valueFlowBailoutIncompleteVar] glhack-1.2/src/minion.c:272:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_YEENOGHU [valueFlowBailoutIncompleteVar] glhack-1.2/src/minion.c:284:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvitals [valueFlowBailoutIncompleteVar] glhack-1.2/src/minion.c:297:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_ANGEL [valueFlowBailoutIncompleteVar] glhack-1.2/src/minion.c:313:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_DEMON [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:96:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:113:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mkroom [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:134:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:199:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rooms [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:217:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subrooms [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:233:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nroom [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:258:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rooms [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:326:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nroom [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:361:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doorindex [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:377:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHOPBASE [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:445:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:471:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doorindex [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:515:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nroom [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:534:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELEP_TRAP [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:545:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_stone [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:613:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlevel [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:849:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:926:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_mklev [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:957:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rooms [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1021:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nroom [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1052:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rooms [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1085:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1124:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1149:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1158:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doorindex [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1171:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1192:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRAPNUM [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1286:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1323:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1360:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OROOM [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1386:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OROOM [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1429:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1478:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:1560:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable knox_level [valueFlowBailoutIncompleteVar] glhack-1.2/src/mklev.c:843:11: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/mkmap.c:33:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:62:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:113:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:137:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:170:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:255:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:278:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:348:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:381:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nroom [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:408:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rooms [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:450:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmap.c:379:20: style: Variable 'croom' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/mkmap.c:439:12: style: Parameter 'init_lev' can be declared as pointer to const. However it seems that 'mkmap' is a callback function, if 'init_lev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/mkmap.c:21:12: note: You might need to cast the function pointer here glhack-1.2/src/mkmap.c:439:12: note: Parameter 'init_lev' can be declared as pointer to const glhack-1.2/src/mkmaze.c:35:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:49:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:59:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:142:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:204:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_maze_max [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:213:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_maze_max [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:231:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:253:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LR_BRANCH [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:300:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAGIC_PORTAL [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:344:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uinwater [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:501:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:716:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:766:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_maze_max [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:815:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:889:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAGIC_PORTAL [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:941:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_water [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:1063:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Swimming [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:1096:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:1121:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:1155:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:1179:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ftrap [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:1189:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_water [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:1255:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bubble [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:1342:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/mkmaze.c:480:31: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/mkmaze.c:813:6: style: Local variable 'xmin' shadows outer variable [shadowVariable] glhack-1.2/src/mkmaze.c:922:12: note: Shadowed declaration glhack-1.2/src/mkmaze.c:813:6: note: Shadow variable glhack-1.2/src/mkmaze.c:813:11: style: Local variable 'xmax' shadows outer variable [shadowVariable] glhack-1.2/src/mkmaze.c:922:24: note: Shadowed declaration glhack-1.2/src/mkmaze.c:813:11: note: Shadow variable glhack-1.2/src/mkmaze.c:813:16: style: Local variable 'ymin' shadows outer variable [shadowVariable] glhack-1.2/src/mkmaze.c:922:18: note: Shadowed declaration glhack-1.2/src/mkmaze.c:813:16: note: Shadow variable glhack-1.2/src/mkmaze.c:813:21: style: Local variable 'ymax' shadows outer variable [shadowVariable] glhack-1.2/src/mkmaze.c:922:30: note: Shadowed declaration glhack-1.2/src/mkmaze.c:813:21: note: Shadow variable glhack-1.2/src/mkmaze.c:83:9: style: Parameter 'locale' can be declared as const array. However it seems that 'extend_spine' is a callback function, if 'locale' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/mkmaze.c:17:22: note: You might need to cast the function pointer here glhack-1.2/src/mkmaze.c:83:9: note: Parameter 'locale' can be declared as const array glhack-1.2/src/mkmaze.c:134:15: style: Variable 'spine_array' can be declared as const array [constVariable] glhack-1.2/src/mkmaze.c:365:12: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/mkmaze.c:1150:22: style: Variable 'lev' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/mkmaze.c:1124:26: error: Uninitialized variable: n [uninitvar] glhack-1.2/src/mkmaze.c:1119:6: style: Variable 'n' is not assigned a value. [unassignedVariable] glhack-1.2/src/mkobj.c:24:10: style: struct member 'icp::iprob' is never used. [unusedStructMember] glhack-1.2/src/mkobj.c:25:10: style: struct member 'icp::iclass' is never used. [unusedStructMember] glhack-1.2/src/mplayer.c:51:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmon [valueFlowBailoutIncompleteVar] glhack-1.2/src/mplayer.c:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRANGE_OBJECT [valueFlowBailoutIncompleteVar] glhack-1.2/src/mplayer.c:118:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_NSIZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/mplayer.c:301:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_ARCHEOLOGIST [valueFlowBailoutIncompleteVar] glhack-1.2/src/mplayer.c:335:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mons [valueFlowBailoutIncompleteVar] glhack-1.2/src/mplayer.c:320:24: style: Parameter 'mtmp' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/muse.c:66:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POTION_CLASS [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable soundok [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:172:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:212:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doname [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:259:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ustuck [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:566:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable soundok [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:908:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_EXPL [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:970:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Reflecting [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:1105:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable youmonst [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:1274:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POTION_CLASS [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:1524:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_EXPL [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:1575:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ustuck [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:1684:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable W_ARM [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:1700:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:1896:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MAP [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:1915:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_EXPL [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:1953:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mons [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:2031:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable W_ARMS [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:2071:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EReflecting [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:2114:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POT_ACID [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:2130:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CORPSE [valueFlowBailoutIncompleteVar] glhack-1.2/src/muse.c:256:23: style: Local variable 'obj' shadows outer variable [shadowVariable] glhack-1.2/src/muse.c:1180:13: note: Shadowed declaration glhack-1.2/src/muse.c:256:23: note: Shadow variable glhack-1.2/src/muse.c:968:23: style: Local variable 'obj' shadows outer variable [shadowVariable] glhack-1.2/src/muse.c:1180:13: note: Shadowed declaration glhack-1.2/src/muse.c:968:23: note: Shadow variable glhack-1.2/src/muse.c:1569:23: style: Local variable 'obj' shadows outer variable [shadowVariable] glhack-1.2/src/muse.c:1180:13: note: Shadowed declaration glhack-1.2/src/muse.c:1569:23: note: Shadow variable glhack-1.2/src/muse.c:1819:19: style: Local variable 'obj' shadows outer variable [shadowVariable] glhack-1.2/src/muse.c:1180:13: note: Shadowed declaration glhack-1.2/src/muse.c:1819:19: note: Shadow variable glhack-1.2/src/muse.c:2107:14: style: Local variable 'obj' shadows outer variable [shadowVariable] glhack-1.2/src/muse.c:1180:13: note: Shadowed declaration glhack-1.2/src/muse.c:2107:14: note: Shadow variable glhack-1.2/src/muse.c:257:15: style: Variable 't' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/muse.c:736:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/muse.c:1572:15: style: Variable 't' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/muse.c:2031:14: style: Variable 'orefl' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/music.c:64:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmon [valueFlowBailoutIncompleteVar] glhack-1.2/src/music.c:92:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmon [valueFlowBailoutIncompleteVar] glhack-1.2/src/music.c:112:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmon [valueFlowBailoutIncompleteVar] glhack-1.2/src/music.c:146:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmon [valueFlowBailoutIncompleteVar] glhack-1.2/src/music.c:168:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmon [valueFlowBailoutIncompleteVar] glhack-1.2/src/music.c:194:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswallow [valueFlowBailoutIncompleteVar] glhack-1.2/src/music.c:225:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ux [valueFlowBailoutIncompleteVar] glhack-1.2/src/music.c:356:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Confusion [valueFlowBailoutIncompleteVar] glhack-1.2/src/music.c:479:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bases [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:81:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:124:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXOCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:184:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXOCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:235:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEED_BOOTS [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:246:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:257:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bases [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:286:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bases [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:306:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:330:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:355:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:372:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXOCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/src/o_init.c:395:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/o_init.c:291:29: error: Uninitialized variable: len [uninitvar] glhack-1.2/src/objects.c:7:30: style: struct member 'monst::dummy' is never used. [unusedStructMember] glhack-1.2/src/objnam.c:20:6: style: struct member 'Jitem::item' is never used. [unusedStructMember] glhack-1.2/src/objnam.c:21:14: style: struct member 'Jitem::name' is never used. [unusedStructMember] glhack-1.2/src/objnam.c:1487:14: style: struct member 'o_range::name' is never used. [unusedStructMember] glhack-1.2/src/objnam.c:1487:20: style: struct member 'o_range::oclass' is never used. [unusedStructMember] glhack-1.2/src/objnam.c:1488:7: style: struct member 'o_range::f_o_range' is never used. [unusedStructMember] glhack-1.2/src/objnam.c:1488:18: style: struct member 'o_range::l_o_range' is never used. [unusedStructMember] glhack-1.2/src/options.c:486:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:504:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_booldup [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:709:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable configfile [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:729:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable configfile [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:791:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:830:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPCHARS [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:850:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPCHARS [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:871:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNCOUNT [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:880:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:915:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_booldup [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:953:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_booldup [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:998:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:2291:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXOCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:2352:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:2386:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:2553:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:2905:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXOCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3164:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3309:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3361:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3398:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_FSIZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3503:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3627:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SET_IN_FILE [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3660:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SET_IN_FILE [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3678:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_name [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3691:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_name [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3716:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SET_IN_FILE [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3734:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_name [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3747:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_name [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3766:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_font_map [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:3800:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/options.c:458:22: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:459:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:654:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:658:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:665:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:668:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:671:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:743:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:744:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:795:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:806:4: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:806:38: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:815:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:994:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:1711:9: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:1792:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:1805:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:2326:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:3536:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/options.c:3426:13: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] glhack-1.2/src/options.c:3424:9: note: c is assigned glhack-1.2/src/options.c:3426:13: note: c is overwritten glhack-1.2/src/options.c:1850:39: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] glhack-1.2/src/options.c:738:7: style: Parameter 'opts' can be declared as pointer to const. However it seems that 'string_for_opt' is a callback function, if 'opts' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/options.c:423:24: note: You might need to cast the function pointer here glhack-1.2/src/options.c:738:7: note: Parameter 'opts' can be declared as pointer to const glhack-1.2/src/options.c:868:17: style: Parameter 'graph_chars' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/options.c:1782:22: style: Variable 'dop' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/options.c:1783:16: style: Variable 'valid_settings' can be declared as const array [constVariable] glhack-1.2/src/options.c:2286:11: style: Parameter 'src' can be declared as pointer to const. However it seems that 'oc_to_str' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/options.c:427:23: note: You might need to cast the function pointer here glhack-1.2/src/options.c:2286:11: note: Parameter 'src' can be declared as pointer to const glhack-1.2/src/options.c:2326:11: style: Variable 'found' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/options.c:206:6: style: struct member 'Comp_Opt::size' is never used. [unusedStructMember] glhack-1.2/src/options.c:1552:16: style: Variable 'op' is assigned a value that is never used. [unreadVariable] glhack-1.2/src/pager.c:28:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_sw_tl [valueFlowBailoutIncompleteVar] glhack-1.2/src/pager.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/pager.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ux [valueFlowBailoutIncompleteVar] glhack-1.2/src/pager.c:308:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/pager.c:461:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/pager.c:769:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ux [valueFlowBailoutIncompleteVar] glhack-1.2/src/pager.c:800:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/pager.c:842:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/pager.c:889:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MENU [valueFlowBailoutIncompleteVar] glhack-1.2/src/pager.c:936:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HELP [valueFlowBailoutIncompleteVar] glhack-1.2/src/pager.c:960:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HISTORY [valueFlowBailoutIncompleteVar] glhack-1.2/src/pager.c:391:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pager.c:435:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pager.c:436:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pager.c:815:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pager.c:717:7: style: Condition '*firstmatch' is always true [knownConditionTrueFalse] glhack-1.2/src/pager.c:380:13: warning: %lx in format string (no. 1) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] glhack-1.2/src/pager.c:303:11: style: Parameter 'inp' can be declared as pointer to const. However it seems that 'checkfile' is a callback function, if 'inp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/pager.c:14:23: note: You might need to cast the function pointer here glhack-1.2/src/pager.c:303:11: note: Parameter 'inp' can be declared as pointer to const glhack-1.2/src/pager.c:304:22: style: Parameter 'pm' can be declared as pointer to const. However it seems that 'checkfile' is a callback function, if 'pm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/pager.c:14:23: note: You might need to cast the function pointer here glhack-1.2/src/pager.c:304:22: note: Parameter 'pm' can be declared as pointer to const glhack-1.2/src/pager.c:228:21: style: Variable 'ways_seen' is assigned a value that is never used. [unreadVariable] glhack-1.2/src/pickup.c:79:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MENU [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:162:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:263:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:286:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uchain [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:311:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uchain [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:327:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_PRIEST [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:368:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable W_ARMOR [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:399:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswallow [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:635:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pickup_types [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:806:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNPAID_TYPES [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:956:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inv_order [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:985:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COIN_CLASS [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1149:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOULDER [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1221:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QBUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1245:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uy [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1377:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uball [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1407:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNENCUMBERED [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1452:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1479:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1515:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1728:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswallow [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1745:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAN_CANCELLATION [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1774:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:1931:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COIN_CLASS [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:2016:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Blind [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:2031:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEARDATA [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:2081:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXOCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:2308:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:2382:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/pickup.c:223:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:328:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:329:3: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:331:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:334:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:337:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:340:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:369:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:548:37: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:642:22: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:654:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:1391:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/pickup.c:421:14: style: Redundant condition: u.utrap. '!u.utrap || (u.utrap && u.utraptype!=TT_PIT)' is equivalent to '!u.utrap || u.utraptype!=TT_PIT' [redundantCondition] glhack-1.2/src/pickup.c:1090:15: style: Variable 'obj->quan' is reassigned a value before the old one has been used. [redundantAssignment] glhack-1.2/src/pickup.c:1045:13: note: obj->quan is assigned glhack-1.2/src/pickup.c:1090:15: note: obj->quan is overwritten glhack-1.2/src/pickup.c:167:6: style: Local variable 'itemcount' shadows outer variable [shadowVariable] glhack-1.2/src/pickup.c:97:6: note: Shadowed declaration glhack-1.2/src/pickup.c:167:6: note: Shadow variable glhack-1.2/src/pickup.c:389:13: style: Local variable 'pick_list' shadows outer variable [shadowVariable] glhack-1.2/src/pickup.c:689:13: note: Shadowed declaration glhack-1.2/src/pickup.c:389:13: note: Shadow variable glhack-1.2/src/pickup.c:1754:14: style: Local variable 'otmp' shadows outer variable [shadowVariable] glhack-1.2/src/pickup.c:94:22: note: Shadowed declaration glhack-1.2/src/pickup.c:1754:14: note: Shadow variable glhack-1.2/src/pickup.c:1930:23: style: Local variable 'otmp' shadows outer variable [shadowVariable] glhack-1.2/src/pickup.c:94:22: note: Shadowed declaration glhack-1.2/src/pickup.c:1930:23: note: Shadow variable glhack-1.2/src/pickup.c:2075:21: style: Local variable 'otmp' shadows outer variable [shadowVariable] glhack-1.2/src/pickup.c:94:22: note: Shadowed declaration glhack-1.2/src/pickup.c:2075:21: note: Shadow variable glhack-1.2/src/pickup.c:2310:17: style: Local variable 'otmp' shadows outer variable [shadowVariable] glhack-1.2/src/pickup.c:94:22: note: Shadowed declaration glhack-1.2/src/pickup.c:2310:17: note: Shadow variable glhack-1.2/src/pickup.c:2311:16: style: Local variable 'pick_list' shadows outer variable [shadowVariable] glhack-1.2/src/pickup.c:689:13: note: Shadowed declaration glhack-1.2/src/pickup.c:2311:16: note: Shadow variable glhack-1.2/src/pickup.c:2381:16: style: Local variable 'pick_list' shadows outer variable [shadowVariable] glhack-1.2/src/pickup.c:689:13: note: Shadowed declaration glhack-1.2/src/pickup.c:2381:16: note: Shadow variable glhack-1.2/src/pickup.c:188:34: style: Variable 'p' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/pickup.c:284:13: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'n_or_more' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/pickup.c:474:30: note: You might need to cast the function pointer here glhack-1.2/src/pickup.c:284:13: note: Parameter 'obj' can be declared as pointer to const glhack-1.2/src/pickup.c:309:13: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'all_but_uchain' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/pickup.c:481:26: note: You might need to cast the function pointer here glhack-1.2/src/pickup.c:309:13: note: Parameter 'obj' can be declared as pointer to const glhack-1.2/src/pickup.c:318:13: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'allow_all' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/pickup.c:2348:23: note: You might need to cast the function pointer here glhack-1.2/src/pickup.c:318:13: note: Parameter 'obj' can be declared as pointer to const glhack-1.2/src/pickup.c:365:22: style: Parameter 'otmp' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/pickup.c:400:16: style: Variable 'ttmp' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/pickup.c:951:8: style: Variable 'pack' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/pickup.c:1681:15: style: Parameter 'mtmp' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/pickup.c:1683:10: style: Parameter 'prev_loot' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/pickup.c:1920:13: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'ck_bag' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/pickup.c:2278:23: note: You might need to cast the function pointer here glhack-1.2/src/pickup.c:1920:13: note: Parameter 'obj' can be declared as pointer to const glhack-1.2/src/pickup.c:175:43: error: Uninitialized variable: itemcount [uninitvar] glhack-1.2/src/pickup.c:184:18: style: Variable 'ilets[iletct]' is assigned a value that is never used. [unreadVariable] glhack-1.2/src/pickup.c:1685:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] glhack-1.2/src/pickup.c:1685:9: style: Variable 'c' is assigned a value that is never used. [unreadVariable] glhack-1.2/src/pray.c:138:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Stoned [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:211:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HVY_ENCUMBER [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:270:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEARDATA [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:468:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswallow [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:545:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable killer_format [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:557:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Inhell [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:623:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Blind [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:795:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable record [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1037:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Blind [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1087:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1098:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hallucination [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1125:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1511:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1557:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prayconfirm [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1601:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uinvulnerable [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1656:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_PRIEST [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1749:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uy [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1756:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1764:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1775:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lgod [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1794:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hallucination [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1816:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lgod [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1829:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:1850:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/pray.c:122:14: style: Variable 'otmp' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/quest.c:30:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_start [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:42:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_locate [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:52:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable killed_nemesis [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qcompleted [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:78:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable killed_nemesis [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:87:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable touched_artifact [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:98:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable got_quest [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:105:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulevel [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:113:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ualignbase [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:153:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dnum [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:182:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amulet [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:209:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable questart [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:278:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pissed_off [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:295:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QT_DISCOURAGE [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:302:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_battle [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:319:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable questart [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:329:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mons [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:351:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable leader_m_id [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:367:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable leader_m_id [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:382:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MS_NEMESIS [valueFlowBailoutIncompleteVar] glhack-1.2/src/quest.c:191:16: style: Variable 'otmp' is assigned a value that is never used. [unreadVariable] glhack-1.2/src/questpgr.c:78:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qtmsg [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:94:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_HDR [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:154:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable questarti [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:166:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldrnum [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:177:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable intermed [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:184:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable questarti [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:190:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable neminum [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:201:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable guardnum [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:209:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable homebase [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:233:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plname [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:291:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:402:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MENU [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:419:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:431:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enemy1num [valueFlowBailoutIncompleteVar] glhack-1.2/src/questpgr.c:182:13: style: Parameter 'otmp' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/questpgr.c:360:15: style: Parameter 'qt_msg' can be declared as pointer to const. However it seems that 'deliver_by_pline' is a callback function, if 'qt_msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/questpgr.c:25:23: note: You might need to cast the function pointer here glhack-1.2/src/questpgr.c:360:15: note: Parameter 'qt_msg' can be declared as pointer to const glhack-1.2/src/questpgr.c:374:15: style: Parameter 'qt_msg' can be declared as pointer to const. However it seems that 'deliver_by_window' is a callback function, if 'qt_msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/questpgr.c:26:23: note: You might need to cast the function pointer here glhack-1.2/src/questpgr.c:374:15: note: Parameter 'qt_msg' can be declared as pointer to const glhack-1.2/src/rect.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lx [valueFlowBailoutIncompleteVar] glhack-1.2/src/rect.c:172:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROWNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/rect.c:44:9: style: Parameter 'r' can be declared as pointer to const. However it seems that 'get_rect_ind' is a callback function, if 'r' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/rect.c:7:11: note: You might need to cast the function pointer here glhack-1.2/src/rect.c:44:9: note: Parameter 'r' can be declared as pointer to const glhack-1.2/src/rect.c:65:9: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/region.c:93:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NhRegion [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:147:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NhRect [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:180:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MONST_INC [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:310:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monsters [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:381:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ttl [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:428:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attach_2_u [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:480:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attach_2_m [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:523:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attach_2_u [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:598:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ttl [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:624:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:675:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:908:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:974:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_mklev [valueFlowBailoutIncompleteVar] glhack-1.2/src/region.c:58:9: style: Parameter 'r' can be declared as pointer to const. However it seems that 'inside_rect' is a callback function, if 'r' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/region.c:22:15: note: You might need to cast the function pointer here glhack-1.2/src/region.c:58:9: note: Parameter 'r' can be declared as pointer to const glhack-1.2/src/region.c:143:9: style: Parameter 'rect' can be declared as pointer to const. However it seems that 'add_rect_to_reg' is a callback function, if 'rect' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/region.c:25:12: note: You might need to cast the function pointer here glhack-1.2/src/region.c:143:9: note: Parameter 'rect' can be declared as pointer to const glhack-1.2/src/region.c:173:15: style: Parameter 'mon' can be declared as pointer to const. However it seems that 'add_mon_to_reg' is a callback function, if 'mon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/region.c:26:12: note: You might need to cast the function pointer here glhack-1.2/src/region.c:173:15: note: Parameter 'mon' can be declared as pointer to const glhack-1.2/src/region.c:198:15: style: Parameter 'mon' can be declared as pointer to const. However it seems that 'remove_mon_from_reg' is a callback function, if 'mon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/region.c:27:12: note: You might need to cast the function pointer here glhack-1.2/src/region.c:198:15: note: Parameter 'mon' can be declared as pointer to const glhack-1.2/src/region.c:217:11: style: Parameter 'reg' can be declared as pointer to const. However it seems that 'mon_in_region' is a callback function, if 'reg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/region.c:28:15: note: You might need to cast the function pointer here glhack-1.2/src/region.c:217:11: note: Parameter 'reg' can be declared as pointer to const glhack-1.2/src/region.c:218:15: style: Parameter 'mon' can be declared as pointer to const. However it seems that 'mon_in_region' is a callback function, if 'mon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/region.c:28:15: note: You might need to cast the function pointer here glhack-1.2/src/region.c:218:15: note: Parameter 'mon' can be declared as pointer to const glhack-1.2/src/region.c:675:31: error: Uninitialized variable: tmstamp [uninitvar] glhack-1.2/src/restore.c:359:25: debug: Function::addArguments found argument 'steedid' with varid 0. [varid0] glhack-1.2/src/restore.c:75:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:107:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invent [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:134:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sp_levchn [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:158:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:203:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:255:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:362:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable discover [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:464:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmon [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:490:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:559:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MESSAGE [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:691:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable killer [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:723:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:978:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fobj [valueFlowBailoutIncompleteVar] glhack-1.2/src/restore.c:720:6: style: The if condition is the same as the previous if condition [duplicateCondition] glhack-1.2/src/restore.c:711:6: note: First condition glhack-1.2/src/restore.c:720:6: note: Second condition glhack-1.2/src/restore.c:571:11: style: Condition 'rtmp<2' is always false [knownConditionTrueFalse] glhack-1.2/src/restore.c:570:22: note: Calling function 'restlevelfile' returns 2 glhack-1.2/src/restore.c:570:22: note: Assignment 'rtmp=restlevelfile(fd,ledger_no(&u.uz))', assigned value is 2 glhack-1.2/src/restore.c:571:11: note: Condition 'rtmp<2' is always false glhack-1.2/src/restore.c:626:12: style: Condition 'rtmp<2' is always false [knownConditionTrueFalse] glhack-1.2/src/restore.c:625:23: note: Calling function 'restlevelfile' returns 2 glhack-1.2/src/restore.c:625:23: note: Assignment 'rtmp=restlevelfile(fd,ltmp)', assigned value is 2 glhack-1.2/src/restore.c:626:12: note: Condition 'rtmp<2' is always false glhack-1.2/src/restore.c:135:28: error: Uninitialized variable: cnt [uninitvar] glhack-1.2/src/restore.c:158:28: error: Uninitialized variable: counter [uninitvar] glhack-1.2/src/restore.c:203:29: error: Uninitialized variable: xl [uninitvar] glhack-1.2/src/restore.c:255:27: error: Uninitialized variable: monbegin [uninitvar] glhack-1.2/src/restore.c:259:29: error: Uninitialized variable: xl [uninitvar] glhack-1.2/src/restore.c:366:28: error: Uninitialized variable: uid [uninitvar] glhack-1.2/src/restore.c:610:31: error: Uninitialized variable: ltmp [uninitvar] glhack-1.2/src/restore.c:723:28: error: Uninitialized variable: hpid [uninitvar] glhack-1.2/src/restore.c:729:28: error: Uninitialized variable: dlvl [uninitvar] glhack-1.2/src/restore.c:986:35: error: Uninitialized variable: oldid [uninitvar] glhack-1.2/src/role.c:536:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_NONE [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:567:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allow [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:578:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noun [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:604:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_NONE [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:631:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_GENDERS [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:644:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_GENDERS [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:671:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_NONE [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:697:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_ALIGNS [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:710:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_ALIGNS [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:737:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_NONE [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:766:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allow [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:809:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PICK_RIGID [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:832:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allow [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:875:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PICK_RIGID [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:898:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_GENDERS [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:933:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_GENDERS [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:960:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_ALIGNS [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:995:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_ALIGNS [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:1024:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable initrole [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:1076:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allow [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:1088:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_RANDOM [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:1102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:1238:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:1298:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plname [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:1355:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable initrole [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:1451:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Role_switch [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:1475:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Role_switch [valueFlowBailoutIncompleteVar] glhack-1.2/src/role.c:1298:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/role.c:1303:18: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/role.c:1449:15: style: Parameter 'mtmp' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/role.c:1219:13: style: Variable 'donefirst' is assigned a value that is never used. [unreadVariable] glhack-1.2/src/rumors.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/rumors.c:74:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/rumors.c:145:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/rumors.c:187:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/rumors.c:209:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/rumors.c:225:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/rumors.c:238:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/rumors.c:293:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulevel [valueFlowBailoutIncompleteVar] glhack-1.2/src/rumors.c:122:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/rumors.c:274:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/rumors.c:48:6: warning: %lx in format string (no. 1) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] glhack-1.2/src/rumors.c:198:10: warning: %lx in format string (no. 1) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] glhack-1.2/src/save.c:57:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MESSAGE [valueFlowBailoutIncompleteVar] glhack-1.2/src/save.c:119:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/save.c:282:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/save.c:448:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREE_SAVE [valueFlowBailoutIncompleteVar] glhack-1.2/src/save.c:798:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sp_levchn [valueFlowBailoutIncompleteVar] glhack-1.2/src/save.c:820:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable damagelist [valueFlowBailoutIncompleteVar] glhack-1.2/src/save.c:851:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/save.c:878:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mons [valueFlowBailoutIncompleteVar] glhack-1.2/src/save.c:910:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trap [valueFlowBailoutIncompleteVar] glhack-1.2/src/save.c:930:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ffruit [valueFlowBailoutIncompleteVar] glhack-1.2/src/save.c:962:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISP_FREEMEM [valueFlowBailoutIncompleteVar] glhack-1.2/src/sit.c:12:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ugold [valueFlowBailoutIncompleteVar] glhack-1.2/src/sit.c:43:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/sit.c:319:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uwep [valueFlowBailoutIncompleteVar] glhack-1.2/src/sit.c:389:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HFire_resistance [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:112:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:136:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRAPNUM [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_maze_max [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:216:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:300:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:321:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:377:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OROOM [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:567:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OROOM [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:597:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D_ISOPEN [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:679:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable W_NORTH [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:768:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXMCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:934:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RANDOM_CLASS [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:1097:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEMPLE [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:1202:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:1253:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levl [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:1282:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:1383:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdnstair [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:1432:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rooms [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:1466:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OROOM [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:1601:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OROOM [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:1689:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:1720:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_maze_lev [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:1815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_LEV_ROOMS [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:2045:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_maze_max [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:2091:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNROFROOMS [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:2639:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDBMODE [valueFlowBailoutIncompleteVar] glhack-1.2/src/sp_lev.c:776:25: warning: Either the condition 'm->align<=-11' is redundant or the array 'ralign[3]' is accessed at index 9, which is out of bounds. [arrayIndexOutOfBoundsCond] glhack-1.2/src/sp_lev.c:775:13: note: Assuming that condition 'm->align<=-11' is not redundant glhack-1.2/src/sp_lev.c:776:25: note: Array index out of bounds glhack-1.2/src/sp_lev.c:1142:7: style: Condition 'a->shrine' is always true [knownConditionTrueFalse] glhack-1.2/src/sp_lev.c:313:22: style: Variable 'lev' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/sp_lev.c:1218:16: style: Parameter 'croom' can be declared as pointer to const. However it seems that 'search_door' is a callback function, if 'croom' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/sp_lev.c:40:26: note: You might need to cast the function pointer here glhack-1.2/src/sp_lev.c:1218:16: note: Parameter 'croom' can be declared as pointer to const glhack-1.2/src/sp_lev.c:1271:8: style: Parameter 'org' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/sp_lev.c:1271:14: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/sp_lev.c:1731:24: error: Uninitialized variable: lev_flags [uninitvar] glhack-1.2/src/sp_lev.c:1744:24: error: Uninitialized variable: n [uninitvar] glhack-1.2/src/sp_lev.c:1817:24: error: Uninitialized variable: n [uninitvar] glhack-1.2/src/sp_lev.c:1829:24: error: Uninitialized variable: nrooms [uninitvar] glhack-1.2/src/sp_lev.c:2018:24: error: Uninitialized variable: ncorr [uninitvar] glhack-1.2/src/sp_lev.c:2020:25: error: Uninitialized variable: tmpcor [uninitvar] glhack-1.2/src/sp_lev.c:2099:27: error: Uninitialized variable: filling [uninitvar] glhack-1.2/src/sp_lev.c:2122:24: error: Uninitialized variable: halign [uninitvar] glhack-1.2/src/sp_lev.c:2124:24: error: Uninitialized variable: valign [uninitvar] glhack-1.2/src/sp_lev.c:2340:24: error: Uninitialized variable: tmpdoor [uninitvar] glhack-1.2/src/sp_lev.c:2382:24: error: Uninitialized variable: tmpdb [uninitvar] glhack-1.2/src/sp_lev.c:2394:24: error: Uninitialized variable: tmpwalk [uninitvar] glhack-1.2/src/sp_lev.c:2428:24: error: Uninitialized variable: tmplad [uninitvar] glhack-1.2/src/sp_lev.c:2464:24: error: Uninitialized variable: tmpaltar [uninitvar] glhack-1.2/src/sp_lev.c:2472:24: error: Uninitialized variable: tmpfountain [uninitvar] glhack-1.2/src/sp_lev.c:2481:24: error: Uninitialized variable: tmptrap [uninitvar] glhack-1.2/src/sp_lev.c:2505:24: error: Uninitialized variable: tmpgold [uninitvar] glhack-1.2/src/sp_lev.c:2642:24: error: Uninitialized variable: vers_info [uninitvar] glhack-1.2/src/spell.c:112:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:184:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPE_BOOK_OF_THE_DEAD [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:211:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPE_BOOK_OF_THE_DEAD [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:320:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:394:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Confusion [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:527:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXSPELL [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:542:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:619:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:626:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulevel [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:688:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spl_book [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:719:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Confusion [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:972:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uinwater [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:1006:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Confusion [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:1026:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QBUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:1055:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:1145:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spelbase [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:1247:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXSPELL [valueFlowBailoutIncompleteVar] glhack-1.2/src/spell.c:564:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/spell.c:552:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] glhack-1.2/src/spell.c:1011:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] glhack-1.2/src/spell.c:1013:28: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] glhack-1.2/src/spell.c:501:13: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/spell.c:511:13: style: Parameter 'old_obj' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/teleport.c:27:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_IGNOREWATER [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:123:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mons [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:188:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nlx [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:223:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable youmonst [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:234:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Punished [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:342:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:356:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VAULT [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:403:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noteleport [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:460:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uy [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:569:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:815:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shudder_for_moment [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:844:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:863:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Levitation [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:901:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nlx [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:960:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ustuck [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:994:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uy [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:1036:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VAULT [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:1051:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noteleport [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:1101:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ustuck [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:1169:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CORPSE [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:1214:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uz [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:1274:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEMPLE [valueFlowBailoutIncompleteVar] glhack-1.2/src/teleport.c:1197:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/teleport.c:1199:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/teleport.c:902:26: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] glhack-1.2/src/teleport.c:45:20: style: Variable 'mtmp2' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/teleport.c:371:23: style: Variable 'otmp' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/teleport.c:810:23: style: Parameter 'ttmp' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/topten.c:91:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_ERR [valueFlowBailoutIncompleteVar] glhack-1.2/src/topten.c:101:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_ERR [valueFlowBailoutIncompleteVar] glhack-1.2/src/topten.c:165:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable roles [valueFlowBailoutIncompleteVar] glhack-1.2/src/topten.c:271:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable panicking [valueFlowBailoutIncompleteVar] glhack-1.2/src/topten.c:542:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/topten.c:560:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/topten.c:707:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_MAJOR [valueFlowBailoutIncompleteVar] glhack-1.2/src/topten.c:755:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/topten.c:892:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable roles [valueFlowBailoutIncompleteVar] glhack-1.2/src/topten.c:924:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RECORD [valueFlowBailoutIncompleteVar] glhack-1.2/src/topten.c:587:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/topten.c:718:34: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/topten.c:861:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/topten.c:938:9: warning: Uninitialized variable: tt->points [uninitvar] glhack-1.2/src/topten.c:933:16: note: Assuming condition is false glhack-1.2/src/topten.c:938:9: note: Uninitialized variable: tt->points glhack-1.2/src/u_init.c:500:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/u_init.c:511:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_OBJECTS [valueFlowBailoutIncompleteVar] glhack-1.2/src/u_init.c:521:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable female [valueFlowBailoutIncompleteVar] glhack-1.2/src/u_init.c:856:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Role_switch [valueFlowBailoutIncompleteVar] glhack-1.2/src/u_init.c:892:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable malenum [valueFlowBailoutIncompleteVar] glhack-1.2/src/uhitm.c:913:6: error: syntax error [syntaxError] glhack-1.2/src/version.c:24:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_STRING [valueFlowBailoutIncompleteVar] glhack-1.2/src/version.c:32:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_ID [valueFlowBailoutIncompleteVar] glhack-1.2/src/version.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/version.c:54:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPTIONS_USED [valueFlowBailoutIncompleteVar] glhack-1.2/src/version.c:78:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_NUMBER [valueFlowBailoutIncompleteVar] glhack-1.2/src/version.c:112:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/version.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/src/version.c:152:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/version.c:166:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/src/version.c:69:22: style: Parameter 'version_data' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/version.c:112:37: error: Uninitialized variable: vers_info [uninitvar] glhack-1.2/src/vision.c:126:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROWNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/vision.c:166:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TREE [valueFlowBailoutIncompleteVar] glhack-1.2/src/vision.c:202:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable viz_array [valueFlowBailoutIncompleteVar] glhack-1.2/src/vision.c:264:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable viz_array [valueFlowBailoutIncompleteVar] glhack-1.2/src/vision.c:509:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/vision.c:832:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable viz_array [valueFlowBailoutIncompleteVar] glhack-1.2/src/vision.c:848:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable viz_array [valueFlowBailoutIncompleteVar] glhack-1.2/src/vision.c:921:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/vision.c:999:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/vision.c:2218:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROWNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/vision.c:2387:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROWNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/vision.c:2277:1: style: Label 'rside1' is not used. [unusedLabel] glhack-1.2/src/vision.c:2328:1: style: Label 'rside2' is not used. [unusedLabel] glhack-1.2/src/vision.c:2430:1: style: Label 'lside1' is not used. [unusedLabel] glhack-1.2/src/vision.c:2459:1: style: Label 'lside2' is not used. [unusedLabel] glhack-1.2/src/vision.c:163:19: style: Variable 'mon' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/vision.c:498:11: style: Variable 'old_row' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/vision.c:501:11: style: Variable 'ranges' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/vision.c:507:16: style: Variable 'flev' can be declared as pointer to const [constVariablePointer] glhack-1.2/src/wield.c:87:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uwep [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:124:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uwep [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:210:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable W_QUIVER [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:218:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable W_SWAPWEP [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:239:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable multi [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:294:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable multi [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:335:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswapwep [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:410:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uwep [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:474:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:516:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:529:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable twoweap [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:556:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uwep [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:570:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uswapwep [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:579:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uquiver [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:588:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable twoweap [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:612:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable youmonst [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:691:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NH_BLUE [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:779:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uwep [valueFlowBailoutIncompleteVar] glhack-1.2/src/wield.c:795:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HAND [valueFlowBailoutIncompleteVar] glhack-1.2/src/windows.c:123:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] glhack-1.2/src/worm.c:90:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NUM_WORMS [valueFlowBailoutIncompleteVar] glhack-1.2/src/worm.c:223:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable moves [valueFlowBailoutIncompleteVar] glhack-1.2/src/worm.c:371:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mon_moving [valueFlowBailoutIncompleteVar] glhack-1.2/src/worm.c:450:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_LONG_WORM_TAIL [valueFlowBailoutIncompleteVar] glhack-1.2/src/worm.c:473:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NUM_WORMS [valueFlowBailoutIncompleteVar] glhack-1.2/src/worm.c:517:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NUM_WORMS [valueFlowBailoutIncompleteVar] glhack-1.2/src/worm.c:655:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/src/worm.c:112:19: style: Parameter 'worm' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/worm.c:421:19: style: Parameter 'worm' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/worm.c:440:19: style: Parameter 'worm' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/worm.c:567:28: style: Parameter 'worm' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/worm.c:683:19: style: Parameter 'mtmp' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/worm.c:737:15: style: Parameter 'worm' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/worm.c:518:28: error: Uninitialized variable: count [uninitvar] glhack-1.2/src/worm.c:514:15: style: Variable 'count' is not assigned a value. [unassignedVariable] glhack-1.2/src/worn.c:55:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable W_ARM [valueFlowBailoutIncompleteVar] glhack-1.2/src/worn.c:116:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uwep [valueFlowBailoutIncompleteVar] glhack-1.2/src/worn.c:150:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_mklev [valueFlowBailoutIncompleteVar] glhack-1.2/src/worn.c:219:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/src/worn.c:373:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mons [valueFlowBailoutIncompleteVar] glhack-1.2/src/worn.c:408:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/worn.c:551:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fobj [valueFlowBailoutIncompleteVar] glhack-1.2/src/worn.c:590:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bypasses [valueFlowBailoutIncompleteVar] glhack-1.2/src/worn.c:606:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable W_ARM [valueFlowBailoutIncompleteVar] glhack-1.2/src/worn.c:764:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MFAST [valueFlowBailoutIncompleteVar] glhack-1.2/src/worn.c:786:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mons [valueFlowBailoutIncompleteVar] glhack-1.2/src/worn.c:323:30: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] glhack-1.2/src/worn.c:506:27: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] glhack-1.2/src/worn.c:483:6: style: The if condition is the same as the previous if condition [duplicateCondition] glhack-1.2/src/worn.c:480:6: note: First condition glhack-1.2/src/worn.c:483:6: note: Second condition glhack-1.2/src/worn.c:517:15: style: Parameter 'mon' can be declared as pointer to const [constParameterPointer] glhack-1.2/src/worn.c:760:15: style: Parameter 'mon' can be declared as pointer to const. However it seems that 'extra_pref' is a callback function, if 'mon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/worn.c:9:22: note: You might need to cast the function pointer here glhack-1.2/src/worn.c:760:15: note: Parameter 'mon' can be declared as pointer to const glhack-1.2/src/worn.c:761:13: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'extra_pref' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/worn.c:9:22: note: You might need to cast the function pointer here glhack-1.2/src/worn.c:761:13: note: Parameter 'obj' can be declared as pointer to const glhack-1.2/src/write.c:16:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPBOOK_CLASS [valueFlowBailoutIncompleteVar] glhack-1.2/src/write.c:74:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/src/write.c:13:22: style: Parameter 'otmp' can be declared as pointer to const. However it seems that 'cost' is a callback function, if 'otmp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/src/write.c:6:22: note: You might need to cast the function pointer here glhack-1.2/src/write.c:13:22: note: Parameter 'otmp' can be declared as pointer to const glhack-1.2/sys/amiga/amidos.c:55:1: portability: Omitted return type of function 'getuid' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glhack-1.2/sys/amiga/amidos.c:51:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/sys/amiga/amidos.c:479:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] glhack-1.2/sys/amiga/amidos.c:488:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/amiga/amidos.c:488:41: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/amiga/amidos.c:484:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glhack-1.2/sys/amiga/amimenu.c:19:69: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] glhack-1.2/sys/amiga/amimenu.c:20:69: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] glhack-1.2/sys/amiga/amimenu.c:62:69: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] glhack-1.2/sys/amiga/amimenu.c:66:69: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] glhack-1.2/sys/amiga/windefs.h:56:26: error: syntax error [syntaxError] glhack-1.2/sys/amiga/amisnd.c:109:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objects [valueFlowBailoutIncompleteVar] glhack-1.2/sys/amiga/amisnd.c:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable silent [valueFlowBailoutIncompleteVar] glhack-1.2/sys/amiga/amisnd.c:147:2: warning:inconclusive: The buffer 'name' may not be null-terminated after the call to strncpy(). [terminateStrncpy] glhack-1.2/sys/amiga/amisnd.c:106:27: style: Parameter 'instr' can be declared as pointer to const [constParameterPointer] glhack-1.2/sys/amiga/amisnd.c:121:19: style: Parameter 'actualn' can be declared as pointer to const [constParameterPointer] glhack-1.2/sys/amiga/amisnd.c:121:36: style: Parameter 'melody' can be declared as pointer to const [constParameterPointer] glhack-1.2/sys/amiga/amisnd.c:129:18: style: Variable 'AudioMSG' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/amiga/amisnd.c:40:7: style: struct member 'VHDR::name' is never used. [unusedStructMember] glhack-1.2/sys/amiga/amisnd.c:41:7: style: struct member 'VHDR::len' is never used. [unusedStructMember] glhack-1.2/sys/amiga/amisnd.c:42:16: style: struct member 'VHDR::oneshot' is never used. [unusedStructMember] glhack-1.2/sys/amiga/amisnd.c:42:25: style: struct member 'VHDR::repeat' is never used. [unusedStructMember] glhack-1.2/sys/amiga/amisnd.c:42:33: style: struct member 'VHDR::samples' is never used. [unusedStructMember] glhack-1.2/sys/amiga/amisnd.c:50:7: style: struct member 'IFFHEAD::FORM' is never used. [unusedStructMember] glhack-1.2/sys/amiga/amisnd.c:51:7: style: struct member 'IFFHEAD::flen' is never used. [unusedStructMember] glhack-1.2/sys/amiga/amisnd.c:52:7: style: struct member 'IFFHEAD::_8SVX' is never used. [unusedStructMember] glhack-1.2/sys/amiga/amisnd.c:54:7: style: struct member 'IFFHEAD::NAME' is never used. [unusedStructMember] glhack-1.2/sys/amiga/amiwind.c:948:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] glhack-1.2/sys/amiga/cvtsnd.c:40:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glhack-1.2/sys/amiga/cvtsnd.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/amiga/cvtsnd.c:12:10: style: struct member 'AIFF::misc' is never used. [unusedStructMember] glhack-1.2/sys/amiga/cvtsnd.c:13:10: style: struct member 'AIFF::FORM' is never used. [unusedStructMember] glhack-1.2/sys/amiga/cvtsnd.c:14:10: style: struct member 'AIFF::flen' is never used. [unusedStructMember] glhack-1.2/sys/amiga/cvtsnd.c:15:10: style: struct member 'AIFF::AIFF' is never used. [unusedStructMember] glhack-1.2/sys/amiga/cvtsnd.c:16:10: style: struct member 'AIFF::SSND' is never used. [unusedStructMember] glhack-1.2/sys/amiga/txt2iff.c:112:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glhack-1.2/sys/amiga/txt2iff.c:291:1: portability: Omitted return type of function 'findcolor' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glhack-1.2/sys/amiga/txt2iff.c:419:1: portability: Omitted return type of function 'BestMatch' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glhack-1.2/sys/amiga/txt2iff.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/amiga/txt2iff.c:128:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HIRES [valueFlowBailoutIncompleteVar] glhack-1.2/sys/amiga/txt2iff.c:295:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXCOLORMAPSIZE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/amiga/txt2iff.c:321:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILE_Y [valueFlowBailoutIncompleteVar] glhack-1.2/sys/amiga/txt2iff.c:426:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CM_RED [valueFlowBailoutIncompleteVar] glhack-1.2/sys/amiga/txt2iff.c:455:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/amiga/txt2iff.c:242:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cmap [nullPointerOutOfMemory] glhack-1.2/sys/amiga/txt2iff.c:239:18: note: Assuming allocation function fails glhack-1.2/sys/amiga/txt2iff.c:239:18: note: Assignment 'cmap=malloc((colors=(1L<message&0xff=='.'' is always false [knownConditionTrueFalse] glhack-1.2/sys/mac/macwin.c:988:21: style: Parameter 'resp' can be declared as pointer to const [constParameterPointer] glhack-1.2/sys/mac/macwin.c:989:8: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/mac/macwin.c:1017:9: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/mac/macwin.c:1233:29: style: Parameter 'theEvent' can be declared as pointer to const [constParameterPointer] glhack-1.2/sys/mac/macwin.c:1265:26: style: Parameter 'theEvent' can be declared as pointer to const. However it seems that 'GeneralKey' is a callback function, if 'theEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/mac/macwin.c:167:38: note: You might need to cast the function pointer here glhack-1.2/sys/mac/macwin.c:1265:26: note: Parameter 'theEvent' can be declared as pointer to const glhack-1.2/sys/mac/macwin.c:1384:28: style: Parameter 'theEvent' can be declared as pointer to const. However it seems that 'macClickMenu' is a callback function, if 'theEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/mac/macwin.c:171:66: note: You might need to cast the function pointer here glhack-1.2/sys/mac/macwin.c:1384:28: note: Parameter 'theEvent' can be declared as pointer to const glhack-1.2/sys/mac/macwin.c:1479:28: style: Parameter 'theEvent' can be declared as pointer to const. However it seems that 'macClickText' is a callback function, if 'theEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/mac/macwin.c:172:2: note: You might need to cast the function pointer here glhack-1.2/sys/mac/macwin.c:1479:28: note: Parameter 'theEvent' can be declared as pointer to const glhack-1.2/sys/mac/macwin.c:1535:28: style: Parameter 'theEvent' can be declared as pointer to const. However it seems that 'macClickTerm' is a callback function, if 'theEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/mac/macwin.c:171:52: note: You might need to cast the function pointer here glhack-1.2/sys/mac/macwin.c:1535:28: note: Parameter 'theEvent' can be declared as pointer to const glhack-1.2/sys/mac/macwin.c:1536:12: style: Variable 'nhw' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/mac/macwin.c:1668:25: style: Parameter 'theEvent' can be declared as pointer to const. However it seems that 'macDoNull' is a callback function, if 'theEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/mac/macwin.c:181:15: note: You might need to cast the function pointer here glhack-1.2/sys/mac/macwin.c:1668:25: note: Parameter 'theEvent' can be declared as pointer to const glhack-1.2/sys/mac/macwin.c:1695:32: style: Parameter 'theEvent' can be declared as pointer to const. However it seems that 'macUpdateMessage' is a callback function, if 'theEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/mac/macwin.c:176:13: note: You might need to cast the function pointer here glhack-1.2/sys/mac/macwin.c:1695:32: note: Parameter 'theEvent' can be declared as pointer to const glhack-1.2/sys/mac/macwin.c:1822:17: style: Variable 'mi' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/mac/macwin.c:1840:29: style: Parameter 'theEvent' can be declared as pointer to const. However it seems that 'GeneralUpdate' is a callback function, if 'theEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/mac/macwin.c:177:17: note: You might need to cast the function pointer here glhack-1.2/sys/mac/macwin.c:1840:29: note: Parameter 'theEvent' can be declared as pointer to const glhack-1.2/sys/mac/macwin.c:1968:12: style: Variable 'aWin' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/mac/macwin.c:2499:18: style: Variable 'mi' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/mac/macwin.c:247:75: error: Uninitialized variable: fss [uninitvar] glhack-1.2/sys/mac/macwin.c:497:39: error: Uninitialized variable: qbitmap [uninitvar] glhack-1.2/sys/mac/macwin.c:1405:21: style: Variable 'currentRow' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/mac/mgetline.c:61:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mmodal.c:24:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kControlButtonPart [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:276:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glhack-1.2/sys/mac/mrecover.c:284:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thePort [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:321:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osMask [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:469:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nilHandleErr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:511:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memFullErr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:551:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StringPtr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:682:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shiftKey [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:729:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optionKey [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:786:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osMask [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:937:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DialogPtr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:1026:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ptr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:1071:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arrow [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:1108:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fsRdWrPerm [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:1193:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fsRdWrPerm [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:1225:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fsRdWrPerm [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:1284:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ptr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:1371:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eofErr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mrecover.c:978:17: style: Variable 'pC' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/mac/mrecover.c:75:8: style: struct member 'memBytes::memReserved' is never used. [unusedStructMember] glhack-1.2/sys/mac/mrecover.c:190:10: style: struct member 'versXRec::placeCode' is never used. [unusedStructMember] glhack-1.2/sys/mac/mttymain.c:199:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LI [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:280:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullEvent [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:313:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kWindowContentRgn [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:333:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable updateMask [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:363:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TTY_ATTRIB_FOREGROUND [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:401:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATR_INVERSE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:407:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATR_INVERSE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:413:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_COLOR [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:421:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CO [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:435:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CO [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:471:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATR_INVERSE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:477:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATR_INVERSE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:483:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLR_MAX [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:495:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TTY_ATTRIB_FLAGS [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:506:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CO [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:524:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TTY_ATTRIB_FLAGS [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:546:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cbreak [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:579:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/sys/mac/mttymain.c:364:6: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] glhack-1.2/sys/mac/mttymain.c:363:6: note: err is assigned glhack-1.2/sys/mac/mttymain.c:364:6: note: err is overwritten glhack-1.2/sys/mac/mttymain.c:452:6: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] glhack-1.2/sys/mac/mttymain.c:451:6: note: err is assigned glhack-1.2/sys/mac/mttymain.c:452:6: note: err is overwritten glhack-1.2/sys/mac/mttymain.c:364:6: style: Variable 'err' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/mac/mttymain.c:452:6: style: Variable 'err' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/msdos/sound.c:31:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hassound [valueFlowBailoutIncompleteVar] glhack-1.2/sys/msdos/tile2bin.c:93:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/msdos/tile2bin.c:211:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/msdos/tile2bin.c:123:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] glhack-1.2/sys/msdos/tile2bin.c:173:31: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] glhack-1.2/sys/msdos/tile2bin.c:88:13: style: Variable 'newtime' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/msdos/tile2bin.c:207:23: style: Parameter 'tibhdr' can be declared as pointer to const. However it seems that 'write_tibheader' is a callback function, if 'tibhdr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/msdos/tile2bin.c:65:19: note: You might need to cast the function pointer here glhack-1.2/sys/msdos/tile2bin.c:207:23: note: Parameter 'tibhdr' can be declared as pointer to const glhack-1.2/sys/msdos/tile2bin.c:280:7: style: Unused variable: fpos [unusedVariable] glhack-1.2/sys/share/dgn_lex.c:599:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_lex.c:1048:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_lex.c:1212:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_lex.c:1387:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_lex.c:1048:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] glhack-1.2/sys/share/dgn_lex.c:1048:3: note: c is initialized glhack-1.2/sys/share/dgn_lex.c:1048:3: note: c is overwritten glhack-1.2/sys/share/dgn_lex.c:676:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:680:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:724:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:728:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:732:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:736:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:740:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:744:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:748:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:752:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:756:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:784:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:791:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:807:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/dgn_lex.c:955:17: style: Variable 'source' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/share/dgn_lex.c:1159:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/share/dgn_lex.c:1440:34: style: Variable 'q' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/share/dgn_yacc.c:338:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDUNGEON [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_yacc.c:360:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEV_LIMIT [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_yacc.c:377:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BRANCH_LIMIT [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_yacc.c:396:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable levels [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_yacc.c:420:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_yacc.c:462:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_yacc.c:504:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_yacc.c:562:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmpdungeon [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_yacc.c:728:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/dgn_yacc.c:652:1: style: Label 'yynewerror' is not used. [unusedLabel] glhack-1.2/sys/share/dgn_yacc.c:657:1: style: Label 'yyerrlab' is not used. [unusedLabel] glhack-1.2/sys/share/dgn_yacc.c:390:8: style: Parameter 's' can be declared as pointer to const. However it seems that 'getchain' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/share/dgn_yacc.c:42:11: note: You might need to cast the function pointer here glhack-1.2/sys/share/dgn_yacc.c:390:8: note: Parameter 's' can be declared as pointer to const glhack-1.2/sys/share/ioctl.c:125:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/ioctl.c:147:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/lev_lex.c:880:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/lev_lex.c:1654:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/lev_lex.c:1818:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/lev_lex.c:1993:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/lev_lex.c:1654:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] glhack-1.2/sys/share/lev_lex.c:1654:3: note: c is initialized glhack-1.2/sys/share/lev_lex.c:1654:3: note: c is overwritten glhack-1.2/sys/share/lev_lex.c:960:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:981:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1145:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1149:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1153:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1157:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1161:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1165:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1169:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1173:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1177:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1181:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1185:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1205:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1209:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1213:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1217:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1221:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1225:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1229:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1233:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1237:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1241:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1245:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1249:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1253:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1257:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1261:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1265:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1269:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1273:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1277:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1281:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1285:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1289:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1293:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1297:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1301:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1305:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1309:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1313:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1317:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1321:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1325:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1329:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1333:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1337:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1341:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1345:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1349:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1353:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1357:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1361:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1365:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1369:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1373:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1377:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1381:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1385:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1392:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1404:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1408:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1412:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] glhack-1.2/sys/share/lev_lex.c:1561:17: style: Variable 'source' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/share/lev_lex.c:1765:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/share/lev_lex.c:2046:34: style: Variable 'q' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/share/lev_yacc.c:1052:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/lev_yacc.c:1111:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/share/lev_yacc.c:1422:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/share/lev_yacc.c:979:1: style: Label 'yynewerror' is not used. [unusedLabel] glhack-1.2/sys/share/lev_yacc.c:984:1: style: Label 'yyerrlab' is not used. [unusedLabel] glhack-1.2/sys/share/pcsys.c:424:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] glhack-1.2/sys/share/pctty.c:83:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] glhack-1.2/sys/share/random.c:221:42: warning: Return value of function random() is not used. [ignoredReturnValue] glhack-1.2/sys/share/tclib.c:153:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/tclib.c:106:50: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/share/tclib.c:109:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/share/tclib.c:175:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/share/tclib.c:202:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/share/tclib.c:205:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/share/tclib.c:255:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/share/tclib.c:303:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/share/tclib.c:312:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/share/tclib.c:370:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/share/tclib.c:81:6: error: Resource leak: fp [resourceLeak] glhack-1.2/sys/share/tclib.c:82:2: error: Resource leak: fp [resourceLeak] glhack-1.2/sys/share/tclib.c:69:11: style: Variable 'tc' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/share/tclib.c:79:8: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/share/tclib.c:145:21: style: Variable 'tc_fetch' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/share/unixtty.c:449:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] glhack-1.2/sys/share/uudecode.c:102:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glhack-1.2/sys/share/uudecode.c:134:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] glhack-1.2/sys/share/uudecode.c:118:8: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] glhack-1.2/sys/share/uudecode.c:118:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] glhack-1.2/sys/share/uudecode.c:125:18: style: Variable 'user' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/share/uudecode.c:214:7: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] glhack-1.2/sys/share/uudecode.c:100:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/unix/unixmain.c:91:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hname [valueFlowBailoutIncompleteVar] glhack-1.2/sys/unix/unixmain.c:343:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable discover [valueFlowBailoutIncompleteVar] glhack-1.2/sys/unix/unixmain.c:485:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plname [valueFlowBailoutIncompleteVar] glhack-1.2/sys/unix/unixmain.c:521:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable discover [valueFlowBailoutIncompleteVar] glhack-1.2/sys/unix/unixmain.c:490:22: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] glhack-1.2/sys/unix/unixmain.c:483:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/unix/unixunix.c:50:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/sys/unix/unixunix.c:78:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDUNGEON [valueFlowBailoutIncompleteVar] glhack-1.2/sys/unix/unixunix.c:114:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] glhack-1.2/sys/unix/unixunix.c:198:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/unix/unixunix.c:198:34: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/unix/unixunix.c:198:56: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/unix/unixunix.c:194:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glhack-1.2/sys/unix/unixunix.c:50:30: error: Uninitialized variable: lockedpid [uninitvar] glhack-1.2/sys/vms/vmsfiles.c:44:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAM$C_MAXRSS [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsfiles.c:90:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAM$C_MAXRSS [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsfiles.c:143:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsfiles.c:168:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cc$rms_fab [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsfiles.c:215:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RMS$_PRV [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsfiles.c:120:9: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/vms/vmsfiles.c:175:15: style: Variable 'n1.nam$b_nop' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/vms/vmsfiles.c:175:30: style: Variable 'n2.nam$b_nop' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/vms/vmsmain.c:47:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hname [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsmain.c:257:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable discover [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsmain.c:371:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plname [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsmain.c:393:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsmain.c:413:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS$_ACCVIO [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsmain.c:450:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable discover [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsmain.c:369:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/vms/vmsmisc.c:17:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS$_ABORT [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsmisc.c:23:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS$_DEBUG [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmstty.c:491:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] glhack-1.2/sys/vms/vmsunix.c:52:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPI$_PID [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsunix.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsunix.c:194:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LNM$_STRING [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsunix.c:229:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LNM$C_NAMLENGTH [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsunix.c:261:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable smgdsc [valueFlowBailoutIncompleteVar] glhack-1.2/sys/vms/vmsunix.c:296:9: style: Condition '!tc' is always true [knownConditionTrueFalse] glhack-1.2/sys/vms/vmsunix.c:295:9: note: Assuming that condition 'tc' is not redundant glhack-1.2/sys/vms/vmsunix.c:296:9: note: Condition '!tc' is always true glhack-1.2/sys/vms/vmsunix.c:229:44: style: Variable 'p' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/vms/vmsunix.c:54:31: error: Uninitialized variable: lockedpid [uninitvar] glhack-1.2/sys/vms/vmsunix.c:193:33: style: struct member 'itm3::itmcode' is never used. [unusedStructMember] glhack-1.2/sys/vms/vmsunix.c:193:69: style: struct member 'itm3::retlen' is never used. [unusedStructMember] glhack-1.2/sys/wince/celib.c:84:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/celib.c:93:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/celib.c:115:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/celib.c:122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/celib.c:180:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/celib.c:278:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/celib.c:305:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/celib.c:317:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/celib.c:333:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/celib.c:363:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/celib.c:352:15: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] glhack-1.2/sys/wince/mhcmd.c:430:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_CLIPSIBLINGS [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:450:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:473:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_NOCLOSE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:571:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:590:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:715:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:749:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:820:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:840:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:862:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:894:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:908:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:1021:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:1034:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:1063:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcmd.c:1100:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhcmd.c:1098:26: note: Assuming allocation function fails glhack-1.2/sys/wince/mhcmd.c:1098:6: note: Assignment 'p=(struct t_NHCmdLayout*)malloc(i)', assigned value is 0 glhack-1.2/sys/wince/mhcmd.c:1100:2: note: Null pointer dereference glhack-1.2/sys/wince/mhcmd.c:1101:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhcmd.c:1098:26: note: Assuming allocation function fails glhack-1.2/sys/wince/mhcmd.c:1098:6: note: Assignment 'p=(struct t_NHCmdLayout*)malloc(i)', assigned value is 0 glhack-1.2/sys/wince/mhcmd.c:1101:2: note: Null pointer dereference glhack-1.2/sys/wince/mhcmd.c:1102:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhcmd.c:1098:26: note: Assuming allocation function fails glhack-1.2/sys/wince/mhcmd.c:1098:6: note: Assignment 'p=(struct t_NHCmdLayout*)malloc(i)', assigned value is 0 glhack-1.2/sys/wince/mhcmd.c:1102:10: note: Null pointer dereference glhack-1.2/sys/wince/mhcmd.c:1104:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhcmd.c:1098:26: note: Assuming allocation function fails glhack-1.2/sys/wince/mhcmd.c:1098:6: note: Assignment 'p=(struct t_NHCmdLayout*)malloc(i)', assigned value is 0 glhack-1.2/sys/wince/mhcmd.c:1104:3: note: Null pointer dereference glhack-1.2/sys/wince/mhcmd.c:1105:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhcmd.c:1098:26: note: Assuming allocation function fails glhack-1.2/sys/wince/mhcmd.c:1098:6: note: Assignment 'p=(struct t_NHCmdLayout*)malloc(i)', assigned value is 0 glhack-1.2/sys/wince/mhcmd.c:1105:3: note: Null pointer dereference glhack-1.2/sys/wince/mhcmd.c:1106:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhcmd.c:1098:26: note: Assuming allocation function fails glhack-1.2/sys/wince/mhcmd.c:1098:6: note: Assignment 'p=(struct t_NHCmdLayout*)malloc(i)', assigned value is 0 glhack-1.2/sys/wince/mhcmd.c:1106:3: note: Null pointer dereference glhack-1.2/sys/wince/mhcmd.c:1107:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhcmd.c:1098:26: note: Assuming allocation function fails glhack-1.2/sys/wince/mhcmd.c:1098:6: note: Assignment 'p=(struct t_NHCmdLayout*)malloc(i)', assigned value is 0 glhack-1.2/sys/wince/mhcmd.c:1107:3: note: Null pointer dereference glhack-1.2/sys/wince/mhcmd.c:1030:56: style:inconclusive: Function 'CalculateCellSize' argument 3 names different: declaration 'windowSize' definition 'pWindowSize'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhcmd.c:109:63: note: Function 'CalculateCellSize' argument 3 names different: declaration 'windowSize' definition 'pWindowSize'. glhack-1.2/sys/wince/mhcmd.c:1030:56: note: Function 'CalculateCellSize' argument 3 names different: declaration 'windowSize' definition 'pWindowSize'. glhack-1.2/sys/wince/mhcmd.c:984:7: style: Local variable 'i' shadows outer variable [shadowVariable] glhack-1.2/sys/wince/mhcmd.c:906:6: note: Shadowed declaration glhack-1.2/sys/wince/mhcmd.c:984:7: note: Shadow variable glhack-1.2/sys/wince/mhcmd.c:611:52: error: Uninitialized variable: bm [uninitvar] glhack-1.2/sys/wince/mhcolor.c:130:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MENU [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhcolor.c:188:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mhcolor.c:190:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mhcolor.c:192:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mhcolor.c:194:18: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mhcolor.c:196:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mhcolor.c:198:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mhcolor.c:179:15: style: Variable 'hexadecimals' can be declared as pointer to const [constVariablePointer] glhack-1.2/sys/wince/mhdlg.c:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPARAM [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhdlg.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhdlg.c:199:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPARAM [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhdlg.c:218:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhdlg.c:325:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPARAM [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhdlg.c:342:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhdlg.c:469:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETCOUNT [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhdlg.c:484:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhdlg.c:569:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETCURSEL [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhdlg.c:704:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BM_GETCHECK [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhdlg.c:553:39: style:inconclusive: Function 'plselAdjustLists' argument 2 names different: declaration 'changed_opt' definition 'changed_sel'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhdlg.c:307:47: note: Function 'plselAdjustLists' argument 2 names different: declaration 'changed_opt' definition 'changed_sel'. glhack-1.2/sys/wince/mhdlg.c:553:39: note: Function 'plselAdjustLists' argument 2 names different: declaration 'changed_opt' definition 'changed_sel'. glhack-1.2/sys/wince/mhdlg.c:143:9: style: Local variable 'wbuf' shadows outer variable [shadowVariable] glhack-1.2/sys/wince/mhdlg.c:58:9: note: Shadowed declaration glhack-1.2/sys/wince/mhdlg.c:143:9: note: Shadow variable glhack-1.2/sys/wince/mhdlg.c:217:8: style: Variable 'data' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhdlg.c:341:8: style: Variable 'data' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhdlg.c:692:14: style: Variable 'initalign' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhfont.c:50:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_fontsiz_status [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhfont.c:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBMgraphics [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmain.c:969:9: error: There is an unknown macro here somewhere. Configuration is required. If COPYRIGHT_BANNER_B is a macro then please configure it. [unknownMacro] glhack-1.2/sys/wince/mhmap.c:57:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_CHILD [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmap.c:97:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmap.c:195:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmap.c:307:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_NOCLOSE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmap.c:328:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmap.c:406:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmap.c:515:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmap.c:540:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmap.c:700:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmap.c:760:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmap.c:842:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLR_WHITE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmap.c:517:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmap.c:511:29: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmap.c:511:9: note: Assignment 'data=(struct mswin_nethack_map_window*)malloc(sizeof(struct mswin_nethack_map_window))', assigned value is 0 glhack-1.2/sys/wince/mhmap.c:517:3: note: Null pointer dereference glhack-1.2/sys/wince/mhmap.c:520:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmap.c:511:29: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmap.c:511:9: note: Assignment 'data=(struct mswin_nethack_map_window*)malloc(sizeof(struct mswin_nethack_map_window))', assigned value is 0 glhack-1.2/sys/wince/mhmap.c:520:2: note: Null pointer dereference glhack-1.2/sys/wince/mhmap.c:522:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmap.c:511:29: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmap.c:511:9: note: Assignment 'data=(struct mswin_nethack_map_window*)malloc(sizeof(struct mswin_nethack_map_window))', assigned value is 0 glhack-1.2/sys/wince/mhmap.c:522:2: note: Null pointer dereference glhack-1.2/sys/wince/mhmap.c:523:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmap.c:511:29: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmap.c:511:9: note: Assignment 'data=(struct mswin_nethack_map_window*)malloc(sizeof(struct mswin_nethack_map_window))', assigned value is 0 glhack-1.2/sys/wince/mhmap.c:523:2: note: Null pointer dereference glhack-1.2/sys/wince/mhmap.c:822:30: style:inconclusive: Function 'nhglyph2charcolor' argument 1 names different: declaration 'glyph' definition 'g'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhmap.c:43:37: note: Function 'nhglyph2charcolor' argument 1 names different: declaration 'glyph' definition 'g'. glhack-1.2/sys/wince/mhmap.c:822:30: note: Function 'nhglyph2charcolor' argument 1 names different: declaration 'glyph' definition 'g'. glhack-1.2/sys/wince/mhmap.c:477:10: style: Local variable 'rt' shadows outer variable [shadowVariable] glhack-1.2/sys/wince/mhmap.c:404:7: note: Shadowed declaration glhack-1.2/sys/wince/mhmap.c:477:10: note: Shadow variable glhack-1.2/sys/wince/mhmap.c:571:14: style: Unused variable: special [unusedVariable] glhack-1.2/sys/wince/mhmap.c:572:9: style: Unused variable: mgch [unusedVariable] glhack-1.2/sys/wince/mhmap.c:573:12: style: Unused variable: back_brush [unusedVariable] glhack-1.2/sys/wince/mhmap.c:862:21: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhmenu.c:115:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:238:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:509:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:638:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:690:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:717:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:814:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:834:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:861:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:1031:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:1335:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:1416:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LVNI_FOCUSED [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:1440:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_LEFT [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:1518:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDOK [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmenu.c:985:45: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] glhack-1.2/sys/wince/mhmenu.c:983:41: note: outer condition: data->menu.items[lpdis->itemID].count>0 glhack-1.2/sys/wince/mhmenu.c:985:45: note: opposite inner condition: data->menu.items[lpdis->itemID].count==-1 glhack-1.2/sys/wince/mhmenu.c:249:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmenu.c:247:31: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmenu.c:247:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/sys/wince/mhmenu.c:249:3: note: Null pointer dereference glhack-1.2/sys/wince/mhmenu.c:250:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmenu.c:247:31: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmenu.c:247:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/sys/wince/mhmenu.c:250:3: note: Null pointer dereference glhack-1.2/sys/wince/mhmenu.c:251:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmenu.c:247:31: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmenu.c:247:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/sys/wince/mhmenu.c:251:3: note: Null pointer dereference glhack-1.2/sys/wince/mhmenu.c:252:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmenu.c:247:31: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmenu.c:247:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/sys/wince/mhmenu.c:252:3: note: Null pointer dereference glhack-1.2/sys/wince/mhmenu.c:253:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmenu.c:247:31: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmenu.c:247:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/sys/wince/mhmenu.c:253:3: note: Null pointer dereference glhack-1.2/sys/wince/mhmenu.c:254:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmenu.c:247:31: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmenu.c:247:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/sys/wince/mhmenu.c:254:3: note: Null pointer dereference glhack-1.2/sys/wince/mhmenu.c:255:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmenu.c:247:31: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmenu.c:247:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/sys/wince/mhmenu.c:255:3: note: Null pointer dereference glhack-1.2/sys/wince/mhmenu.c:102:41: style:inconclusive: Function 'mswin_menu_window_select_menu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhmenu.h:14:41: note: Function 'mswin_menu_window_select_menu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:102:41: note: Function 'mswin_menu_window_select_menu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:629:22: style:inconclusive: Function 'LayoutMenu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhmenu.c:75:29: note: Function 'LayoutMenu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:629:22: note: Function 'LayoutMenu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:685:23: style:inconclusive: Function 'SetMenuType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhmenu.c:76:30: note: Function 'SetMenuType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:685:23: note: Function 'SetMenuType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:712:27: style:inconclusive: Function 'SetMenuListType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhmenu.c:77:34: note: Function 'SetMenuListType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:712:27: note: Function 'SetMenuListType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:712:37: style:inconclusive: Function 'SetMenuListType' argument 2 names different: declaration 'now' definition 'how'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhmenu.c:77:44: note: Function 'SetMenuListType' argument 2 names different: declaration 'now' definition 'how'. glhack-1.2/sys/wince/mhmenu.c:712:37: note: Function 'SetMenuListType' argument 2 names different: declaration 'now' definition 'how'. glhack-1.2/sys/wince/mhmenu.c:810:26: style:inconclusive: Function 'GetMenuControl' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhmenu.c:78:33: note: Function 'GetMenuControl' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:810:26: note: Function 'GetMenuControl' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:1317:35: style:inconclusive: Function 'mswin_menu_window_size' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhmenu.h:15:35: note: Function 'mswin_menu_window_size' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:1317:35: note: Function 'mswin_menu_window_size' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhmenu.c:948:10: style: Local variable 'wbuf' shadows outer variable [shadowVariable] glhack-1.2/sys/wince/mhmenu.c:861:8: note: Shadowed declaration glhack-1.2/sys/wince/mhmenu.c:948:10: note: Shadow variable glhack-1.2/sys/wince/mhmenu.c:966:9: style: Local variable 'wbuf' shadows outer variable [shadowVariable] glhack-1.2/sys/wince/mhmenu.c:861:8: note: Shadowed declaration glhack-1.2/sys/wince/mhmenu.c:966:9: note: Shadow variable glhack-1.2/sys/wince/mhmenu.c:654:11: style: Variable 'pt_ok.x' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhmenu.c:656:12: style: Variable 'sz_ok.cx' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhmenu.c:656:23: style: Variable 'sz_ok.cy' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhmenu.c:667:15: style: Variable 'pt_cancel.x' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhmenu.c:669:16: style: Variable 'sz_cancel.cx' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhmenu.c:669:31: style: Variable 'sz_cancel.cy' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhmenu.c:801:9: style: Variable 'nItem' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhmenu.c:834:7: style: Variable 'data' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/wince/mhmsgwnd.c:65:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_BORDER [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmsgwnd.c:93:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_NOCLOSE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmsgwnd.c:115:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmsgwnd.c:199:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmsgwnd.c:314:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmsgwnd.c:473:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MESSAGE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmsgwnd.c:554:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmsgwnd.c:582:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhmsgwnd.c:553:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhmsgwnd.c:550:33: note: Assuming allocation function fails glhack-1.2/sys/wince/mhmsgwnd.c:550:9: note: Assignment 'data=(struct mswin_nethack_message_window*)malloc(sizeof(struct mswin_nethack_message_window))', assigned value is 0 glhack-1.2/sys/wince/mhmsgwnd.c:553:2: note: Null pointer dereference glhack-1.2/sys/wince/mhrip.c:13:37: style:inconclusive: Function 'mswin_display_RIP_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhrip.h:12:37: note: Function 'mswin_display_RIP_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhrip.c:13:37: note: Function 'mswin_display_RIP_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhstatus.c:37:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_DISABLED [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhstatus.c:64:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_NOCLOSE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhstatus.c:86:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhstatus.c:157:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhstatus.c:182:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plname [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhstatus.c:54:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhstatus.c:50:32: note: Assuming allocation function fails glhack-1.2/sys/wince/mhstatus.c:50:9: note: Assignment 'data=(struct mswin_nethack_status_window*)malloc(sizeof(struct mswin_nethack_status_window))', assigned value is 0 glhack-1.2/sys/wince/mhstatus.c:54:2: note: Null pointer dereference glhack-1.2/sys/wince/mhtext.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gameover [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhtext.c:50:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhtext.c:69:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhtext.c:150:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhtext.c:169:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDOK [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhtext.c:206:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDOK [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhtext.c:39:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhtext.c:35:30: note: Assuming allocation function fails glhack-1.2/sys/wince/mhtext.c:35:9: note: Assignment 'data=(struct mswin_nethack_text_window*)malloc(sizeof(struct mswin_nethack_text_window))', assigned value is 0 glhack-1.2/sys/wince/mhtext.c:39:2: note: Null pointer dereference glhack-1.2/sys/wince/mhtext.c:46:38: style:inconclusive: Function 'mswin_display_text_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhtext.h:12:38: note: Function 'mswin_display_text_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhtext.c:46:38: note: Function 'mswin_display_text_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhtext.c:160:22: style:inconclusive: Function 'LayoutText' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/sys/wince/mhtext.c:21:29: note: Function 'LayoutText' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhtext.c:160:22: note: Function 'LayoutText' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/sys/wince/mhtxtbuf.c:116:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhtxtbuf.c:135:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mhtxtbuf.c:42:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhtxtbuf.c:38:42: note: Assuming allocation function fails glhack-1.2/sys/wince/mhtxtbuf.c:38:21: note: Assignment 'pb=(struct mswin_nethack_text_bufferPNHTextBuffer)malloc(sizeof(struct mswin_nethack_text_buffer))', assigned value is 0 glhack-1.2/sys/wince/mhtxtbuf.c:42:2: note: Null pointer dereference glhack-1.2/sys/wince/mhtxtbuf.c:43:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhtxtbuf.c:38:42: note: Assuming allocation function fails glhack-1.2/sys/wince/mhtxtbuf.c:38:21: note: Assignment 'pb=(struct mswin_nethack_text_bufferPNHTextBuffer)malloc(sizeof(struct mswin_nethack_text_buffer))', assigned value is 0 glhack-1.2/sys/wince/mhtxtbuf.c:43:2: note: Null pointer dereference glhack-1.2/sys/wince/mhtxtbuf.c:44:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhtxtbuf.c:38:42: note: Assuming allocation function fails glhack-1.2/sys/wince/mhtxtbuf.c:38:21: note: Assignment 'pb=(struct mswin_nethack_text_bufferPNHTextBuffer)malloc(sizeof(struct mswin_nethack_text_buffer))', assigned value is 0 glhack-1.2/sys/wince/mhtxtbuf.c:44:2: note: Null pointer dereference glhack-1.2/sys/wince/mhtxtbuf.c:45:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhtxtbuf.c:38:42: note: Assuming allocation function fails glhack-1.2/sys/wince/mhtxtbuf.c:38:21: note: Assignment 'pb=(struct mswin_nethack_text_bufferPNHTextBuffer)malloc(sizeof(struct mswin_nethack_text_buffer))', assigned value is 0 glhack-1.2/sys/wince/mhtxtbuf.c:45:2: note: Null pointer dereference glhack-1.2/sys/wince/mhtxtbuf.c:80:28: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] glhack-1.2/sys/wince/mhtxtbuf.c:79:25: note: Assuming allocation function fails glhack-1.2/sys/wince/mhtxtbuf.c:79:25: note: Assignment 'new_line->text=strdup(text)', assigned value is 0 glhack-1.2/sys/wince/mhtxtbuf.c:80:19: note: Assignment 'p=new_line->text', assigned value is 0 glhack-1.2/sys/wince/mhtxtbuf.c:80:28: note: Null pointer dereference glhack-1.2/sys/wince/mswproc.c:135:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MAP [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:245:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_player_selection [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:303:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QBUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:655:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDCANCEL [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:768:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:792:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:810:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MENU [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:875:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MAP [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:910:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:950:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MENU [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:975:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1016:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MENU [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1084:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1194:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MAP [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1233:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1251:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_OK [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1264:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_OK [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1341:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MESSAGE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1370:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1471:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1487:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDCANCEL [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1574:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_fontsiz_menu [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1721:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1785:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_CHILD [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:1819:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_CHILD [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/mswproc.c:875:32: warning: Either the condition 'wid!=-1' is redundant or the array 'GetNHApp()->windowlist[15]' is accessed at index -1, which is out of bounds. [negativeIndex] glhack-1.2/sys/wince/mswproc.c:882:13: note: Assuming that condition 'wid!=-1' is not redundant glhack-1.2/sys/wince/mswproc.c:875:32: note: Negative array index glhack-1.2/sys/wince/mswproc.c:339:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mswproc.c:340:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mswproc.c:1378:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mswproc.c:1385:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mswproc.c:1386:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mswproc.c:1426:25: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/sys/wince/mswproc.c:944:69: style:inconclusive: Function 'mswin_putstr_ex' argument 4 names different: declaration 'append' definition 'app'. [funcArgNamesDifferent] glhack-1.2/sys/wince/winMS.h:127:69: note: Function 'mswin_putstr_ex' argument 4 names different: declaration 'append' definition 'app'. glhack-1.2/sys/wince/mswproc.c:944:69: note: Function 'mswin_putstr_ex' argument 4 names different: declaration 'append' definition 'app'. glhack-1.2/sys/wince/mswproc.c:1774:31: style:inconclusive: Function 'mswin_popup_display' argument 1 names different: declaration 'popup' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/sys/wince/winMS.h:170:31: note: Function 'mswin_popup_display' argument 1 names different: declaration 'popup' definition 'hWnd'. glhack-1.2/sys/wince/mswproc.c:1774:31: note: Function 'mswin_popup_display' argument 1 names different: declaration 'popup' definition 'hWnd'. glhack-1.2/sys/wince/mswproc.c:1814:31: style:inconclusive: Function 'mswin_popup_destroy' argument 1 names different: declaration 'popup' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/sys/wince/winMS.h:171:31: note: Function 'mswin_popup_destroy' argument 1 names different: declaration 'popup' definition 'hWnd'. glhack-1.2/sys/wince/mswproc.c:1814:31: note: Function 'mswin_popup_destroy' argument 1 names different: declaration 'popup' definition 'hWnd'. glhack-1.2/sys/wince/mswproc.c:1440:14: warning: Uninitialized variable: ch [uninitvar] glhack-1.2/sys/wince/mswproc.c:1422:18: note: Assuming condition is false glhack-1.2/sys/wince/mswproc.c:1440:14: note: Uninitialized variable: ch glhack-1.2/sys/wince/mswproc.c:1738:43: error: Uninitialized variable: bm [uninitvar] glhack-1.2/sys/wince/winhack.c:288:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] glhack-1.2/sys/wince/winmain.c:20:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHSTR_BUFSIZE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/wince/winmain.c:66:17: style: Variable 'bQuoted' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nh340key.c:117:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEFT_ALT_PRESSED [valueFlowBailoutIncompleteVar] glhack-1.2/sys/winnt/nh340key.c:192:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEFT_ALT_PRESSED [valueFlowBailoutIncompleteVar] glhack-1.2/sys/winnt/nh340key.c:236:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_EVENT [valueFlowBailoutIncompleteVar] glhack-1.2/sys/winnt/nh340key.c:102:16: style: Variable 'metaflags' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nh340key.c:102:23: style: Variable 'k' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nh340key.c:104:31: style: Variable 'mk' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nh340key.c:111:14: style: Variable 'pre_ch' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nh340key.c:102:6: style: Variable 'metaflags' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nh340key.c:102:21: style: Variable 'k' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nh340key.c:104:28: style: Variable 'mk' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nhdefkey.c:124:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_SHIFT [valueFlowBailoutIncompleteVar] glhack-1.2/sys/winnt/nhdefkey.c:224:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEFT_ALT_PRESSED [valueFlowBailoutIncompleteVar] glhack-1.2/sys/winnt/nhdefkey.c:268:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_EVENT [valueFlowBailoutIncompleteVar] glhack-1.2/sys/winnt/nhdefkey.c:110:23: style: Variable 'k' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nhdefkey.c:110:6: style: Variable 'metaflags' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nhdefkey.c:112:28: style: Variable 'mk' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nhraykey.c:191:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_EVENT [valueFlowBailoutIncompleteVar] glhack-1.2/sys/winnt/nhraykey.c:267:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIGHT_ALT_PRESSED [valueFlowBailoutIncompleteVar] glhack-1.2/sys/winnt/nhraykey.c:335:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHIFT_PRESSED [valueFlowBailoutIncompleteVar] glhack-1.2/sys/winnt/nhraykey.c:462:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] glhack-1.2/sys/winnt/nhraykey.c:554:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSE_EVENT [valueFlowBailoutIncompleteVar] glhack-1.2/sys/winnt/nhraykey.c:289:16: style: Variable 'metaflags' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nhraykey.c:289:23: style: Variable 'k' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nhraykey.c:291:31: style: Variable 'mk' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nhraykey.c:299:14: style: Variable 'pre_ch' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nhraykey.c:289:6: style: Variable 'metaflags' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nhraykey.c:289:21: style: Variable 'k' is assigned a value that is never used. [unreadVariable] glhack-1.2/sys/winnt/nhraykey.c:291:28: style: Variable 'mk' is assigned a value that is never used. [unreadVariable] glhack-1.2/tools/edtile/buildspec.cpp:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/buildspec.cpp:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/buildspec.cpp:131:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_file.h:38:3: style: Struct 'Filename' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glhack-1.2/tools/edtile/z_file.h:39:3: style: Struct 'Filename' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glhack-1.2/tools/edtile/z_file.h:76:43: style:inconclusive: Function 'Filename' argument 1 names different: declaration 'fname' definition 'src'. [funcArgNamesDifferent] glhack-1.2/tools/edtile/z_file.h:41:28: note: Function 'Filename' argument 1 names different: declaration 'fname' definition 'src'. glhack-1.2/tools/edtile/z_file.h:76:43: note: Function 'Filename' argument 1 names different: declaration 'fname' definition 'src'. glhack-1.2/tools/edtile/z_file.h:79:55: style:inconclusive: Function 'operator=' argument 1 names different: declaration 'fname' definition 'src'. [funcArgNamesDifferent] glhack-1.2/tools/edtile/z_file.h:42:40: note: Function 'operator=' argument 1 names different: declaration 'fname' definition 'src'. glhack-1.2/tools/edtile/z_file.h:79:55: note: Function 'operator=' argument 1 names different: declaration 'fname' definition 'src'. glhack-1.2/tools/edtile/buildspec.cpp:43:47: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/conv2hsv.cpp:30:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_rgb.h:43:3: style: Struct 'PackCol' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glhack-1.2/tools/edtile/z_hsv.h:43:3: style: Struct 'HsvCol' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glhack-1.2/tools/edtile/z_rgb.h:107:39: style:inconclusive: Function 'ClampSet' argument 1 names different: declaration 'r' definition '_r'. [funcArgNamesDifferent] glhack-1.2/tools/edtile/z_rgb.h:57:25: note: Function 'ClampSet' argument 1 names different: declaration 'r' definition '_r'. glhack-1.2/tools/edtile/z_rgb.h:107:39: note: Function 'ClampSet' argument 1 names different: declaration 'r' definition '_r'. glhack-1.2/tools/edtile/z_rgb.h:107:47: style:inconclusive: Function 'ClampSet' argument 2 names different: declaration 'g' definition '_g'. [funcArgNamesDifferent] glhack-1.2/tools/edtile/z_rgb.h:57:32: note: Function 'ClampSet' argument 2 names different: declaration 'g' definition '_g'. glhack-1.2/tools/edtile/z_rgb.h:107:47: note: Function 'ClampSet' argument 2 names different: declaration 'g' definition '_g'. glhack-1.2/tools/edtile/z_rgb.h:107:55: style:inconclusive: Function 'ClampSet' argument 3 names different: declaration 'b' definition '_b'. [funcArgNamesDifferent] glhack-1.2/tools/edtile/z_rgb.h:57:39: note: Function 'ClampSet' argument 3 names different: declaration 'b' definition '_b'. glhack-1.2/tools/edtile/z_rgb.h:107:55: note: Function 'ClampSet' argument 3 names different: declaration 'b' definition '_b'. glhack-1.2/tools/edtile/z_rgb.h:107:63: style:inconclusive: Function 'ClampSet' argument 4 names different: declaration 'a' definition '_a'. [funcArgNamesDifferent] glhack-1.2/tools/edtile/z_rgb.h:57:46: note: Function 'ClampSet' argument 4 names different: declaration 'a' definition '_a'. glhack-1.2/tools/edtile/z_rgb.h:107:63: note: Function 'ClampSet' argument 4 names different: declaration 'a' definition '_a'. glhack-1.2/tools/edtile/conv2rgb.cpp:30:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/create_md2.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/create_md2.c:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/create_md2.c:154:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/create_md2.c:219:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/create_md2.c:301:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/create_md2.c:550:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/create_md2.c:230:48: style: Parameter 'vert_list' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/create_md2.c:258:46: style: Parameter 'vert_list' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/t_colmap.h:135:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_colmap.h:158:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_colmap.h:167:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_browse.h:79:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_browse.h:85:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_compact.h:96:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_compact.h:102:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_edit.h:73:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_edit.h:79:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_shades.h:73:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/edtile.cpp:52:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/edtile.cpp:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_colmap.h:160:16: warning: Either the condition 'pix!=((unsigned short)0x7FFF)' is redundant or the array 'm_arr[4096]' is accessed at index 32767, which is out of bounds. [arrayIndexOutOfBoundsCond] glhack-1.2/tools/edtile/t_colmap.h:158:3: note: Assuming that condition 'pix!=((unsigned short)0x7FFF)' is not redundant glhack-1.2/tools/edtile/t_colmap.h:160:16: note: Array index out of bounds glhack-1.2/tools/edtile/t_colmap.h:58:5: style: Class 'ColorMapping' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glhack-1.2/tools/edtile/t_hue.h:36:3: style: Struct 'HueSet' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glhack-1.2/tools/edtile/w_main.h:52:14: style: The destructor '~MainWin' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_base.h:39:14: note: Virtual destructor in base class glhack-1.2/tools/edtile/w_main.h:52:14: note: Destructor in derived class glhack-1.2/tools/edtile/w_browse.h:73:14: style: The destructor '~BrowserTab' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_tab.h:34:14: note: Virtual destructor in base class glhack-1.2/tools/edtile/w_browse.h:73:14: note: Destructor in derived class glhack-1.2/tools/edtile/w_browse.h:75:17: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_tab.h:36:25: note: Virtual function in base class glhack-1.2/tools/edtile/w_browse.h:75:17: note: Function in derived class glhack-1.2/tools/edtile/w_browse.h:95:9: style: The function 'handle_key' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_tab.h:40:17: note: Virtual function in base class glhack-1.2/tools/edtile/w_browse.h:95:9: note: Function in derived class glhack-1.2/tools/edtile/w_compact.h:90:14: style: The destructor '~CompactTab' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_tab.h:34:14: note: Virtual destructor in base class glhack-1.2/tools/edtile/w_compact.h:90:14: note: Destructor in derived class glhack-1.2/tools/edtile/w_compact.h:92:17: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_tab.h:36:25: note: Virtual function in base class glhack-1.2/tools/edtile/w_compact.h:92:17: note: Function in derived class glhack-1.2/tools/edtile/w_compact.h:107:9: style: The function 'handle_key' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_tab.h:40:17: note: Virtual function in base class glhack-1.2/tools/edtile/w_compact.h:107:9: note: Function in derived class glhack-1.2/tools/edtile/w_edit.h:67:14: style: The destructor '~EditorTab' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_tab.h:34:14: note: Virtual destructor in base class glhack-1.2/tools/edtile/w_edit.h:67:14: note: Destructor in derived class glhack-1.2/tools/edtile/w_edit.h:69:17: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_tab.h:36:25: note: Virtual function in base class glhack-1.2/tools/edtile/w_edit.h:69:17: note: Function in derived class glhack-1.2/tools/edtile/w_license.h:36:14: style: The destructor '~LicenseWin' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_base.h:39:14: note: Virtual destructor in base class glhack-1.2/tools/edtile/w_license.h:36:14: note: Destructor in derived class glhack-1.2/tools/edtile/w_shades.h:67:14: style: The destructor '~ShadeTab' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_tab.h:34:14: note: Virtual destructor in base class glhack-1.2/tools/edtile/w_shades.h:67:14: note: Destructor in derived class glhack-1.2/tools/edtile/w_shades.h:69:17: style: The function 'Name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] glhack-1.2/tools/edtile/w_tab.h:36:25: note: Virtual function in base class glhack-1.2/tools/edtile/w_shades.h:69:17: note: Function in derived class glhack-1.2/tools/edtile/w_browse.h:95:9: style: The function 'handle_key' overrides a function in a base class but is identical to the overridden function [uselessOverride] glhack-1.2/tools/edtile/w_tab.h:40:17: note: Virtual function in base class glhack-1.2/tools/edtile/w_browse.h:95:9: note: Function in derived class glhack-1.2/tools/edtile/w_browse.h:80:7: warning: Either the condition '!t_brow' is redundant or there is possible null pointer dereference: t_brow. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/w_browse.h:79:7: note: Assuming that condition '!t_brow' is not redundant glhack-1.2/tools/edtile/w_browse.h:80:7: note: Null pointer dereference glhack-1.2/tools/edtile/w_browse.h:86:7: warning: Either the condition '!t_brow' is redundant or there is possible null pointer dereference: t_brow. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/w_browse.h:85:7: note: Assuming that condition '!t_brow' is not redundant glhack-1.2/tools/edtile/w_browse.h:86:7: note: Null pointer dereference glhack-1.2/tools/edtile/w_compact.h:97:7: warning: Either the condition '!t_brow' is redundant or there is possible null pointer dereference: t_brow. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/w_compact.h:96:7: note: Assuming that condition '!t_brow' is not redundant glhack-1.2/tools/edtile/w_compact.h:97:7: note: Null pointer dereference glhack-1.2/tools/edtile/w_compact.h:103:7: warning: Either the condition '!t_brow' is redundant or there is possible null pointer dereference: t_brow. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/w_compact.h:102:7: note: Assuming that condition '!t_brow' is not redundant glhack-1.2/tools/edtile/w_compact.h:103:7: note: Null pointer dereference glhack-1.2/tools/edtile/w_edit.h:74:7: warning: Either the condition '!t_edit' is redundant or there is possible null pointer dereference: t_edit. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/w_edit.h:73:7: note: Assuming that condition '!t_edit' is not redundant glhack-1.2/tools/edtile/w_edit.h:74:7: note: Null pointer dereference glhack-1.2/tools/edtile/w_edit.h:80:7: warning: Either the condition '!t_edit' is redundant or there is possible null pointer dereference: t_edit. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/w_edit.h:79:7: note: Assuming that condition '!t_edit' is not redundant glhack-1.2/tools/edtile/w_edit.h:80:7: note: Null pointer dereference glhack-1.2/tools/edtile/w_shades.h:74:7: warning: Either the condition '!s_brow' is redundant or there is possible null pointer dereference: s_brow. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/w_shades.h:73:7: note: Assuming that condition '!s_brow' is not redundant glhack-1.2/tools/edtile/w_shades.h:74:7: note: Null pointer dereference glhack-1.2/tools/edtile/explode.cpp:161:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/explode.cpp:205:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/explode.cpp:268:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/explode.cpp:278:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/explode.cpp:257:32: style: Parameter 'path' can be declared as reference to const [constParameterReference] glhack-1.2/tools/edtile/explode.cpp:183:36: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/explode.cpp:183:50: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/import.cpp:145:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/import.cpp:183:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/import.cpp:224:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/import.cpp:245:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/import.cpp:269:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/import.cpp:177:11: style: Variable 'tile' can be declared as pointer to const [constVariablePointer] glhack-1.2/tools/edtile/import3D.cpp:61:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/import3D.cpp:129:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/import3D.cpp:157:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/import3D.cpp:185:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/import3D.cpp:209:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/import3D.cpp:62:12: style: C-style pointer casting [cstyleCast] glhack-1.2/tools/edtile/import3D.cpp:220:21: style: Variable 'threeddir' is assigned a value that is never used. [unreadVariable] glhack-1.2/tools/edtile/loadppm.cpp:43:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/loadppm.cpp:53:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/loadppm.cpp:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/loadppm.cpp:169:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/loadppm.cpp:191:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/loadppm.cpp:215:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/loadppm.cpp:83:14: warning: Either the condition '(fp=std::fopen(filename,"r"))<0' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/loadppm.cpp:75:35: note: Assuming that condition '(fp=std::fopen(filename,"r"))<0' is not redundant glhack-1.2/tools/edtile/loadppm.cpp:83:14: note: Null pointer dereference glhack-1.2/tools/edtile/loadppm.cpp:128:20: style: C-style pointer casting [cstyleCast] glhack-1.2/tools/edtile/loadppm.cpp:75:35: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] glhack-1.2/tools/edtile/makeset.cpp:122:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/makeset.cpp:176:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/makeset.cpp:197:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/makeset.cpp:221:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/makeset.cpp:241:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/makeset.cpp:265:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/makeset.cpp:187:46: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/makeset.cpp:322:17: style: Variable 'cmap_font' can be declared as pointer to const [constVariablePointer] glhack-1.2/tools/edtile/makeset.cpp:322:27: style: Variable 'cmap_font' is assigned a value that is never used. [unreadVariable] glhack-1.2/tools/edtile/makeset.cpp:322:17: style: Variable 'cmap_font' is assigned a value that is never used. [unreadVariable] glhack-1.2/tools/edtile/renumber.cpp:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/renumber.cpp:65:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/renumber.cpp:71:18: style: Variable 'aj_dir' is assigned a value that is never used. [unreadVariable] glhack-1.2/tools/edtile/samecmap.cpp:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/samecmap.cpp:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/savejpeg.cpp:65:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JCS_RGB [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/savejpeg.cpp:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/savejpeg.cpp:137:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/savejpeg.cpp:160:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/savejpeg.cpp:184:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/saveppm.cpp:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/saveppm.cpp:124:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/saveppm.cpp:147:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/saveppm.cpp:171:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/storeraw.cpp:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/storeraw.cpp:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/storeraw.cpp:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/storeraw.cpp:182:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/storeraw.cpp:225:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/storeraw.cpp:249:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/storeraw.cpp:57:42: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/t_alias.cpp:60:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_alias.cpp:101:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_alias.cpp:209:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_mul [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_alias.cpp:173:11: style: Condition 'C==A.end()' is always false [knownConditionTrueFalse] glhack-1.2/tools/edtile/t_alias.cpp:176:11: style: Condition 'D==B.end()' is always false [knownConditionTrueFalse] glhack-1.2/tools/edtile/t_alias.cpp:181:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/t_alias.cpp:186:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/t_alias.cpp:192:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/t_alias.cpp:192:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/t_alias.cpp:204:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/t_colmap.cpp:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_colmap.cpp:106:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_colmap.cpp:224:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_colmap.cpp:263:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_colmap.cpp:397:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_colmap.cpp:38:15: warning: Member variable 'ColorMapping::m_arr' is not initialized in the constructor. [uninitMemberVar] glhack-1.2/tools/edtile/t_colmap.cpp:304:15: style: C-style pointer casting [cstyleCast] glhack-1.2/tools/edtile/t_colmap.cpp:305:15: style: C-style pointer casting [cstyleCast] glhack-1.2/tools/edtile/t_hue.cpp:83:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_hue.cpp:95:23: style: C-style pointer casting [cstyleCast] glhack-1.2/tools/edtile/t_hue.cpp:96:23: style: C-style pointer casting [cstyleCast] glhack-1.2/tools/edtile/t_hue.cpp:56:9: error: Memory is allocated but not initialized: hue_map [uninitdata] glhack-1.2/tools/edtile/t_pair.cpp:49:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_pair.cpp:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_pair.cpp:30:10: warning: Member variable 'PairSet::p_array' is not initialized in the constructor. [uninitMemberVar] glhack-1.2/tools/edtile/t_specs.cpp:57:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_specs.cpp:92:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_specs.cpp:108:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_specs.cpp:126:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_specs.cpp:185:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_specs.cpp:297:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_specs.cpp:313:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_specs.cpp:355:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_specs.cpp:377:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_specs.cpp:435:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_specs.cpp:33:3: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] glhack-1.2/tools/edtile/t_specs.cpp:35:3: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] glhack-1.2/tools/edtile/t_specs.cpp:45:3: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] glhack-1.2/tools/edtile/t_specs.cpp:114:3: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] glhack-1.2/tools/edtile/t_specs.cpp:375:17: performance:inconclusive: Technically the member function 'SpecGroup::WriteSpec' can be static (but you may consider moving to unnamed namespace). [functionStatic] glhack-1.2/tools/edtile/t_specs.h:96:10: note: Technically the member function 'SpecGroup::WriteSpec' can be static (but you may consider moving to unnamed namespace). glhack-1.2/tools/edtile/t_specs.cpp:375:17: note: Technically the member function 'SpecGroup::WriteSpec' can be static (but you may consider moving to unnamed namespace). glhack-1.2/tools/edtile/t_specs.cpp:191:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] glhack-1.2/tools/edtile/t_specs.cpp:381:7: warning: Either the condition '!spec' is redundant or there is possible null pointer dereference: spec. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/t_specs.cpp:377:3: note: Assuming that condition '!spec' is not redundant glhack-1.2/tools/edtile/t_specs.cpp:381:7: note: Null pointer dereference glhack-1.2/tools/edtile/t_specs.cpp:375:48: style: Parameter 'spec' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/t_tiles.cpp:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:126:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:261:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:326:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:361:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:377:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:395:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:463:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:542:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:575:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:600:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:620:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:655:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:719:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:775:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:792:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:961:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:1020:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:1090:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:1120:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/t_tiles.cpp:659:34: portability: Undefined behaviour, when 'src' is -1 the pointer arithmetic 'src_set->tiles+src' is out of bounds. [pointerOutOfBoundsCond] glhack-1.2/tools/edtile/t_tiles.cpp:656:3: note: Assuming that condition '0<=src' is not redundant glhack-1.2/tools/edtile/t_tiles.cpp:659:34: note: Pointer arithmetic overflow glhack-1.2/tools/edtile/t_tiles.cpp:653:15: style:inconclusive: Technically the member function 'Tileset::ImportTile' can be const. [functionConst] glhack-1.2/tools/edtile/t_tiles.h:132:10: note: Technically the member function 'Tileset::ImportTile' can be const. glhack-1.2/tools/edtile/t_tiles.cpp:653:15: note: Technically the member function 'Tileset::ImportTile' can be const. glhack-1.2/tools/edtile/t_tiles.cpp:1018:15: style:inconclusive: Technically the member function 'Tileset::WriteTile' can be const. [functionConst] glhack-1.2/tools/edtile/t_tiles.h:191:10: note: Technically the member function 'Tileset::WriteTile' can be const. glhack-1.2/tools/edtile/t_tiles.cpp:1018:15: note: Technically the member function 'Tileset::WriteTile' can be const. glhack-1.2/tools/edtile/t_tiles.cpp:1021:3: warning: Either the condition '!tile' is redundant or there is possible null pointer dereference: tile. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/t_tiles.cpp:1020:3: note: Assuming that condition '!tile' is not redundant glhack-1.2/tools/edtile/t_tiles.cpp:1021:3: note: Null pointer dereference glhack-1.2/tools/edtile/t_tiles.cpp:44:12: style: C-style pointer casting [cstyleCast] glhack-1.2/tools/edtile/t_tiles.cpp:820:16: style: C-style pointer casting [cstyleCast] glhack-1.2/tools/edtile/t_tiles.cpp:820:42: style: C-style pointer casting [cstyleCast] glhack-1.2/tools/edtile/t_tiles.cpp:174:13: style: The scope of the variable 'r' can be reduced. [variableScope] glhack-1.2/tools/edtile/t_tiles.cpp:175:13: style: The scope of the variable 'g' can be reduced. [variableScope] glhack-1.2/tools/edtile/t_tiles.cpp:176:13: style: The scope of the variable 'b' can be reduced. [variableScope] glhack-1.2/tools/edtile/t_tiles.cpp:469:9: style: The scope of the variable 'val2' can be reduced. [variableScope] glhack-1.2/tools/edtile/t_tiles.cpp:138:50: style:inconclusive: Function 'StoreRGB' argument 2 names different: declaration 'rgba' definition 'rgb'. [funcArgNamesDifferent] glhack-1.2/tools/edtile/t_tiles.h:69:46: note: Function 'StoreRGB' argument 2 names different: declaration 'rgba' definition 'rgb'. glhack-1.2/tools/edtile/t_tiles.cpp:138:50: note: Function 'StoreRGB' argument 2 names different: declaration 'rgba' definition 'rgb'. glhack-1.2/tools/edtile/t_tiles.cpp:138:35: style: Parameter 'cmap' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/t_tiles.cpp:160:36: style: Parameter 'cmap' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/t_tiles.cpp:241:29: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/t_tiles.cpp:441:29: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] glhack-1.2/tools/edtile/w_base.cpp:97:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_base.cpp:87:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] glhack-1.2/tools/edtile/w_base.cpp:88:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] glhack-1.2/tools/edtile/w_base.cpp:101:3: warning: Either the condition '!w' is redundant or there is possible null pointer dereference: base. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/w_base.cpp:97:3: note: Assuming that condition '!w' is not redundant glhack-1.2/tools/edtile/w_base.cpp:99:20: note: base is assigned 'static_cast(w)' here. glhack-1.2/tools/edtile/w_base.cpp:101:3: note: Null pointer dereference glhack-1.2/tools/edtile/w_browse.cpp:62:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_browse.cpp:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_NUM_GRAY [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_browse.cpp:115:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_BLACK [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_browse.cpp:48:40: style:inconclusive: Function 'ChangeTiles' argument 1 names different: declaration 'set' definition 'new_set'. [funcArgNamesDifferent] glhack-1.2/tools/edtile/w_browse.h:36:31: note: Function 'ChangeTiles' argument 1 names different: declaration 'set' definition 'new_set'. glhack-1.2/tools/edtile/w_browse.cpp:48:40: note: Function 'ChangeTiles' argument 1 names different: declaration 'set' definition 'new_set'. glhack-1.2/tools/edtile/w_compact.cpp:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_compact.cpp:96:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_NUM_GRAY [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_compact.cpp:122:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_BLACK [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_compact.cpp:221:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_NUM_GRAY [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_compact.cpp:49:43: style:inconclusive: Function 'ChangeTiles' argument 1 names different: declaration 'set' definition 'new_set'. [funcArgNamesDifferent] glhack-1.2/tools/edtile/w_compact.h:36:31: note: Function 'ChangeTiles' argument 1 names different: declaration 'set' definition 'new_set'. glhack-1.2/tools/edtile/w_compact.cpp:49:43: note: Function 'ChangeTiles' argument 1 names different: declaration 'set' definition 'new_set'. glhack-1.2/tools/edtile/w_edit.cpp:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_edit.cpp:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_BLACK [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_edit.cpp:114:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_FLAT_BOX [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_edit.cpp:33:13: warning: Member variable 'TileEditor::set' is not initialized in the constructor. [uninitMemberVar] glhack-1.2/tools/edtile/w_edit.cpp:88:17: style:inconclusive: Either there is a missing 'override', or the member function 'TileEditor::handle' can be const. [functionConst] glhack-1.2/tools/edtile/w_edit.h:43:9: note: Either there is a missing 'override', or the member function 'TileEditor::handle' can be const. glhack-1.2/tools/edtile/w_edit.cpp:88:17: note: Either there is a missing 'override', or the member function 'TileEditor::handle' can be const. glhack-1.2/tools/edtile/w_license.cpp:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_license.cpp:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_THIN_UP_BOX [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_license.cpp:33:3: warning: Either the condition '!data' is redundant or there is possible null pointer dereference: licw. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/w_license.cpp:29:3: note: Assuming that condition '!data' is not redundant glhack-1.2/tools/edtile/w_license.cpp:31:20: note: licw is assigned 'static_cast(data)' here. glhack-1.2/tools/edtile/w_license.cpp:33:3: note: Null pointer dereference glhack-1.2/tools/edtile/w_license.cpp:56:18: style: C-style pointer casting [cstyleCast] glhack-1.2/tools/edtile/w_panel.cpp:33:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_DOWN_BOX [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_panel.cpp:56:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_NUM_GRAY [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_panel.cpp:105:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable panel [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_panel.cpp:109:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] glhack-1.2/tools/edtile/w_panel.cpp:93:5: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] glhack-1.2/tools/edtile/w_shades.cpp:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_NUM_GRAY [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_shades.cpp:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_BLACK [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_shades.cpp:151:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_NUM_GRAY [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_shades.cpp:66:15: style: Variable 'pix' is assigned a value that is never used. [unreadVariable] glhack-1.2/tools/edtile/w_shades.cpp:66:11: style: Variable 'pix' is assigned a value that is never used. [unreadVariable] glhack-1.2/tools/edtile/w_tab.cpp:42:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_FOCUS [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_tlinfo.cpp:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_tlinfo.cpp:106:7: warning: Comparison is wrong. Result of 'pixel_buf+16384' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glhack-1.2/tools/edtile/w_tlinfo.cpp:96:15: style: Local variable 'dest' shadows outer variable [shadowVariable] glhack-1.2/tools/edtile/w_tlinfo.cpp:92:13: note: Shadowed declaration glhack-1.2/tools/edtile/w_tlinfo.cpp:96:15: note: Shadow variable glhack-1.2/tools/edtile/w_tlinfo.cpp:92:13: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] glhack-1.2/tools/edtile/w_webbut.cpp:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_FLAT_BOX [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_webbut.cpp:56:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_BLACK [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/w_webbut.cpp:69:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_CURSOR_HAND [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_args.cpp:95:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_args.cpp:102:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_args.cpp:111:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_args.cpp:187:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_args.cpp:202:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_args.cpp:121:31: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_error.cpp:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_file.cpp:268:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_file.cpp:274:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_file.cpp:313:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_file.cpp:357:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_file.cpp:368:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_file.cpp:269:35: warning: Either the condition '!mode' is redundant or there is possible null pointer dereference: mode. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/z_file.cpp:268:3: note: Assuming that condition '!mode' is not redundant glhack-1.2/tools/edtile/z_file.cpp:269:35: note: Null pointer dereference glhack-1.2/tools/edtile/z_file.cpp:275:10: warning: Either the condition '!fp' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] glhack-1.2/tools/edtile/z_file.cpp:274:3: note: Assuming that condition '!fp' is not redundant glhack-1.2/tools/edtile/z_file.cpp:275:10: note: Null pointer dereference glhack-1.2/tools/edtile/z_file.cpp:75:27: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_file.cpp:86:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_file.cpp:95:27: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_file.cpp:111:27: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_file.cpp:128:27: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_file.cpp:144:27: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_file.cpp:198:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_file.cpp:224:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_hsv.cpp:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_hsv.cpp:64:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_hsv.cpp:124:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_hsv.cpp:140:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_hsv.cpp:168:17: error: Signed integer overflow for expression 'seed*1103515245'. [integerOverflow] glhack-1.2/tools/edtile/z_hsv.cpp:157:14: note: Assignment 'seed=123456789', assigned value is 123456789 glhack-1.2/tools/edtile/z_hsv.cpp:168:17: note: Integer overflow glhack-1.2/tools/edtile/z_hsv.cpp:168:30: error: Signed integer overflow for expression 'seed*1103515245+12345'. [integerOverflow] glhack-1.2/tools/edtile/z_hsv.cpp:157:14: note: Assignment 'seed=123456789', assigned value is 123456789 glhack-1.2/tools/edtile/z_hsv.cpp:168:30: note: Integer overflow glhack-1.2/tools/edtile/z_math.cpp:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_string.cpp:129:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_string.cpp:145:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] glhack-1.2/tools/edtile/z_string.cpp:43:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_string.cpp:51:39: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_string.cpp:91:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_string.cpp:91:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_string.cpp:106:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_string.cpp:106:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/tools/edtile/z_string.cpp:123:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] glhack-1.2/util/dgn_main.c:75:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glhack-1.2/util/dgn_main.c:164:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/util/dgn_main.c:178:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:261:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:309:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:324:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:348:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_TYPE [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:399:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXMCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:420:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXOCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:437:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_OBJECTS [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:453:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXMCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:463:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXOCLASSES [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:475:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STONE [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:552:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_TYPE [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:600:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:626:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parent [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:705:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nreg [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:865:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ndoor [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:986:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lev_init [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:1120:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEV_EXT [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:1154:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_LEV_MAZE [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:1364:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_LEV_ROOMS [valueFlowBailoutIncompleteVar] glhack-1.2/util/lev_main.c:529:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/util/lev_main.c:543:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/util/lev_main.c:1029:6: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] glhack-1.2/util/lev_main.c:1028:6: note: outer condition: *monsters_p glhack-1.2/util/lev_main.c:1029:6: note: identical inner condition: *monsters_p glhack-1.2/util/lev_main.c:1063:6: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] glhack-1.2/util/lev_main.c:1062:6: note: outer condition: *objects_p glhack-1.2/util/lev_main.c:1063:6: note: identical inner condition: *objects_p glhack-1.2/util/lev_main.c:1095:6: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] glhack-1.2/util/lev_main.c:1094:6: note: outer condition: *engravings_p glhack-1.2/util/lev_main.c:1095:6: note: identical inner condition: *engravings_p glhack-1.2/util/lev_main.c:360:7: style: Parameter 's' can be declared as pointer to const. However it seems that 'get_room_type' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/lev_main.c:79:11: note: You might need to cast the function pointer here glhack-1.2/util/lev_main.c:360:7: note: Parameter 's' can be declared as pointer to const glhack-1.2/util/lev_main.c:376:7: style: Parameter 's' can be declared as pointer to const. However it seems that 'get_trap_type' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/lev_main.c:80:11: note: You might need to cast the function pointer here glhack-1.2/util/lev_main.c:376:7: note: Parameter 's' can be declared as pointer to const glhack-1.2/util/lev_main.c:392:7: style: Parameter 's' can be declared as pointer to const. However it seems that 'get_monster_id' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/lev_main.c:81:11: note: You might need to cast the function pointer here glhack-1.2/util/lev_main.c:392:7: note: Parameter 's' can be declared as pointer to const glhack-1.2/util/lev_main.c:412:7: style: Parameter 's' can be declared as pointer to const. However it seems that 'get_object_id' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/lev_main.c:82:11: note: You might need to cast the function pointer here glhack-1.2/util/lev_main.c:412:7: note: Parameter 's' can be declared as pointer to const glhack-1.2/util/lev_main.c:623:8: style: Variable 'last_parent' can be declared as pointer to const [constVariablePointer] glhack-1.2/util/lev_main.c:973:11: style: Parameter 'init' can be declared as pointer to const. However it seems that 'write_common_data' is a callback function, if 'init' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/lev_main.c:99:22: note: You might need to cast the function pointer here glhack-1.2/util/lev_main.c:973:11: note: Parameter 'init' can be declared as pointer to const glhack-1.2/util/makedefs.c:245:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:283:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:336:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:361:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:435:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_MAJOR [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:543:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_ID [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:551:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:836:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:943:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1081:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1240:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1288:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_BREA [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1312:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SGROUP [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1371:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1411:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1475:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEN_HDR [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1484:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_HDR [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1501:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_msg [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1515:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_msg [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1531:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1582:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEN_HDR [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1609:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1650:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1727:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1883:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/util/makedefs.c:1166:8: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] glhack-1.2/util/makedefs.c:1168:15: warning: %lx in format string (no. 1) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] glhack-1.2/util/makedefs.c:1030:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] glhack-1.2/util/makedefs.c:1541:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] glhack-1.2/util/makedefs.c:499:38: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] glhack-1.2/util/makedefs.c:501:56: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] glhack-1.2/util/makedefs.c:503:33: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] glhack-1.2/util/makedefs.c:266:7: style: Parameter 'options' can be declared as pointer to const. However it seems that 'do_makedefs' is a callback function, if 'options' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:152:12: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:266:7: note: Parameter 'options' can be declared as pointer to const glhack-1.2/util/makedefs.c:893:11: style: Parameter 'line' can be declared as pointer to const. However it seems that 'd_filter' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:174:22: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:893:11: note: Parameter 'line' can be declared as pointer to const glhack-1.2/util/makedefs.c:1022:11: style: Parameter 'line' can be declared as pointer to const. However it seems that 'h_filter' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:175:22: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:1022:11: note: Parameter 'line' can be declared as pointer to const glhack-1.2/util/makedefs.c:1214:8: style: Parameter 's' can be declared as pointer to const. However it seems that 'check_control' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:172:18: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:1214:8: note: Parameter 's' can be declared as pointer to const glhack-1.2/util/makedefs.c:1285:28: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'ranged_attk' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:176:22: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:1285:28: note: Parameter 'ptr' can be declared as pointer to const glhack-1.2/util/makedefs.c:1404:12: style: Variable 'nam' can be declared as pointer to const [constVariablePointer] glhack-1.2/util/makedefs.c:1455:8: style: Parameter 's' can be declared as pointer to const. However it seems that 'qt_comment' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:180:22: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:1455:8: note: Parameter 's' can be declared as pointer to const glhack-1.2/util/makedefs.c:1463:8: style: Parameter 's' can be declared as pointer to const. However it seems that 'qt_control' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:181:22: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:1463:8: note: Parameter 's' can be declared as pointer to const glhack-1.2/util/makedefs.c:1470:8: style: Parameter 'code' can be declared as pointer to const. However it seems that 'get_hdr' is a callback function, if 'code' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:182:18: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:1470:8: note: Parameter 'code' can be declared as pointer to const glhack-1.2/util/makedefs.c:1482:8: style: Parameter 'code' can be declared as pointer to const. However it seems that 'new_id' is a callback function, if 'code' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:183:22: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:1482:8: note: Parameter 'code' can be declared as pointer to const glhack-1.2/util/makedefs.c:1510:8: style: Parameter 's' can be declared as pointer to const. However it seems that 'new_msg' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:185:19: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:1510:8: note: Parameter 's' can be declared as pointer to const glhack-1.2/util/makedefs.c:1568:8: style: Parameter 's' can be declared as pointer to const. However it seems that 'do_qt_text' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:187:19: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:1568:8: note: Parameter 's' can be declared as pointer to const glhack-1.2/util/makedefs.c:1704:7: style: Parameter 'name' can be declared as pointer to const. However it seems that 'limit' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/makedefs.c:200:20: note: You might need to cast the function pointer here glhack-1.2/util/makedefs.c:1704:7: note: Parameter 'name' can be declared as pointer to const glhack-1.2/util/panic.c:46:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] glhack-1.2/util/recover.c:81:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/util/recover.c:171:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] glhack-1.2/util/recover.c:184:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCMASK [valueFlowBailoutIncompleteVar] glhack-1.2/util/recover.c:193:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glhack-1.2/util/recover.c:234:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/util/recover.c:153:7: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] glhack-1.2/util/recover.c:75:6: style: Condition '!dir' is always true [knownConditionTrueFalse] glhack-1.2/util/recover.c:69:20: note: Assignment 'dir=(char*)0', assigned value is 0 glhack-1.2/util/recover.c:75:6: note: Condition '!dir' is always true glhack-1.2/util/recover.c:208:7: style: Parameter 'basename' can be declared as pointer to const. However it seems that 'restore_savefile' is a callback function, if 'basename' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/util/recover.c:24:11: note: You might need to cast the function pointer here glhack-1.2/util/recover.c:208:7: note: Parameter 'basename' can be declared as pointer to const glhack-1.2/util/recover.c:237:32: error: Uninitialized variable: hpid [uninitvar] glhack-1.2/util/recover.c:244:32: error: Uninitialized variable: savelev [uninitvar] glhack-1.2/util/recover.c:254:33: error: Uninitialized variable: version_data [uninitvar] glhack-1.2/win/Qt/qt_clust.cpp:35:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cluster [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_clust.cpp:40:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_clust.cpp:61:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_clust.cpp:167:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cluster [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:187:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPress [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:669:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theglyphs [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:704:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable theglyphs [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:713:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable emit [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:725:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:740:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable normal [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:747:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable normalfixed [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:754:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable large [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:772:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:773:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:778:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:797:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:805:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:813:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:820:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:826:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascii [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:832:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:841:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:842:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:846:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable click [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:852:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable click [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:853:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable click [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:854:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable click [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:858:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:891:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gray [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:908:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable roles [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:923:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable races [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:933:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:938:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expanding [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:976:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1009:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1169:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plname [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1204:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable initrole [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1222:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable races [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1251:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROLE_GENDERS [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1284:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable initgend [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1289:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable initalign [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1301:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_Quit [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1307:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_Rand [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1313:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fully_specified_role [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1339:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cancel [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1402:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1440:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1457:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1466:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1485:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable messages_rect [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1493:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable messages [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1501:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable messages [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1528:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rogue_font [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1543:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable viewport [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1560:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_stone [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1574:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLICK_1 [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1583:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LeftButton [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1625:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1763:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable change [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1841:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1862:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1929:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1934:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1961:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_inited [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1969:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_inited [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1973:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1977:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1984:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:1995:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2006:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable changed [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2018:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable changed [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2057:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2069:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2081:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2096:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icon [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2103:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2112:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hl_bad [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2117:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable turn_count [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2121:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable low_is_good [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2125:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable turn_count [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2133:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2146:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2155:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2219:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p_str [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2321:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cursy [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2326:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cursy [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2462:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2649:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable emit [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2691:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lightGray [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2730:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dialog [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2752:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_width [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2758:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dialog [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2762:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable itemcount [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2776:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2787:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next_accel [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2832:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_fixed [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2949:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftButton [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2964:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable itemcount [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2970:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable itemcount [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2976:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable itemcount [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2982:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keysource [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:2993:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable item [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3009:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable item [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3083:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable item [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3117:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pressed [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3125:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pressed [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3175:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixmap [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3186:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3197:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable riplines [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3227:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3280:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3341:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_rip [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3347:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_fixed [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3394:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_fixed [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3415:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keysource [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3441:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msec [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3462:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_room [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3484:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3548:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menubar [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3857:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3882:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable message [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3888:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3895:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3901:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3915:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invusage [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3921:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3930:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable message [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3958:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirkey [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:3978:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Down [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4033:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable something_worth_saving [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4056:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable message [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4088:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable choices [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4282:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_tile_file [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4317:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tiles_per_row [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4334:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4381:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable actual [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4388:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable actual [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4393:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable actual [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4398:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable actual [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4404:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable actual [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4411:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable actual [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4417:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable actual [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4422:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable actual [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4427:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable actual [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4462:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_splash_screen [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4522:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ManyColor [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4555:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignCenter [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4598:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4651:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable instance [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4678:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clickbuffer [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4749:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keybuffer [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4825:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable main [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4844:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MAP [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4875:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable main [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4889:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable main [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4922:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MESSAGE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4994:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keybuffer [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:5008:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:5073:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extcmdlist [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:5099:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keybuffer [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:5135:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyRelease [valueFlowBailoutIncompleteVar] glhack-1.2/win/Qt/qt_win.cpp:4931:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/Qt/qt_win.cpp:4938:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/Qt/qt_win.cpp:4939:9: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/Qt/qt_win.cpp:4971:29: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/Qt/qt_win.cpp:929:5: style: Class 'NhPSListView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glhack-1.2/win/Qt/qt_win.cpp:1831:5: style: Class 'NetHackQtScrollText' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glhack-1.2/win/Qt/qt_win.cpp:3146:5: style: Class 'NetHackQtTextListBox' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] glhack-1.2/win/Qt/qt_win.cpp:1221:12: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:1226:7: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:1231:12: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:1236:7: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:1689:7: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:2776:19: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:2917:14: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:2929:14: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:3822:7: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:4606:35: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:4793:37: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:5136:10: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:5141:23: style: C-style pointer casting [cstyleCast] glhack-1.2/win/Qt/qt_win.cpp:2363:6: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] glhack-1.2/win/Qt/qt_win.cpp:2362:34: note: x is assigned glhack-1.2/win/Qt/qt_win.cpp:2363:6: note: x is overwritten glhack-1.2/win/Qt/qt_win.cpp:2376:6: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] glhack-1.2/win/Qt/qt_win.cpp:2375:34: note: x is assigned glhack-1.2/win/Qt/qt_win.cpp:2376:6: note: x is overwritten glhack-1.2/win/Qt/qt_win.cpp:2385:6: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] glhack-1.2/win/Qt/qt_win.cpp:2384:36: note: x is assigned glhack-1.2/win/Qt/qt_win.cpp:2385:6: note: x is overwritten glhack-1.2/win/Qt/qt_win.cpp:2398:6: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] glhack-1.2/win/Qt/qt_win.cpp:2397:39: note: x is assigned glhack-1.2/win/Qt/qt_win.cpp:2398:6: note: x is overwritten glhack-1.2/win/Qt/qt_win.cpp:3312:15: style: The scope of the variable 'i' can be reduced. [variableScope] glhack-1.2/win/Qt/qt_win.cpp:4171:15: style: The scope of the variable 'button' can be reduced. [variableScope] glhack-1.2/win/Qt/qt_win.cpp:4191:10: style: The scope of the variable 'lb' can be reduced. [variableScope] glhack-1.2/win/Qt/qt_win.cpp:4213:8: style: The scope of the variable 'ch_esc' can be reduced. [variableScope] glhack-1.2/win/Qt/qt_win.cpp:4213:8: style: Local variable 'ch_esc' shadows outer variable [shadowVariable] glhack-1.2/win/Qt/qt_win.cpp:4204:7: note: Shadowed declaration glhack-1.2/win/Qt/qt_win.cpp:4213:8: note: Shadow variable glhack-1.2/win/Qt/qt_win.cpp:2786:14: style: Variable 'accel' can be declared as const array [constVariable] glhack-1.2/win/Qt/qt_win.cpp:4168:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/Qt/qt_win.cpp:4168:17: style: Variable 'y' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/Qt/qt_win.cpp:4182:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/Qt/qt_win.cpp:4183:4: style: Variable 'y' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/Qt/qt_win.cpp:4185:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/Qt/qt_win.cpp:4191:12: style: Variable 'lb' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/Qt/qt_win.cpp:4196:8: style: Variable 'lb' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/Qt/tileedit.h:24:8: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro] glhack-1.2/win/X11/Window.c:113:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNexposeCallback [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/Window.c:120:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNresizeCallback [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/Window.c:91:15: style: Parameter 'event' can be declared as pointer to const. However it seems that 'no_op' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/Window.c:99:15: note: You might need to cast the function pointer here glhack-1.2/win/X11/Window.c:91:15: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/X11/Window.c:92:15: style: Parameter 'params' can be declared as pointer to const. However it seems that 'no_op' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/Window.c:99:15: note: You might need to cast the function pointer here glhack-1.2/win/X11/Window.c:92:15: note: Parameter 'params' can be declared as pointer to const glhack-1.2/win/X11/Window.c:93:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'no_op' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/Window.c:99:15: note: You might need to cast the function pointer here glhack-1.2/win/X11/Window.c:93:15: note: Parameter 'num_params' can be declared as pointer to const glhack-1.2/win/X11/dialogs.c:101:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/dialogs.c:215:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/dialogs.c:229:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/dialogs.c:247:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfont [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/dialogs.c:304:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/tile2x11.c:31:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ColorMap [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/tile2x11.c:53:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILE_Y [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/tile2x11.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colorsinmap [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/tile2x11.c:117:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/tile2x11.c:181:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILE_X [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:190:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WINDOWS [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:209:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WINDOWS [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:288:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XColor [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:359:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:446:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:480:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfont [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:510:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:537:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable toplines [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:578:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_ON_KEY_PRESS [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:586:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_ON_KEY_OR_BUTTON_PRESS [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:615:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_ERR [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:698:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:762:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MESSAGE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:802:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_INVEN [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:817:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable toplevel [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:831:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MESSAGE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:837:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable toplevel [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:959:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WINDOWS [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1049:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1085:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1109:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_ON_SENT_EVENT [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1134:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plname [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1159:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plname [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1176:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNallowShellResize [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1224:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1244:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1259:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1278:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNallowShellResize [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1357:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1480:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_KEY_STRING [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1507:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1523:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable input_func [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1590:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QBUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1695:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_STATUS [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1714:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MAP [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1727:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VisibilityFullyObscured [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1752:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNallowShellResize [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1968:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:2030:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNshown [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winX.c:1541:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winX.c:1543:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winX.c:1611:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winX.c:1619:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winX.c:1620:9: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winX.c:389:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] glhack-1.2/win/X11/winX.c:399:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] glhack-1.2/win/X11/winX.c:409:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] glhack-1.2/win/X11/winX.c:421:17: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] glhack-1.2/win/X11/winX.c:336:11: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/X11/winX.c:433:11: style: Parameter 'num_args' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/X11/winX.c:1117:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'X11_hangup' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:901:20: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1117:13: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1118:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'X11_hangup' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:901:20: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1118:13: note: Parameter 'params' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1119:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'X11_hangup' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:901:20: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1119:15: note: Parameter 'num_params' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1316:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'delete_file' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:882:21: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1316:13: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1317:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'delete_file' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:882:21: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1317:13: note: Parameter 'params' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1318:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'delete_file' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:882:21: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1318:15: note: Parameter 'num_params' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1329:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'dismiss_file' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:881:22: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1329:13: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1330:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'dismiss_file' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:881:22: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1330:13: note: Parameter 'params' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1331:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'dismiss_file' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:881:22: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1331:15: note: Parameter 'num_params' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1500:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'yn_delete' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:891:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1500:13: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1501:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'yn_delete' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:891:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1501:13: note: Parameter 'params' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1502:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'yn_delete' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:891:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1502:15: note: Parameter 'num_params' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1725:23: style: Variable 'vis_event' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winX.c:1999:15: style: Parameter 'params' can be declared as pointer to const. However it seems that 'nh_keyscroll' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:903:17: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1999:15: note: Parameter 'params' can be declared as pointer to const glhack-1.2/win/X11/winX.c:1019:36: error: Uninitialized variable: hints [uninitvar] glhack-1.2/win/X11/winmap.c:84:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:181:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable toplevel [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:206:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable toplevel [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:256:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:575:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNshown [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:695:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:742:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCFunction [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:778:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:844:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROWNO [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:867:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_stone [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:902:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:972:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_KEY_STRING [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:1072:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable click_x [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:1147:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROWNO [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:1176:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROWNO [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:1324:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:1340:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text_map_info_t [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:1379:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MAP [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:1555:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_NONE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:1584:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable click_button [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmap.c:248:20: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmap.c:967:19: style: Variable 'button' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmap.c:1066:21: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmap.c:1067:24: style: Variable 'map_info' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmap.c:1096:24: style: Variable 'map_info' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmap.c:1099:19: style: Variable 'event' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmap.c:1603:14: style: Variable 'any' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmap.c:540:12: style: Variable 'tile_info' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/X11/winmenu.c:143:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PICK_ONE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmenu.c:158:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmenu.c:240:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MENU_SEARCH [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmenu.c:388:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmenu.c:524:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmenu.c:574:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmenu.c:600:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmenu.c:665:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmenu.c:693:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QBUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmenu.c:1125:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MENU [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmenu.c:1143:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_NONE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmenu.c:233:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmenu.c:273:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmenu.c:724:27: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmenu.c:93:26: style: Variable 'lrs' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmenu.c:386:25: style: Variable 'menu_info' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmenu.c:959:18: style: Variable 'viewport_widget' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/X11/winmesg.c:65:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNjumpProc [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmesg.c:81:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MESSAGE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmesg.c:218:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_NONE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmesg.c:240:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmesg.c:318:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line_element [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmesg.c:510:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmesg.c:547:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmesg.c:563:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCFunction [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmesg.c:605:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmesg.c:547:57: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] glhack-1.2/win/X11/winmesg.c:420:21: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/X11/winmesg.c:533:19: style: Variable 'event' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmisc.c:91:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:101:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:123:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QBUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:165:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QBUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:226:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:258:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:269:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QBUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:546:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabExclusive [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:580:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:627:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:639:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:672:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:719:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extcmdlist [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:795:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNallowShellResize [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winmisc.c:131:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:139:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:140:23: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:141:23: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:143:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:145:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:172:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:180:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:181:23: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:182:23: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:184:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:186:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:213:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:214:23: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:216:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:218:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:245:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:246:23: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:248:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:250:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:659:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/winmisc.c:285:60: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] glhack-1.2/win/X11/winmisc.c:346:58: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] glhack-1.2/win/X11/winmisc.c:122:15: style: Variable 'mark' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmisc.c:164:15: style: Variable 'mark' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmisc.c:205:15: style: Variable 'mark' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmisc.c:206:17: style: Variable 'gendchars' can be declared as const array [constVariable] glhack-1.2/win/X11/winmisc.c:237:15: style: Variable 'mark' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/winmisc.c:238:17: style: Variable 'algnchars' can be declared as const array [constVariable] glhack-1.2/win/X11/winmisc.c:621:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'popup_delete' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winmisc.c:70:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winmisc.c:621:13: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/X11/winmisc.c:622:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'popup_delete' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winmisc.c:70:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winmisc.c:622:13: note: Parameter 'params' can be declared as pointer to const glhack-1.2/win/X11/winmisc.c:623:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'popup_delete' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winmisc.c:70:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winmisc.c:623:15: note: Parameter 'num_params' can be declared as pointer to const glhack-1.2/win/X11/winstat.c:55:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_STATUS [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:142:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_NONE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:174:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:299:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:318:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNforeground [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:333:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:579:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_STR [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:732:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:776:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:800:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:823:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:896:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:958:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winstat.c:569:21: style: Parameter 'wp' can be declared as pointer to const. However it seems that 'update_fancy_status' is a callback function, if 'wp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winstat.c:40:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winstat.c:569:21: note: Parameter 'wp' can be declared as pointer to const glhack-1.2/win/X11/wintext.c:73:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/wintext.c:101:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_x_event [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/wintext.c:206:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/wintext.c:251:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_TEXT [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/wintext.c:331:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_NONE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/wintext.c:410:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable START_SIZE [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/wintext.c:381:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/wintext.c:395:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/X11/wintext.c:65:25: style: Variable 'text_info' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/wintext.c:93:25: style: Variable 'text_info' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/X11/wintext.c:136:21: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/X11/winval.c:45:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderWidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winval.c:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winval.c:93:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winval.c:106:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winval.c:121:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winval.c:134:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winval.c:147:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] glhack-1.2/win/X11/winval.c:169:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNforeground [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/bitmfile.c:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMG [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/gr_rect.c:15:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRECT [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/gr_rect.c:148:35: style: Parameter 'dr' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gem/gr_rect.c:151:29: style: Parameter 'frame' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gem/gr_rect.c:151:42: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gem/gr_rect.c:159:41: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gem/gr_rect.c:163:44: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gem/gr_rect.c:179:28: style: Parameter 'area' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gem/load_img.c:29:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable planes [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/load_img.c:50:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable planes [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/load_img.c:79:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable planes [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/load_img.c:152:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR_FILE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/load_img.c:144:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gem/load_img.c:147:8: style: Variable 'pattern' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/gem/tile2img.c:61:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/tile2img.c:125:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ColorMap [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/tile2img.c:88:3: warning: If memory allocation fails, then there is a possible null pointer dereference: Bild_daten [nullPointerOutOfMemory] glhack-1.2/win/gem/tile2img.c:86:36: note: Assuming allocation function fails glhack-1.2/win/gem/tile2img.c:86:13: note: Assignment 'Bild_daten=(unsigned int**)malloc(1200*sizeof(unsigned int*))', assigned value is 0 glhack-1.2/win/gem/tile2img.c:88:3: note: Null pointer dereference glhack-1.2/win/gem/tile2img.c:56:7: style: Parameter 'argv' can be declared as const array [constParameter] glhack-1.2/win/gem/wingem1.c:241:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_ERR [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:253:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:282:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable desk [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:294:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSGWIN [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:321:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_ERR [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:381:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_h [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:390:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ibm_font_id [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:471:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fonts_loaded [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:486:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:528:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_SOLID [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:534:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WHITE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:546:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:611:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable screen [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:624:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD_TRANS [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:655:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD_REPLACE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:708:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD_REPLACE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:743:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD_REPLACE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:775:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD_REPLACE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:828:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD_TRANS [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:861:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_TREE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:904:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:937:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable planes [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1092:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_handle [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1119:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_ERR [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1142:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ABOUT [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1151:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAMEGET [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1190:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCANRET [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1208:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MU_KEYBD [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1228:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MU_KEYBD [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1255:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGER [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1330:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLACK [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1392:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1447:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WHITE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1463:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_ERR [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1627:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1663:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MU_MESAG [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1701:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1885:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSLIDE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1908:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSGWIN [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1921:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUSLINE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1942:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOVER [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:1995:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable W_ABANDON [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2244:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOVER [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2257:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_TEXT [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2313:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_ERR [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2363:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_ERR [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2389:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MU_KEYBD [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2407:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2566:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_ERR [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2583:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_ERR [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2620:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2661:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_handle [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2687:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WHITE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2699:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINEGET [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2748:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MU_KEYBD [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2777:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRECTION [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2807:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MU_MESAG [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2842:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MU_KEYBD [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:2870:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YNCHOICE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/wingem1.c:488:6: style: Condition 'todo' is always true [knownConditionTrueFalse] glhack-1.2/win/gem/wingem1.c:484:11: note: Assignment 'todo=!0', assigned value is 1 glhack-1.2/win/gem/wingem1.c:488:6: note: Condition 'todo' is always true glhack-1.2/win/gem/wingem1.c:1369:3: error: Common realloc mistake: 'text_lines' nulled but not freed upon failure [memleakOnRealloc] glhack-1.2/win/gem/wingem1.c:1382:16: warning: Either the condition 'str' is redundant or there is possible null pointer dereference: str. [nullPointerRedundantCheck] glhack-1.2/win/gem/wingem1.c:1377:5: note: Assuming that condition 'str' is not redundant glhack-1.2/win/gem/wingem1.c:1382:16: note: Null pointer dereference glhack-1.2/win/gem/wingem1.c:544:7: style: Redundant assignment of 'first' to itself. [selfAssignment] glhack-1.2/win/gem/wingem1.c:1198:5: style: Redundant assignment of 'xev' to itself. [selfAssignment] glhack-1.2/win/gem/wingem1.c:1207:5: style: Redundant assignment of 'xev' to itself. [selfAssignment] glhack-1.2/win/gem/wingem1.c:1216:5: style: Redundant assignment of 'xev' to itself. [selfAssignment] glhack-1.2/win/gem/wingem1.c:1280:5: style: Redundant assignment of 'win' to itself. [selfAssignment] glhack-1.2/win/gem/wingem1.c:1302:5: style: Redundant assignment of 'win' to itself. [selfAssignment] glhack-1.2/win/gem/wingem1.c:1363:8: style: Redundant assignment of 'window' to itself. [selfAssignment] glhack-1.2/win/gem/wingem1.c:539:54: style: Parameter 'area' can be declared as pointer to const. However it seems that 'win_draw_map' is a callback function, if 'area' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gem/wingem1.c:2119:135: note: You might need to cast the function pointer here glhack-1.2/win/gem/wingem1.c:539:54: note: Parameter 'area' can be declared as pointer to const glhack-1.2/win/gem/wingem1.c:905:49: style: Variable 'p_cmd' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/gem/wingem1.c:1224:9: style: Parameter 'xev' can be declared as pointer to const. However it seems that 'More_Handler' is a callback function, if 'xev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gem/wingem1.c:1258:27: note: You might need to cast the function pointer here glhack-1.2/win/gem/wingem1.c:1224:9: note: Parameter 'xev' can be declared as pointer to const glhack-1.2/win/gem/wingem1.c:1230:12: style: Variable 'dinf' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/gem/wingem1.c:1461:14: style: Variable 'rest' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/gem/wingem1.c:1625:11: style: Variable 'dinf' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/gem/wingem1.c:1880:11: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/gem/wingem1.c:2673:14: style: Variable 'gem_color' can be declared as const array [constVariable] glhack-1.2/win/gem/wingem1.c:2743:9: style: Parameter 'xev' can be declared as pointer to const. However it seems that 'Dia_Handler' is a callback function, if 'xev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gem/wingem1.c:2779:25: note: You might need to cast the function pointer here glhack-1.2/win/gem/wingem1.c:2743:9: note: Parameter 'xev' can be declared as pointer to const glhack-1.2/win/gem/wingem1.c:2838:9: style: Parameter 'xev' can be declared as pointer to const. However it seems that 'single_handler' is a callback function, if 'xev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gem/wingem1.c:2928:29: note: You might need to cast the function pointer here glhack-1.2/win/gem/wingem1.c:2838:9: note: Parameter 'xev' can be declared as pointer to const glhack-1.2/win/gem/wingem1.c:517:8: style: Variable 'todo' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/gem/wingem1.c:544:7: style: Variable 'first' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/gem/wingem1.c:704:22: style: Unused variable: starty [unusedVariable] glhack-1.2/win/gem/wingem1.c:1198:5: style: Variable 'xev' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/gem/wingem1.c:1207:5: style: Variable 'xev' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/gem/wingem1.c:1216:5: style: Variable 'xev' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/gem/wingem1.c:1280:5: style: Variable 'win' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/gem/wingem1.c:1302:5: style: Variable 'win' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/gem/wingem1.c:1363:8: style: Variable 'window' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/gem/wingem1.c:1664:29: style: Unused variable: y_wo [unusedVariable] glhack-1.2/win/gem/wingem1.c:1664:35: style: Unused variable: i [unusedVariable] glhack-1.2/win/gem/wingem1.c:1935:11: style: Unused variable: z_ob [unusedVariable] glhack-1.2/win/gem/xpm2img.c:98:1: portability: Omitted return type of function 'fopen_xpm_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glhack-1.2/win/gem/xpm2img.c:35:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/xpm2img.c:85:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/xpm2img.c:117:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/gem/xpm2img.c:130:12: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] glhack-1.2/win/gem/xpm2img.c:130:12: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] glhack-1.2/win/gem/xpm2img.c:130:12: warning: %x in format string (no. 4) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] glhack-1.2/win/gem/xpm2img.c:51:3: warning: If memory allocation fails, then there is a possible null pointer dereference: Bild_daten [nullPointerOutOfMemory] glhack-1.2/win/gem/xpm2img.c:49:36: note: Assuming allocation function fails glhack-1.2/win/gem/xpm2img.c:49:13: note: Assignment 'Bild_daten=(unsigned int**)malloc((long)height*sizeof(unsigned int*))', assigned value is 0 glhack-1.2/win/gem/xpm2img.c:51:3: note: Null pointer dereference glhack-1.2/win/gem/xpm2img.c:53:9: style: Variable 'xb' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/gem/xpm2img.c:100:8: style: Variable 'xb' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/gem/xpm2img.c:32:16: style: Unused variable: planeno [unusedVariable] glhack-1.2/win/gem/xpm2img.c:54:7: style: Unused variable: plane_offset [unusedVariable] glhack-1.2/win/gnome/gnbind.c:104:0: error: #error HACKDIR is not defined! [preprocessorErrorDirective] glhack-1.2/win/gnome/gnbind.c:104:5: error: #error HACKDIR is not defined! [preprocessorErrorDirective] glhack-1.2/win/gnome/gnglyph.c:62:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILES_PER_ROW [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnglyph.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TILES_PER_ROW [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmain.c:65:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MESSAGE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmain.c:125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmain.c:614:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmain.c:731:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_STRING [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmain.c:832:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_WORN [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmain.c:53:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmain.c:84:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmain.c:111:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmain.c:145:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmain.c:752:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmain.c:754:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmain.c:758: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] glhack-1.2/win/gnome/gnmain.c:759: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] glhack-1.2/win/gnome/gnmain.c:781: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] glhack-1.2/win/gnome/gnmain.c:90:32: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'ghack_new_game' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnmain.c:112:21: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnmain.c:90:32: note: Parameter 'widget' can be declared as pointer to const glhack-1.2/win/gnome/gnmain.c:152:30: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'ghack_settings_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnmain.c:185:30: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnmain.c:152:30: note: Parameter 'widget' can be declared as pointer to const glhack-1.2/win/gnome/gnmain.c:152:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ghack_settings_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnmain.c:185:30: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnmain.c:152:47: note: Parameter 'data' can be declared as pointer to const glhack-1.2/win/gnome/gnmain.c:603:17: style: Variable 'options' can be declared as const array [constVariable] glhack-1.2/win/gnome/gnmain.c:814:46: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gnome/gnmain.c:820:44: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gnome/gnmap.c:145:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmap.c:351:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mtimedone [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmap.c:419:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uy [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmap.c:99: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] glhack-1.2/win/gnome/gnmap.c:108: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] glhack-1.2/win/gnome/gnmap.c:265:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmap.c:272:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmap.c:276:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmap.c:280:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmap.c:284:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmap.c:288:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmap.c:292:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmap.c:296:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmap.c:300:3: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmap.c:380:30: style: Parameter 'win' can be declared as pointer to const. However it seems that 'ghack_map_putstr' is a callback function, if 'win' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnmap.c:278:9: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnmap.c:380:30: note: Parameter 'win' can be declared as pointer to const glhack-1.2/win/gnome/gnmap.c:380:72: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ghack_map_putstr' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnmap.c:278:9: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnmap.c:380:72: note: Parameter 'data' can be declared as pointer to const glhack-1.2/win/gnome/gnmap.c:406:21: style: Variable 'group' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/gnome/gnmap.c:411:9: style: Variable 'group' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/gnome/gnmenu.c:72:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_VISIBILITY_FULL [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmenu.c:225:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PICK_NONE [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmenu.c:279:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmenu.c:651:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extcmdlist [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmenu.c:730:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extcmdlist [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmenu.c:203:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:585:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:589:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:593:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:597:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:601:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:605:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:609:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:613:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:617:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:621:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:707:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:723:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmenu.c:37:56: style: Parameter 'event' can be declared as pointer to const. However it seems that 'ghack_menu_window_key' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnmenu.c:622:24: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnmenu.c:37:56: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/gnome/gnmenu.c:84:36: style: Parameter 'clist' can be declared as pointer to const. However it seems that 'ghack_menu_row_selected' is a callback function, if 'clist' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnmenu.c:724:10: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnmenu.c:84:36: note: Parameter 'clist' can be declared as pointer to const glhack-1.2/win/gnome/gnmenu.c:84:71: style: Parameter 'event' can be declared as pointer to const. However it seems that 'ghack_menu_row_selected' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnmenu.c:724:10: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnmenu.c:84:71: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/gnome/gnmenu.c:160:60: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ghack_menu_window_start_menu' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnmenu.c:602:24: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnmenu.c:160:60: note: Parameter 'data' can be declared as pointer to const glhack-1.2/win/gnome/gnmenu.c:459:58: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ghack_menu_window_end_menu' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnmenu.c:610:24: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnmenu.c:459:58: note: Parameter 'data' can be declared as pointer to const glhack-1.2/win/gnome/gnmenu.c:282:22: style: Variable 'nCurrentRow' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/gnome/gnmesg.c:78:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnmesg.c:86:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmesg.c:90:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmesg.c:94:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnmesg.c:35:47: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gnome/gnmesg.c:35:61: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gnome/gnmesg.c:40:46: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gnome/gnmesg.c:41:43: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gnome/gnopts.c:72:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnopts.c:48:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnopts.c:64:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnopts.c:18:49: style: Parameter 'event' can be declared as pointer to const. However it seems that 'opt_sel_key_hit' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnopts.c:49:9: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnopts.c:18:49: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/gnome/gnopts.c:30:32: style: Parameter 'cList' can be declared as pointer to const. However it seems that 'opt_sel_row_selected' is a callback function, if 'cList' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnopts.c:65:4: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnopts.c:30:32: note: Parameter 'cList' can be declared as pointer to const glhack-1.2/win/gnome/gnopts.c:30:67: style: Parameter 'event' can be declared as pointer to const. However it seems that 'opt_sel_row_selected' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnopts.c:65:4: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnopts.c:30:67: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/gnome/gnplayer.c:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_VISIBILITY_FULL [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnplayer.c:47:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNOME_STOCK_BUTTON_OK [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnplayer.c:52:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnplayer.c:68:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnplayer.c:15:53: style: Parameter 'event' can be declared as pointer to const. However it seems that 'player_sel_key_hit' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnplayer.c:53:23: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnplayer.c:15:53: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/gnome/gnplayer.c:31:36: style: Parameter 'clist' can be declared as pointer to const. However it seems that 'player_sel_row_selected' is a callback function, if 'clist' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnplayer.c:69:4: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnplayer.c:31:36: note: Parameter 'clist' can be declared as pointer to const glhack-1.2/win/gnome/gnplayer.c:31:71: style: Parameter 'event' can be declared as pointer to const. However it seems that 'player_sel_row_selected' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnplayer.c:69:4: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnplayer.c:31:71: note: Parameter 'event' can be declared as pointer to const glhack-1.2/win/gnome/gnsignal.c:108:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_BOOL [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnsignal.c:203:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnsignal.c:253:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnsignal.c:179:39: style: Parameter 'data' can be declared as pointer to const. However it seems that 'timeout_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnsignal.c:190:6: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnsignal.c:179:39: note: Parameter 'data' can be declared as pointer to const glhack-1.2/win/gnome/gnsignal.c:249:56: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/gnome/gnstatus.c:170:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_NEUTRAL [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnstatus.c:430:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnstatus.c:233: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] glhack-1.2/win/gnome/gnstatus.c:235: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] glhack-1.2/win/gnome/gnstatus.c:242: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] glhack-1.2/win/gnome/gnstatus.c:249: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] glhack-1.2/win/gnome/gnstatus.c:256: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] glhack-1.2/win/gnome/gnstatus.c:264: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] glhack-1.2/win/gnome/gnstatus.c:272: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] glhack-1.2/win/gnome/gnstatus.c:334: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] glhack-1.2/win/gnome/gnstatus.c:336: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] glhack-1.2/win/gnome/gnstatus.c:343:18: 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] glhack-1.2/win/gnome/gnstatus.c:350: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] glhack-1.2/win/gnome/gnstatus.c:357: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] glhack-1.2/win/gnome/gnstatus.c:364: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] glhack-1.2/win/gnome/gnstatus.c:371: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] glhack-1.2/win/gnome/gnstatus.c:378: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] glhack-1.2/win/gnome/gnstatus.c:385:18: 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] glhack-1.2/win/gnome/gnstatus.c:396:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnstatus.c:401:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnstatus.c:406:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnstatus.c:411:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnstatus.c:415:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnstatus.c:460:5: style: gtk_label_get is deprecated and should not be used in newly-written code. [prohibitedgtk_label_getCalled] glhack-1.2/win/gnome/gnstatus.c:115:44: style: Parameter 'win' can be declared as pointer to const. However it seems that 'ghack_status_window_clear' is a callback function, if 'win' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnstatus.c:408:6: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnstatus.c:115:44: note: Parameter 'win' can be declared as pointer to const glhack-1.2/win/gnome/gnstatus.c:115:58: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ghack_status_window_clear' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnstatus.c:408:6: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnstatus.c:115:58: note: Parameter 'data' can be declared as pointer to const glhack-1.2/win/gnome/gnstatus.c:134:48: style: Parameter 'win' can be declared as pointer to const. However it seems that 'ghack_status_window_cursor_to' is a callback function, if 'win' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnstatus.c:413:6: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnstatus.c:134:48: note: Parameter 'win' can be declared as pointer to const glhack-1.2/win/gnome/gnstatus.c:134:76: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ghack_status_window_cursor_to' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnstatus.c:413:6: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnstatus.c:134:76: note: Parameter 'data' can be declared as pointer to const glhack-1.2/win/gnome/gnstatus.c:139:49: style: Parameter 'win' can be declared as pointer to const. However it seems that 'ghack_status_window_put_string' is a callback function, if 'win' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnstatus.c:403:6: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnstatus.c:139:49: note: Parameter 'win' can be declared as pointer to const glhack-1.2/win/gnome/gnstatus.c:139:91: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ghack_status_window_put_string' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/gnome/gnstatus.c:403:6: note: You might need to cast the function pointer here glhack-1.2/win/gnome/gnstatus.c:139:91: note: Parameter 'data' can be declared as pointer to const glhack-1.2/win/gnome/gntext.c:92:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rip_xpm [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gntext.c:54:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gntext.c:124:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gntext.c:128:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gntext.c:132:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gntext.c:150:48: style:inconclusive: Function 'ghack_text_window_rip_string' argument 1 names different: declaration 'ripString' definition 'string'. [funcArgNamesDifferent] glhack-1.2/win/gnome/gntext.h:19:48: note: Function 'ghack_text_window_rip_string' argument 1 names different: declaration 'ripString' definition 'string'. glhack-1.2/win/gnome/gntext.c:150:48: note: Function 'ghack_text_window_rip_string' argument 1 names different: declaration 'ripString' definition 'string'. glhack-1.2/win/gnome/gnworn.c:83:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_stone [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnworn.c:94:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable twoweap [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnworn.c:48: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] glhack-1.2/win/gnome/gnworn.c:68:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] glhack-1.2/win/gnome/gnyesno.c:14:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/gnome/gnyesno.c:10:38: style:inconclusive: Function 'ghack_yes_no_dialog' argument 1 names different: declaration 'szQuestionStr' definition 'question'. [funcArgNamesDifferent] glhack-1.2/win/gnome/gnyesno.h:8:38: note: Function 'ghack_yes_no_dialog' argument 1 names different: declaration 'szQuestionStr' definition 'question'. glhack-1.2/win/gnome/gnyesno.c:10:38: note: Function 'ghack_yes_no_dialog' argument 1 names different: declaration 'szQuestionStr' definition 'question'. glhack-1.2/win/gnome/gnyesno.c:11:21: style:inconclusive: Function 'ghack_yes_no_dialog' argument 2 names different: declaration 'szChoicesStr' definition 'choices'. [funcArgNamesDifferent] glhack-1.2/win/gnome/gnyesno.h:9:14: note: Function 'ghack_yes_no_dialog' argument 2 names different: declaration 'szChoicesStr' definition 'choices'. glhack-1.2/win/gnome/gnyesno.c:11:21: note: Function 'ghack_yes_no_dialog' argument 2 names different: declaration 'szChoicesStr' definition 'choices'. glhack-1.2/win/gnome/gnyesno.c:11:34: style:inconclusive: Function 'ghack_yes_no_dialog' argument 3 names different: declaration 'nDefault' definition 'def'. [funcArgNamesDifferent] glhack-1.2/win/gnome/gnyesno.h:9:32: note: Function 'ghack_yes_no_dialog' argument 3 names different: declaration 'nDefault' definition 'def'. glhack-1.2/win/gnome/gnyesno.c:11:34: note: Function 'ghack_yes_no_dialog' argument 3 names different: declaration 'nDefault' definition 'def'. glhack-1.2/win/share/gifread.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genericptr_t [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/gifread.c:137:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/gifread.c:199:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/gifread.c:313:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/gifread.c:410:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/gifread.c:498:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/gifread.c:534:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDBMODE [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/gifread.c:678:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/gifread.c:101:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/share/gifread.c:80:7: error: Uninitialized variable: count [uninitvar] glhack-1.2/win/share/gifread.c:240:8: error: Uninitialized variable: c [uninitvar] glhack-1.2/win/share/gifread.c:135:7: style: Variable 'str' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/share/gifread.c:141:7: style: Variable 'str' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/share/ppmwrite.c:53:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRBMODE [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/ppmwrite.c:149:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/thintile.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/thintile.c:109:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDTMODE [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/thintile.c:35:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glhack-1.2/win/share/thintile.c:51:6: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glhack-1.2/win/share/tile2bmp.c:173:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/tile2bmp.c:283:19: style: Assignment 'cClrBits=1' is redundant with condition 'cClrBits==1'. [duplicateConditionalAssign] glhack-1.2/win/share/tile2bmp.c:282:15: note: Condition 'cClrBits==1' glhack-1.2/win/share/tile2bmp.c:283:19: note: Assignment 'cClrBits=1' is redundant glhack-1.2/win/share/tile2bmp.c:282:15: style: Condition 'cClrBits==1' is always false [knownConditionTrueFalse] glhack-1.2/win/share/tile2bmp.c:280:13: note: Assignment 'cClrBits=8', assigned value is 8 glhack-1.2/win/share/tile2bmp.c:282:15: note: Condition 'cClrBits==1' is always false glhack-1.2/win/share/tile2bmp.c:284:20: style: Condition 'cClrBits<=4' is always false [knownConditionTrueFalse] glhack-1.2/win/share/tile2bmp.c:280:13: note: Assignment 'cClrBits=8', assigned value is 8 glhack-1.2/win/share/tile2bmp.c:284:20: note: Condition 'cClrBits<=4' is always false glhack-1.2/win/share/tile2bmp.c:286:20: style: Condition 'cClrBits<=8' is always true [knownConditionTrueFalse] glhack-1.2/win/share/tile2bmp.c:280:13: note: Assignment 'cClrBits=8', assigned value is 8 glhack-1.2/win/share/tile2bmp.c:286:20: note: Condition 'cClrBits<=8' is always true glhack-1.2/win/share/tile2bmp.c:168:7: style: Parameter 'argv' can be declared as const array [constParameter] glhack-1.2/win/share/tile2bmp.c:283:19: style: Variable 'cClrBits' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/share/tile2bmp.c:285:12: style: Variable 'cClrBits' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/share/tile2bmp.c:287:12: style: Variable 'cClrBits' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/share/tile2bmp.c:289:12: style: Variable 'cClrBits' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/share/tile2bmp.c:291:12: style: Variable 'cClrBits' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/share/tile2bmp.c:292:16: style: Variable 'cClrBits' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/share/tilemap.c:300:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GLYPH [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/tilemap.c:510:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GLYPH [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/tilemap.c:476:19: error: Array 'substitutes[4]' accessed at index -1, which is out of bounds. [negativeIndex] glhack-1.2/win/share/tilemap.c:445:7: note: Assignment 'j=-1', assigned value is -1 glhack-1.2/win/share/tilemap.c:448:16: note: Assuming condition is false glhack-1.2/win/share/tilemap.c:476:19: note: Negative array index glhack-1.2/win/share/tilemap.c:477:19: error: Array 'substitutes[4]' accessed at index -1, which is out of bounds. [negativeIndex] glhack-1.2/win/share/tilemap.c:445:7: note: Assignment 'j=-1', assigned value is -1 glhack-1.2/win/share/tilemap.c:448:16: note: Assuming condition is false glhack-1.2/win/share/tilemap.c:477:19: note: Negative array index glhack-1.2/win/share/tilemap.c:479:25: error: Array 'substitutes[4]' accessed at index -1, which is out of bounds. [negativeIndex] glhack-1.2/win/share/tilemap.c:445:7: note: Assignment 'j=-1', assigned value is -1 glhack-1.2/win/share/tilemap.c:448:16: note: Assuming condition is false glhack-1.2/win/share/tilemap.c:479:25: note: Negative array index glhack-1.2/win/share/tiletext.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/tiletext.c:241:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/tiletext.c:262:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glhack-1.2/win/share/tiletext.c:272:6: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] glhack-1.2/win/share/tiletext.c:47:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glhack-1.2/win/win32/mhdlg.c:43:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPARAM [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhdlg.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhdlg.c:186:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPARAM [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhdlg.c:205:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhdlg.c:302:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPARAM [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhdlg.c:319:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhdlg.c:443:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETCOUNT [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhdlg.c:458:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhdlg.c:543:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_GETCURSEL [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhdlg.c:676:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BM_GETCHECK [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhdlg.c:527:39: style:inconclusive: Function 'plselAdjustLists' argument 2 names different: declaration 'changed_opt' definition 'changed_sel'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhdlg.c:284:47: note: Function 'plselAdjustLists' argument 2 names different: declaration 'changed_opt' definition 'changed_sel'. glhack-1.2/win/win32/mhdlg.c:527:39: note: Function 'plselAdjustLists' argument 2 names different: declaration 'changed_opt' definition 'changed_sel'. glhack-1.2/win/win32/mhdlg.c:138:9: style: Local variable 'wbuf' shadows outer variable [shadowVariable] glhack-1.2/win/win32/mhdlg.c:55:9: note: Shadowed declaration glhack-1.2/win/win32/mhdlg.c:138:9: note: Shadow variable glhack-1.2/win/win32/mhdlg.c:204:8: style: Variable 'data' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhdlg.c:318:8: style: Variable 'data' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhdlg.c:664:14: style: Variable 'initalign' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhfont.c:32:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FW_BOLD [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhfont.c:78:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_fontsiz_status [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhfont.c:185:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBMgraphics [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhfont.c:25:12: style: Variable 'fnt' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhfont.c:25:8: style: Variable 'fnt' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhmain.c:829:8: error: There is an unknown macro here somewhere. Configuration is required. If COPYRIGHT_BANNER_B is a macro then please configure it. [unknownMacro] glhack-1.2/win/win32/mhmap.c:60:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_HSCROLL [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:95:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:189:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:301:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_NOCLOSE [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:322:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:400:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:509:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLNO [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:534:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:694:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:752:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:833:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLR_WHITE [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:930:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCCOPY [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmap.c:511:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmap.c:505:29: note: Assuming allocation function fails glhack-1.2/win/win32/mhmap.c:505:9: note: Assignment 'data=(struct mswin_nethack_map_window*)malloc(sizeof(struct mswin_nethack_map_window))', assigned value is 0 glhack-1.2/win/win32/mhmap.c:511:3: note: Null pointer dereference glhack-1.2/win/win32/mhmap.c:514:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmap.c:505:29: note: Assuming allocation function fails glhack-1.2/win/win32/mhmap.c:505:9: note: Assignment 'data=(struct mswin_nethack_map_window*)malloc(sizeof(struct mswin_nethack_map_window))', assigned value is 0 glhack-1.2/win/win32/mhmap.c:514:2: note: Null pointer dereference glhack-1.2/win/win32/mhmap.c:516:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmap.c:505:29: note: Assuming allocation function fails glhack-1.2/win/win32/mhmap.c:505:9: note: Assignment 'data=(struct mswin_nethack_map_window*)malloc(sizeof(struct mswin_nethack_map_window))', assigned value is 0 glhack-1.2/win/win32/mhmap.c:516:2: note: Null pointer dereference glhack-1.2/win/win32/mhmap.c:517:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmap.c:505:29: note: Assuming allocation function fails glhack-1.2/win/win32/mhmap.c:505:9: note: Assignment 'data=(struct mswin_nethack_map_window*)malloc(sizeof(struct mswin_nethack_map_window))', assigned value is 0 glhack-1.2/win/win32/mhmap.c:517:2: note: Null pointer dereference glhack-1.2/win/win32/mhmap.c:813:30: style:inconclusive: Function 'nhglyph2charcolor' argument 1 names different: declaration 'glyph' definition 'g'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhmap.c:44:37: note: Function 'nhglyph2charcolor' argument 1 names different: declaration 'glyph' definition 'g'. glhack-1.2/win/win32/mhmap.c:813:30: note: Function 'nhglyph2charcolor' argument 1 names different: declaration 'glyph' definition 'g'. glhack-1.2/win/win32/mhmap.c:471:10: style: Local variable 'rt' shadows outer variable [shadowVariable] glhack-1.2/win/win32/mhmap.c:398:7: note: Shadowed declaration glhack-1.2/win/win32/mhmap.c:471:10: note: Shadow variable glhack-1.2/win/win32/mhmap.c:565:14: style: Unused variable: special [unusedVariable] glhack-1.2/win/win32/mhmap.c:566:9: style: Unused variable: mgch [unusedVariable] glhack-1.2/win/win32/mhmap.c:567:12: style: Unused variable: back_brush [unusedVariable] glhack-1.2/win/win32/mhmap.c:853:21: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhmenu.c:116:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:209:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:430:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:559:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:594:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:621:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:718:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:737:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:764:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:928:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:1256:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:1343:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LVNI_FOCUSED [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:1371:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_LEFT [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:1414:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCROLLINFO [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmenu.c:817:25: warning:inconclusive: The buffer 'wbuf' may not be null-terminated after the call to strncpy(). [terminateStrncpy] glhack-1.2/win/win32/mhmenu.c:215:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmenu.c:213:31: note: Assuming allocation function fails glhack-1.2/win/win32/mhmenu.c:213:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/win/win32/mhmenu.c:215:3: note: Null pointer dereference glhack-1.2/win/win32/mhmenu.c:216:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmenu.c:213:31: note: Assuming allocation function fails glhack-1.2/win/win32/mhmenu.c:213:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/win/win32/mhmenu.c:216:3: note: Null pointer dereference glhack-1.2/win/win32/mhmenu.c:217:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmenu.c:213:31: note: Assuming allocation function fails glhack-1.2/win/win32/mhmenu.c:213:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/win/win32/mhmenu.c:217:3: note: Null pointer dereference glhack-1.2/win/win32/mhmenu.c:218:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmenu.c:213:31: note: Assuming allocation function fails glhack-1.2/win/win32/mhmenu.c:213:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/win/win32/mhmenu.c:218:3: note: Null pointer dereference glhack-1.2/win/win32/mhmenu.c:219:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmenu.c:213:31: note: Assuming allocation function fails glhack-1.2/win/win32/mhmenu.c:213:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/win/win32/mhmenu.c:219:3: note: Null pointer dereference glhack-1.2/win/win32/mhmenu.c:220:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmenu.c:213:31: note: Assuming allocation function fails glhack-1.2/win/win32/mhmenu.c:213:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/win/win32/mhmenu.c:220:3: note: Null pointer dereference glhack-1.2/win/win32/mhmenu.c:221:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmenu.c:213:31: note: Assuming allocation function fails glhack-1.2/win/win32/mhmenu.c:213:10: note: Assignment 'data=(struct mswin_nethack_menu_window*)malloc(sizeof(struct mswin_nethack_menu_window))', assigned value is 0 glhack-1.2/win/win32/mhmenu.c:221:3: note: Null pointer dereference glhack-1.2/win/win32/mhmenu.c:104:41: style:inconclusive: Function 'mswin_menu_window_select_menu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhmenu.h:15:41: note: Function 'mswin_menu_window_select_menu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:104:41: note: Function 'mswin_menu_window_select_menu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:550:22: style:inconclusive: Function 'LayoutMenu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhmenu.c:78:29: note: Function 'LayoutMenu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:550:22: note: Function 'LayoutMenu' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:589:23: style:inconclusive: Function 'SetMenuType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhmenu.c:79:30: note: Function 'SetMenuType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:589:23: note: Function 'SetMenuType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:616:27: style:inconclusive: Function 'SetMenuListType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhmenu.c:80:34: note: Function 'SetMenuListType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:616:27: note: Function 'SetMenuListType' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:616:37: style:inconclusive: Function 'SetMenuListType' argument 2 names different: declaration 'now' definition 'how'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhmenu.c:80:44: note: Function 'SetMenuListType' argument 2 names different: declaration 'now' definition 'how'. glhack-1.2/win/win32/mhmenu.c:616:37: note: Function 'SetMenuListType' argument 2 names different: declaration 'now' definition 'how'. glhack-1.2/win/win32/mhmenu.c:714:26: style:inconclusive: Function 'GetMenuControl' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhmenu.c:81:33: note: Function 'GetMenuControl' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:714:26: note: Function 'GetMenuControl' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:1238:35: style:inconclusive: Function 'mswin_menu_window_size' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhmenu.h:16:35: note: Function 'mswin_menu_window_size' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:1238:35: note: Function 'mswin_menu_window_size' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhmenu.c:851:9: style: Local variable 'wbuf' shadows outer variable [shadowVariable] glhack-1.2/win/win32/mhmenu.c:764:8: note: Shadowed declaration glhack-1.2/win/win32/mhmenu.c:851:9: note: Shadow variable glhack-1.2/win/win32/mhmenu.c:480:13: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/win32/mhmenu.c:1268:15: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/win32/mhmenu.c:559:7: style: Variable 'data' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhmenu.c:706:9: style: Variable 'nItem' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhmenu.c:737:7: style: Variable 'data' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhmsgwnd.c:77:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_CHILD [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmsgwnd.c:106:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_NOCLOSE [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmsgwnd.c:128:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmsgwnd.c:212:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmsgwnd.c:286:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmsgwnd.c:438:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_WINDOW [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmsgwnd.c:464:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TBUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmsgwnd.c:698:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TBUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmsgwnd.c:713:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhmsgwnd.c:698:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] glhack-1.2/win/win32/mhmsgwnd.c:695:33: note: Assuming allocation function fails glhack-1.2/win/win32/mhmsgwnd.c:695:9: note: Assignment 'data=(struct mswin_nethack_message_window*)malloc(sizeof(struct mswin_nethack_message_window))', assigned value is 0 glhack-1.2/win/win32/mhmsgwnd.c:698:2: note: Null pointer dereference glhack-1.2/win/win32/mhmsgwnd.c:541:15: style: Local variable 'oldFont' shadows outer variable [shadowVariable] glhack-1.2/win/win32/mhmsgwnd.c:463:10: note: Shadowed declaration glhack-1.2/win/win32/mhmsgwnd.c:541:15: note: Shadow variable glhack-1.2/win/win32/mhrip.c:48:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhrip.c:64:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhrip.c:124:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhrip.c:231:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhrip.c:264:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhrip.c:52:37: style:inconclusive: Function 'mswin_display_RIP_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhrip.h:13:37: note: Function 'mswin_display_RIP_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhrip.c:52:37: note: Function 'mswin_display_RIP_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhrip.c:230:13: style: Variable 'InRipText' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhsplash.c:38:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhsplash.c:186:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_SETFONT [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhsplash.c:43:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] glhack-1.2/win/win32/mhsplash.c:40:20: note: Assuming allocation function fails glhack-1.2/win/win32/mhsplash.c:40:20: note: Assignment 'buf=malloc(bufsize)', assigned value is 0 glhack-1.2/win/win32/mhsplash.c:43:2: note: Null pointer dereference glhack-1.2/win/win32/mhsplash.c:51:33: style: Variable 'mapWnd' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhsplash.c:224:11: style: Variable 'OldFont' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mhstatus.c:37:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_DISABLED [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhstatus.c:63:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_NOCLOSE [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhstatus.c:86:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhstatus.c:165:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhtext.c:41:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhtext.c:49:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhtext.c:68:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhtext.c:154:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhtext.c:187:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDOK [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhtext.c:222:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCROLLINFO [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mhtext.c:45:38: style:inconclusive: Function 'mswin_display_text_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhtext.h:12:38: note: Function 'mswin_display_text_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhtext.c:45:38: note: Function 'mswin_display_text_window' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhtext.c:178:22: style:inconclusive: Function 'LayoutText' argument 1 names different: declaration 'hwnd' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/win/win32/mhtext.c:23:29: note: Function 'LayoutText' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mhtext.c:178:22: note: Function 'LayoutText' argument 1 names different: declaration 'hwnd' definition 'hWnd'. glhack-1.2/win/win32/mswproc.c:156:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MAP [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:261:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_player_selection [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:316:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QBUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:659:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDCANCEL [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:674:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PM_REMOVE [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:776:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:800:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:818:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MENU [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:883:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MAP [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:918:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:958:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MENU [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:992:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1033:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NHW_MENU [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1101:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1128:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1211:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MAP [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1250:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_APP [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1269:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_ICONINFORMATION [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1283:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_ICONINFORMATION [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1360:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIN_MESSAGE [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1388:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1532:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_popup_dialog [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1603:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_popup_dialog [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1750:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1806:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wc_fontsiz_menu [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:1948:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:2022:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_CHILD [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:2060:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_CHILD [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:2130:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:2169:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:2200:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/mswproc.c:883:32: warning: Either the condition 'wid!=-1' is redundant or the array 'GetNHApp()->windowlist[15]' is accessed at index -1, which is out of bounds. [negativeIndex] glhack-1.2/win/win32/mswproc.c:890:13: note: Assuming that condition 'wid!=-1' is not redundant glhack-1.2/win/win32/mswproc.c:883:32: note: Negative array index glhack-1.2/win/win32/mswproc.c:343:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:344:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:1413:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:1416:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:1423:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:1424:5: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:1448:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:1450:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:1455:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:1458:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:1482:28: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:2314:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:2316:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:2318:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:2320:18: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:2322:16: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:2324:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] glhack-1.2/win/win32/mswproc.c:1493:15: style: Condition 'z!='\n'' is always true [knownConditionTrueFalse] glhack-1.2/win/win32/mswproc.c:1485:18: note: Assuming that condition 'z=='\b'' is not redundant glhack-1.2/win/win32/mswproc.c:1493:15: note: Condition 'z!='\n'' is always true glhack-1.2/win/win32/mswproc.c:2008:31: style:inconclusive: Function 'mswin_popup_display' argument 1 names different: declaration 'popup' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/win/win32/winMS.h:147:31: note: Function 'mswin_popup_display' argument 1 names different: declaration 'popup' definition 'hWnd'. glhack-1.2/win/win32/mswproc.c:2008:31: note: Function 'mswin_popup_display' argument 1 names different: declaration 'popup' definition 'hWnd'. glhack-1.2/win/win32/mswproc.c:2052:31: style:inconclusive: Function 'mswin_popup_destroy' argument 1 names different: declaration 'popup' definition 'hWnd'. [funcArgNamesDifferent] glhack-1.2/win/win32/winMS.h:148:31: note: Function 'mswin_popup_destroy' argument 1 names different: declaration 'popup' definition 'hWnd'. glhack-1.2/win/win32/mswproc.c:2052:31: note: Function 'mswin_popup_destroy' argument 1 names different: declaration 'popup' definition 'hWnd'. glhack-1.2/win/win32/mswproc.c:2008:42: style: Parameter 'done_indicator' can be declared as pointer to const [constParameterPointer] glhack-1.2/win/win32/mswproc.c:2308:15: style: Variable 'hexadecimals' can be declared as pointer to const [constVariablePointer] glhack-1.2/win/win32/mswproc.c:1972:43: error: Uninitialized variable: bm [uninitvar] glhack-1.2/win/win32/mswproc.c:1387:20: style: Variable 'yn_esc_map' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mswproc.c:1423:14: style: Variable 'yn_esc_map' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/mswproc.c:1497:73: style: Variable 'n_len' is assigned a value that is never used. [unreadVariable] glhack-1.2/win/win32/winhack.c:85:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSZ [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/winhack.c:234:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] glhack-1.2/win/win32/winhack.c:159:29: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] glhack-1.2/win/win32/winhack.c:157:30: note: Assuming allocation function fails glhack-1.2/win/win32/winhack.c:157:30: note: Assignment 'savefile=strdup(argv[1])', assigned value is 0 glhack-1.2/win/win32/winhack.c:159:18: note: Assignment 'p=savefile', assigned value is 0 glhack-1.2/win/win32/winhack.c:159:29: note: Null pointer dereference glhack-1.2/win/win32/winhack.c:143:4: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] glhack-1.2/win/win32/winhack.c:142:4: note: p is assigned glhack-1.2/win/win32/winhack.c:143:4: note: p is overwritten glhack-1.2/win/win32/winhack.c:119:14: style: Local variable 'buf' shadows outer variable [shadowVariable] glhack-1.2/win/win32/winhack.c:86:7: note: Shadowed declaration glhack-1.2/win/win32/winhack.c:119:14: note: Shadow variable glhack-1.2/win/win32/winhack.c:128:14: style: Local variable 'buf' shadows outer variable [shadowVariable] glhack-1.2/win/win32/winhack.c:86:7: note: Shadowed declaration glhack-1.2/win/win32/winhack.c:128:14: note: Shadow variable glhack-1.2/win/win32/winhack.c:208:25: style: Variable 'bQuoted' is assigned a value that is never used. [unreadVariable] glhack-1.2/src/display.c:366:35: warning: Null pointer dereference: mon [ctunullpointer] glhack-1.2/src/display.c:620:3: note: Assuming that condition 'mon' is not redundant glhack-1.2/src/display.c:618:17: note: Calling function display_monster, 3rd argument is null glhack-1.2/src/display.c:366:35: note: Dereferencing argument mon that is null diff: head glhack-1.2/src/files.c:2176:4: error: #error "Where to write config file for this platform ??" [preprocessorErrorDirective] head glhack-1.2/src/options.c:806:38: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] head glhack-1.2/src/pickup.c:1685:9: style: Variable 'c' is assigned a value that is never used. [unreadVariable] 2.17.0 glhack-1.2/src/topten.c:938:9: warning: Uninitialized variable: tt->points [uninitvar] glhack-1.2/src/topten.c:930:7: note: Assignment 'tt=&tt_buf', assigned value is glhack-1.2/src/topten.c:933:16: note: Assuming condition is false glhack-1.2/src/topten.c:938:9: note: Uninitialized variable: tt->points head glhack-1.2/src/topten.c:938:9: warning: Uninitialized variable: tt->points [uninitvar] glhack-1.2/src/topten.c:933:16: note: Assuming condition is false glhack-1.2/src/topten.c:938:9: note: Uninitialized variable: tt->points head glhack-1.2/sys/amiga/amidos.c:488:41: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] head glhack-1.2/sys/amiga/amimenu.c:19:69: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head glhack-1.2/sys/amiga/amimenu.c:20:69: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head glhack-1.2/sys/amiga/amimenu.c:62:69: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head glhack-1.2/sys/amiga/amimenu.c:66:69: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head glhack-1.2/sys/amiga/xpm2iff.c:109:9: style: Variable 'tiles' is assigned a value that is never used. [unreadVariable] 2.17.0 glhack-1.2/sys/mac/macwin.c:1479:28: style: Parameter 'theEvent' can be declared as pointer to const. However it seems that 'macClickText' is a callback function, if 'theEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/mac/macwin.c:148:19: note: You might need to cast the function pointer here glhack-1.2/sys/mac/macwin.c:1479:28: note: Parameter 'theEvent' can be declared as pointer to const head glhack-1.2/sys/mac/macwin.c:1479:28: style: Parameter 'theEvent' can be declared as pointer to const. However it seems that 'macClickText' is a callback function, if 'theEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/mac/macwin.c:172:2: note: You might need to cast the function pointer here glhack-1.2/sys/mac/macwin.c:1479:28: note: Parameter 'theEvent' can be declared as pointer to const 2.17.0 glhack-1.2/sys/mac/macwin.c:1840:29: style: Parameter 'theEvent' can be declared as pointer to const. However it seems that 'GeneralUpdate' is a callback function, if 'theEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/mac/macwin.c:153:20: note: You might need to cast the function pointer here glhack-1.2/sys/mac/macwin.c:1840:29: note: Parameter 'theEvent' can be declared as pointer to const head glhack-1.2/sys/mac/macwin.c:1840:29: style: Parameter 'theEvent' can be declared as pointer to const. However it seems that 'GeneralUpdate' is a callback function, if 'theEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/sys/mac/macwin.c:177:17: note: You might need to cast the function pointer here glhack-1.2/sys/mac/macwin.c:1840:29: note: Parameter 'theEvent' can be declared as pointer to const head glhack-1.2/sys/mac/macwin.c:497:39: error: Uninitialized variable: qbitmap [uninitvar] head glhack-1.2/sys/unix/unixunix.c:198:34: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] head glhack-1.2/sys/unix/unixunix.c:198:56: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] head glhack-1.2/sys/winnt/nh340key.c:102:21: style: Variable 'k' is assigned a value that is never used. [unreadVariable] head glhack-1.2/sys/winnt/nh340key.c:102:6: style: Variable 'metaflags' is assigned a value that is never used. [unreadVariable] head glhack-1.2/sys/winnt/nh340key.c:104:28: style: Variable 'mk' is assigned a value that is never used. [unreadVariable] head glhack-1.2/sys/winnt/nhraykey.c:289:21: style: Variable 'k' is assigned a value that is never used. [unreadVariable] head glhack-1.2/sys/winnt/nhraykey.c:289:6: style: Variable 'metaflags' is assigned a value that is never used. [unreadVariable] head glhack-1.2/sys/winnt/nhraykey.c:291:28: style: Variable 'mk' is assigned a value that is never used. [unreadVariable] head glhack-1.2/tools/edtile/makeset.cpp:322:17: style: Variable 'cmap_font' is assigned a value that is never used. [unreadVariable] head glhack-1.2/tools/edtile/t_alias.cpp:192:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] head glhack-1.2/tools/edtile/t_colmap.cpp:304:15: style: C-style pointer casting [cstyleCast] 2.17.0 glhack-1.2/tools/edtile/t_colmap.cpp:304:16: style: C-style pointer casting [cstyleCast] head glhack-1.2/tools/edtile/t_colmap.cpp:305:15: style: C-style pointer casting [cstyleCast] 2.17.0 glhack-1.2/tools/edtile/t_colmap.cpp:305:16: style: C-style pointer casting [cstyleCast] head glhack-1.2/tools/edtile/t_hue.cpp:95:23: style: C-style pointer casting [cstyleCast] 2.17.0 glhack-1.2/tools/edtile/t_hue.cpp:95:24: style: C-style pointer casting [cstyleCast] head glhack-1.2/tools/edtile/t_hue.cpp:96:23: style: C-style pointer casting [cstyleCast] 2.17.0 glhack-1.2/tools/edtile/t_hue.cpp:96:24: style: C-style pointer casting [cstyleCast] head glhack-1.2/tools/edtile/t_specs.cpp:375:17: performance:inconclusive: Technically the member function 'SpecGroup::WriteSpec' can be static (but you may consider moving to unnamed namespace). [functionStatic] glhack-1.2/tools/edtile/t_specs.h:96:10: note: Technically the member function 'SpecGroup::WriteSpec' can be static (but you may consider moving to unnamed namespace). glhack-1.2/tools/edtile/t_specs.cpp:375:17: note: Technically the member function 'SpecGroup::WriteSpec' can be static (but you may consider moving to unnamed namespace). 2.17.0 glhack-1.2/tools/edtile/t_specs.h:96:10: performance:inconclusive: Technically the member function 'SpecGroup::WriteSpec' can be static (but you may consider moving to unnamed namespace). [functionStatic] glhack-1.2/tools/edtile/t_specs.cpp:375:17: note: Technically the member function 'SpecGroup::WriteSpec' can be static (but you may consider moving to unnamed namespace). glhack-1.2/tools/edtile/t_specs.h:96:10: note: Technically the member function 'SpecGroup::WriteSpec' can be static (but you may consider moving to unnamed namespace). head glhack-1.2/tools/edtile/t_tiles.cpp:1018:15: style:inconclusive: Technically the member function 'Tileset::WriteTile' can be const. [functionConst] glhack-1.2/tools/edtile/t_tiles.h:191:10: note: Technically the member function 'Tileset::WriteTile' can be const. glhack-1.2/tools/edtile/t_tiles.cpp:1018:15: note: Technically the member function 'Tileset::WriteTile' can be const. head glhack-1.2/tools/edtile/t_tiles.cpp:653:15: style:inconclusive: Technically the member function 'Tileset::ImportTile' can be const. [functionConst] glhack-1.2/tools/edtile/t_tiles.h:132:10: note: Technically the member function 'Tileset::ImportTile' can be const. glhack-1.2/tools/edtile/t_tiles.cpp:653:15: note: Technically the member function 'Tileset::ImportTile' can be const. head glhack-1.2/tools/edtile/t_tiles.cpp:820:16: style: C-style pointer casting [cstyleCast] 2.17.0 glhack-1.2/tools/edtile/t_tiles.cpp:820:17: style: C-style pointer casting [cstyleCast] head glhack-1.2/tools/edtile/t_tiles.cpp:820:42: style: C-style pointer casting [cstyleCast] 2.17.0 glhack-1.2/tools/edtile/t_tiles.h:132:10: style:inconclusive: Technically the member function 'Tileset::ImportTile' can be const. [functionConst] glhack-1.2/tools/edtile/t_tiles.cpp:653:15: note: Technically the member function 'Tileset::ImportTile' can be const. glhack-1.2/tools/edtile/t_tiles.h:132:10: note: Technically the member function 'Tileset::ImportTile' can be const. 2.17.0 glhack-1.2/tools/edtile/t_tiles.h:191:10: style:inconclusive: Technically the member function 'Tileset::WriteTile' can be const. [functionConst] glhack-1.2/tools/edtile/t_tiles.cpp:1018:15: note: Technically the member function 'Tileset::WriteTile' can be const. glhack-1.2/tools/edtile/t_tiles.h:191:10: note: Technically the member function 'Tileset::WriteTile' can be const. head glhack-1.2/tools/edtile/w_edit.cpp:88:17: style:inconclusive: Either there is a missing 'override', or the member function 'TileEditor::handle' can be const. [functionConst] glhack-1.2/tools/edtile/w_edit.h:43:9: note: Either there is a missing 'override', or the member function 'TileEditor::handle' can be const. glhack-1.2/tools/edtile/w_edit.cpp:88:17: note: Either there is a missing 'override', or the member function 'TileEditor::handle' can be const. 2.17.0 glhack-1.2/tools/edtile/w_edit.h:43:9: style:inconclusive: Either there is a missing 'override', or the member function 'TileEditor::handle' can be const. [functionConst] glhack-1.2/tools/edtile/w_edit.cpp:88:17: note: Either there is a missing 'override', or the member function 'TileEditor::handle' can be const. glhack-1.2/tools/edtile/w_edit.h:43:9: note: Either there is a missing 'override', or the member function 'TileEditor::handle' can be const. 2.17.0 glhack-1.2/tools/edtile/w_panel.cpp:109:14: style: C-style pointer casting [cstyleCast] head glhack-1.2/tools/edtile/w_panel.cpp:109:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head glhack-1.2/tools/edtile/w_panel.cpp:93:5: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] head glhack-1.2/tools/edtile/w_shades.cpp:66:11: style: Variable 'pix' is assigned a value that is never used. [unreadVariable] head glhack-1.2/tools/edtile/z_string.cpp:106:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] head glhack-1.2/tools/edtile/z_string.cpp:91:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] head glhack-1.2/win/Qt/qt_win.cpp:1689:7: style: C-style pointer casting [cstyleCast] 2.17.0 glhack-1.2/win/Qt/qt_win.cpp:1689:8: style: C-style pointer casting [cstyleCast] head glhack-1.2/win/Qt/qt_win.cpp:4606:35: style: C-style pointer casting [cstyleCast] 2.17.0 glhack-1.2/win/Qt/qt_win.cpp:4606:36: style: C-style pointer casting [cstyleCast] head glhack-1.2/win/Qt/qt_win.cpp:4793:37: style: C-style pointer casting [cstyleCast] 2.17.0 glhack-1.2/win/Qt/qt_win.cpp:4793:38: style: C-style pointer casting [cstyleCast] 2.17.0 glhack-1.2/win/X11/Window.c:91:15: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head glhack-1.2/win/X11/Window.c:91:15: style: Parameter 'event' can be declared as pointer to const. However it seems that 'no_op' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/Window.c:99:15: note: You might need to cast the function pointer here glhack-1.2/win/X11/Window.c:91:15: note: Parameter 'event' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/Window.c:92:15: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] head glhack-1.2/win/X11/Window.c:92:15: style: Parameter 'params' can be declared as pointer to const. However it seems that 'no_op' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/Window.c:99:15: note: You might need to cast the function pointer here glhack-1.2/win/X11/Window.c:92:15: note: Parameter 'params' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/Window.c:93:15: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] head glhack-1.2/win/X11/Window.c:93:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'no_op' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/Window.c:99:15: note: You might need to cast the function pointer here glhack-1.2/win/X11/Window.c:93:15: note: Parameter 'num_params' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1117:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'X11_hangup' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:161:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1117:13: note: Parameter 'event' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1117:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'X11_hangup' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:901:20: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1117:13: note: Parameter 'event' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1118:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'X11_hangup' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:161:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1118:13: note: Parameter 'params' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1118:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'X11_hangup' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:901:20: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1118:13: note: Parameter 'params' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1119:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'X11_hangup' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:161:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1119:15: note: Parameter 'num_params' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1119:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'X11_hangup' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:901:20: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1119:15: note: Parameter 'num_params' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1316:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'delete_file' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:156:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1316:13: note: Parameter 'event' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1316:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'delete_file' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:882:21: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1316:13: note: Parameter 'event' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1317:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'delete_file' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:156:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1317:13: note: Parameter 'params' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1317:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'delete_file' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:882:21: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1317:13: note: Parameter 'params' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1318:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'delete_file' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:156:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1318:15: note: Parameter 'num_params' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1318:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'delete_file' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:882:21: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1318:15: note: Parameter 'num_params' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1329:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'dismiss_file' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:155:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1329:13: note: Parameter 'event' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1329:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'dismiss_file' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:881:22: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1329:13: note: Parameter 'event' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1330:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'dismiss_file' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:155:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1330:13: note: Parameter 'params' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1330:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'dismiss_file' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:881:22: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1330:13: note: Parameter 'params' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1331:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'dismiss_file' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:155:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1331:15: note: Parameter 'num_params' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1331:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'dismiss_file' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:881:22: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1331:15: note: Parameter 'num_params' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1500:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'yn_delete' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:158:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1500:13: note: Parameter 'event' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1500:13: style: Parameter 'event' can be declared as pointer to const. However it seems that 'yn_delete' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:891:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1500:13: note: Parameter 'event' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1501:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'yn_delete' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:158:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1501:13: note: Parameter 'params' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1501:13: style: Parameter 'params' can be declared as pointer to const. However it seems that 'yn_delete' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:891:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1501:13: note: Parameter 'params' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1502:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'yn_delete' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:158:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1502:15: note: Parameter 'num_params' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:1502:15: style: Parameter 'num_params' can be declared as pointer to const. However it seems that 'yn_delete' is a callback function, if 'num_params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:891:19: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1502:15: note: Parameter 'num_params' can be declared as pointer to const 2.17.0 glhack-1.2/win/X11/winX.c:1999:15: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] head glhack-1.2/win/X11/winX.c:1999:15: style: Parameter 'params' can be declared as pointer to const. However it seems that 'nh_keyscroll' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glhack-1.2/win/X11/winX.c:903:17: note: You might need to cast the function pointer here glhack-1.2/win/X11/winX.c:1999:15: note: Parameter 'params' can be declared as pointer to const head glhack-1.2/win/X11/winX.c:389:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head glhack-1.2/win/X11/winX.c:399:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head glhack-1.2/win/X11/winX.c:409:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head glhack-1.2/win/X11/winX.c:421:17: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head glhack-1.2/win/gnome/gnbind.c:104:5: error: #error HACKDIR is not defined! [preprocessorErrorDirective] head glhack-1.2/win/win32/mhfont.c:25:8: style: Variable 'fnt' is assigned a value that is never used. [unreadVariable] DONE