2025-05-09 02:16 ftp://ftp.de.debian.org/debian/pool/main/x/xscorch/xscorch_0.2.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 682 676 elapsed-time: 2.5 2.6 head-timing-info: old-timing-info: head results: xscorch-0.2.1/libj/jreg/regblock.c:44:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_class [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regblock.c:95:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_block [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regblock.c:133:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SYMBOL_SIZE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regblock.c:166:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SYMBOL_SIZE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regblock.c:314:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BLOCK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regio.c:48:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regio.c:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regio.c:182:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regio.c:245:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:44:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:132:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:163:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:239:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:273:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_INTEGER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:290:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_DOUBLEV [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:307:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BOOLEAN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:325:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_STRING [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:344:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SYMBOL_SIZE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:362:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SYMBOL_SIZE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:380:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SYMBOL_SIZE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:395:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_FORMAT_BOOL_DEFAULT [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:407:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SYMBOL_SIZE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:425:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SYMBOL_SIZE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/reg.c:454:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SYMBOL_SIZE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regblock.c:321:36: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/libj/jreg/regio.c:136:13: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] xscorch-0.2.1/libj/jreg/regio.c:159:10: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] xscorch-0.2.1/libj/jreg/regio.c:168:7: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] xscorch-0.2.1/libj/jreg/regio.c:304:13: style: Variable 'var' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/libj/jreg/reg.c:57:7: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] xscorch-0.2.1/libj/jreg/regvar.c:46:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_var_info [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:67:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ANY [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:191:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reg_var [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:259:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_INTEGER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:275:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_DOUBLEV [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:291:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BOOLEAN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:308:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_STRING [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:337:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BLOCK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:381:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BLOCK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:506:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BLOCK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:518:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ANY [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:537:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BLOCK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jreg/regvar.c:333:15: style: Variable 'blk' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/libj/jstr/str_comp.c:131:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBJ_RK_PRIME [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jstr/str_comp.c:241:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBJ_RK_PRIME [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jstr/str_comp.c:287:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sizea [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jstr/str_comp.c:343:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sizea [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jstr/str_cgi.c:207:17: warning: Either the condition 's==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] xscorch-0.2.1/libj/jstr/str_cgi.c:212:9: note: Assuming that condition 's==NULL' is not redundant xscorch-0.2.1/libj/jstr/str_cgi.c:207:17: note: Null pointer addition xscorch-0.2.1/libj/jstr/str_io.c:45:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBJ_READBUF [valueFlowBailoutIncompleteVar] xscorch-0.2.1/libj/jstr/str_comp.c:279:22: style: Condition 'd!=NULL' is always true [knownConditionTrueFalse] xscorch-0.2.1/libj/jstr/str_comp.c:108:19: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/libj/jstr/str_comp.c:274:10: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/libj/jstr/str_comp.c:275:10: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/libj/jstr/str_comp.c:123:12: style: Variable 'rk_i' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/libj/jstr/str_comp.c:270:15: style: Variable 'dlen' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sai/sai.c:37:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_RANDOM [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/sai.c:60:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_ai [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/sai.c:80:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_ai_controller [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/sai.c:107:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_DEBUG_VICTIMS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:54:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_AGGRESSIVE_BUDGET [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:88:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:120:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:145:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:182:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:227:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:273:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:316:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:352:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:386:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:422:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:453:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:479:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:511:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:557:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:604:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_NO_ACTION [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saitraj.c:60:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_COMPENSATE_DELTA [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saitraj.c:122:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_VALIDATE_DIST [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saitraj.c:189:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_SHOOTER_START_A [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saitraj.c:257:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_SHOOTER_START_A [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saitraj.c:339:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_SHOOTER_DELTA_A [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saitraj.c:419:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_SHOOTER_SIGHT_A [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saitraj.c:507:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_DEBUG_SCAN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saitraj.c:582:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_DEBUG_SCAN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saibuy.c:325:4: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] xscorch-0.2.1/sai/saibuy.c:316:14: style: Variable 'count' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sai/saibuy.c:317:18: style: Variable 'sapbudget' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sai/saitraj.c:42:94: style: Parameter 'deltay' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sconsole/swindow-console.c:80:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_SLEEP_TIME [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sconsole/swindow-console.c:80:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xscorch-0.2.1/sconsole/swindow-console.c:87:46: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:94:48: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:101:49: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:110:48: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:119:49: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:128:56: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:137:47: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:144:49: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:151:48: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:158:47: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:168:56: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:176:48: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:183:51: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:190:53: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:197:53: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:204:53: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:211:55: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:218:51: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:225:53: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:232:57: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:241:56: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:250:51: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:250:87: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:257:54: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:257:90: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:264:56: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:271:48: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:281:50: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:289:50: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:289:90: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:296:51: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:296:91: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:303:59: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:311:59: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:319:54: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sconsole/swindow-console.c:327:53: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sai/saiturn.c:73:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saiturn.c:113:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saiturn.c:190:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saiturn.c:230:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_MORON_MIN_POWER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saiturn.c:287:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aitype [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saiturn.c:310:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_MAX_PLAYERS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saiturn.c:348:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_MAX_PLAYERS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saiturn.c:495:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_NO_ACTION [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/saccessory.c:55:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ARMS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/saccessory.c:170:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_SCAN_REVERSE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/saccessory.c:222:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_SCAN_REVERSE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/saccessory.c:245:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_SCAN_REVERSE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/saccessory.c:282:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_INVENTORY_MAX_NAME_LEN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/saccessory.c:353:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_accessory_config [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/saccessory.c:433:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_MAX_PLAYERS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sai/saiturn.c:178:4: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] xscorch-0.2.1/sgame/saccessory.c:72:23: style: Variable 'info' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgame/saccessory.c:195:23: style: Variable 'info' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgame/saddconf.c:67:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_INVENTORY_MAX_DESC_LEN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/saddconf.c:181:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ECONOMY_MAX_DESC_LEN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/saddconf.c:290:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_INVENTORY_MAX_NAME_LEN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/scffile.c:187:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_FILENAME_LENGTH [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/scffile.c:214:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/scffile.c:259:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/scffile.c:393:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/scffileold.c:180:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_TOP [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/saddconf.c:289:20: style: Variable 'child' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgame/scolor.c:77:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NUM_GRADIENTS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/scolor.c:91:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_color [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/seconomy.c:47:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_economy_config [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/seconomy.c:131:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ECONOMY_MAX_NAME_LEN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/seconomy.c:178:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable money [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sconfig.c:65:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_config [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sconfig.c:254:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_MAX_PLAYERS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sconfig.c:304:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aitype [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sconfig.c:372:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_MAX_PLAYERS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sconfig.c:418:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aitype [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sconfig.c:305:57: style: Condition '!networkplay' is always true [knownConditionTrueFalse] xscorch-0.2.1/sgame/sconfig.c:298:18: note: Assignment 'networkplay=false', assigned value is 0 xscorch-0.2.1/sgame/sconfig.c:305:57: note: Condition '!networkplay' is always true xscorch-0.2.1/sgame/sgame.c:47:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_game [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sgame.c:205:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dead [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sgame.c:218:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_STATE_PRELUDE_BEGIN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sgame.c:262:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_STATE_PAUSE_FLAG [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sgame.c:271:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_STATE_PAUSE_FLAG [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/shelp.c:104:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_xscorch_man [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sgame.c:139:13: style: Checking if unsigned expression 'delay' is less than zero. [unsignedLessThanZero] xscorch-0.2.1/sgame/sgame.c:183:13: style: Checking if unsigned expression 'delay' is less than zero. [unsignedLessThanZero] xscorch-0.2.1/sgame/sgame.c:368:71: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sgame/sexplosion.c:50:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_explosion [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sexplosion.c:205:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GRAD_GROUND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sexplosion.c:725:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_REGENERATE_LAND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sexplosion.c:780:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sexplosion.c:898:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_EXPL_EXPLOSION_STEP [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sexplosion.c:1033:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PAINT_EVERYTHING [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sexplosion.c:1076:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_EXPL_EXPLOSION_STEP [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sinfo.c:29:30: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] xscorch-0.2.1/sgame/sinventory.c:40:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_INVENTORY_MAX_ITEMS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sinventory.c:61:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ECONOMY_SPLIT_MARKUP [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sinventory.c:80:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ECONOMY_SELL_MARKUP [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sinventory.c:129:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_INVENTORY_INFINITE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sinventory.c:188:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_INVENTORY_INFINITE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/slscape.c:223:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _sc_lscape_eval [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/slscape.c:243:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LSCAPE_BUMP_HEIGHT_IN_PIXELS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/slscape.c:293:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_GEN_RANDOM [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:47:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_land [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:138:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_SKY_RANDOM [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:203:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_DEFAULTS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:235:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_WRAP_X [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:267:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_WRAP_X [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:331:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_CEILING [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:362:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_CEILING [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:454:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_WRAP_X [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:494:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_WRAP_X [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:554:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_WRAP_X [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:592:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_WRAP_X [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:789:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GRAD_GROUND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:865:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TANK_PROFILE_CLEAR [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:1090:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_MAX_DROP_PER_CYCLE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:1263:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_REGENERATE_LAND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:1289:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GRAD_GROUND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:1349:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TANK_PROFILE_CLEAR [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:1375:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GRAD_NIGHT_SKY [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sland.c:1398:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LAND_NIGHT_SKY [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/slscapetools.c:129:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_RAND_MAX [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/soptions.c:159:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/soptions.c:141:18: style: Variable 'whee' can be declared as const array [constVariable] xscorch-0.2.1/sgame/soptions.c:144:18: style: Variable 'wheee' can be declared as const array [constVariable] xscorch-0.2.1/sgame/sland.c:1277:18: warning: Either the condition 'c==NULL' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] xscorch-0.2.1/sgame/sland.c:1285:9: note: Assuming that condition 'c==NULL' is not redundant xscorch-0.2.1/sgame/sland.c:1277:18: note: Null pointer dereference xscorch-0.2.1/sgame/sland.c:1278:18: warning: Either the condition 'c==NULL' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] xscorch-0.2.1/sgame/sland.c:1285:9: note: Assuming that condition 'c==NULL' is not redundant xscorch-0.2.1/sgame/sland.c:1278:18: note: Null pointer dereference xscorch-0.2.1/sgame/sphoenix.c:60:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PHOENIX_NO_ACTION [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphoenix.c:125:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_NONE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphoenix.c:203:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_NONE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphoenix.c:257:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PHOENIX_NO_ACTION [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphoenix.c:321:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PHOENIX_AT_TANK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphoenix.c:346:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PHOENIX_NO_ACTION [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphoenix.c:407:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_NONE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphoenix.c:400:4: error: Address of local auto-variable assigned to a function parameter. [autoVariables] xscorch-0.2.1/sgame/sphoenix.c:51:20: style: Variable 'ph_i' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgame/sphoenix.c:117:20: style: Variable 'ph_i' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgame/sphoenix.c:258:8: style: Unused variable: ph_type [unusedVariable] xscorch-0.2.1/sgame/sphoenix.c:259:8: style: Unused variable: ph_count [unusedVariable] xscorch-0.2.1/sgame/sphoenix.c:397:14: style: Variable 'level' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sgame/sphysics.c:326:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_physics [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:390:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PHYSICS_DELTA_WIND_MAX [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:498:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_trajectory [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:555:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_FLIGHT [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:587:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_FLIGHT [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:650:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_ROLLER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:821:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_FLIGHT [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:955:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_IGNORE_WIND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1027:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_IMPACT_GROUND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1051:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_IMPACT_GROUND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1080:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_IMPACT_WALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1133:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_ROLLER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1186:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PHYSICS_ELASTIC_PADDED [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1219:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_IMPACT_SHIELD [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1243:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_CONTINUE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1285:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_IMPACT_TANK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1328:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_TUNNELING [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1373:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_IGNORE_TANK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1402:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_CONTINUE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1482:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_CONTINUE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1639:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PHYSICS_DEBUG_ROLLER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1708:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_CONTINUE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1866:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_CONTINUE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1925:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_CONTINUE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:1991:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_IMPACT_SHIELD [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:2047:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_CONTINUE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:2074:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_CONTINUE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:2098:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_SIZZLE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:2140:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_CONTINUE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:2179:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_FLIGHT [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:2235:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_FLIGHT [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:2284:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_FLIGHT [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:95:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PLAYER_MAX_POWER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:173:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_player [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:228:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PLAYER_MAX_POWER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:275:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:312:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:367:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PLAYER_MAX_POWER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:473:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PLAYER_SHIELD_CHECK_CUR [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:512:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_STATE_AUTO_DEF [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:539:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:575:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:601:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_STATE_TRIGGER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:644:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:690:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:831:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TANK_MAX_DROP_PER_CYCLE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:858:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TANK_NORMAL_HARDNESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:907:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_MAX_PLAYERS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:946:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kills [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:971:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kills [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:999:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:1026:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:1066:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TANK_CLIMB_HEIGHT [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:1115:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_EXPLOSION_NAPALM [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:1158:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TANK_PROFILE_CLEAR [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:1193:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TANK_PROFILE_CLEAR [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:1284:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_HUMAN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/splayer.c:1303:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AI_HUMAN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sphysics.c:522:42: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xscorch-0.2.1/sgame/sphysics.c:359:39: style: Parameter 'ph' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sgame/spreround.c:49:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_STATE_AUTO_DEF [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/spreround.c:86:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_STATE_AUTO_DEF [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/spreround.c:123:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_lottery [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/spreround.c:155:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/spreround.c:204:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_STATE_AUTO_DEF [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/spreround.c:237:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aitype [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/spreround.c:154:28: warning: Either the condition 'c==NULL' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] xscorch-0.2.1/sgame/spreround.c:157:9: note: Assuming that condition 'c==NULL' is not redundant xscorch-0.2.1/sgame/spreround.c:154:28: note: Null pointer dereference xscorch-0.2.1/sgame/spreround.c:155:44: warning: Either the condition 'c==NULL' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] xscorch-0.2.1/sgame/spreround.c:157:9: note: Assuming that condition 'c==NULL' is not redundant xscorch-0.2.1/sgame/spreround.c:155:44: note: Null pointer dereference xscorch-0.2.1/sgame/sregistry.c:37:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_registry [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sregistry.c:262:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_registry_iter [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sshield.c:52:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_shield [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sshield.c:88:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sshield.c:128:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_STATE_RECHARGE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sshield.c:156:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_HIT_SHIELDS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sshield.c:190:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_SHIELD_ABSORB_HIT [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sshield.c:219:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_EXPLOSION_NAPALM [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sshield.c:262:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_SHIELD_MAG_MAX_DIST [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sshield.c:356:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_NO_MODIFY [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sspill.c:157:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_spill [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sshield.c:85:31: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] xscorch-0.2.1/sgame/sstate.c:50:55: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] xscorch-0.2.1/sgame/stankpro.c:71:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TANK_PROFILE_CLEAR [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/stankpro.c:137:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_tank_profile [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/stankpro.c:247:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/strack.c:96:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_CONTINUE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/strack.c:155:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_STATE_DEFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/strack.c:328:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_TRACK_NO_ACTION [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/strack.c:374:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_TRACK_NO_ACTION [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/stankpro.c:43:54: style: Parameter 'profile' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sgtk/sai-gtk.c:84:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_CANCEL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:67:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ARMS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:182:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_SCAN_REVERSE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:234:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_SCAN_REVERSE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:257:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_SCAN_REVERSE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:304:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:368:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:423:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_STATE_TRIPLE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:536:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_NONE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:588:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_weapon [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:709:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_STATE_TRIPLE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:805:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_weapon_config [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:893:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_MAX_PLAYERS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgame/sweapon.c:947:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_EXPLOSION_PLASMA [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sautodef-gtk.c:178:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_STATE_AUTO_DEFENSE_LOOP [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sautodef-gtk.c:209:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_STATE_AUTO_DEFENSE_LOOP [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sautodef-gtk.c:238:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sautodef-gtk.c:268:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ACCESSORY_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sautodef-gtk.c:285:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sautodef-gtk.c:354:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sautodef-gtk.c:430:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_CONSOLE_FORESTANDARD [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sautodef-gtk.c:456:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSOLE_BORDERLESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sautodef-gtk.c:489:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sautodef-gtk.c:496:29: warning: Either the condition 'w==NULL' is redundant or there is possible null pointer dereference: w. [nullPointerRedundantCheck] xscorch-0.2.1/sgtk/sautodef-gtk.c:493:24: note: Assuming that condition 'w==NULL' is not redundant xscorch-0.2.1/sgtk/sautodef-gtk.c:496:29: note: Null pointer dereference xscorch-0.2.1/sgtk/sautodef-gtk.c:496:35: warning: Either the condition 'w==NULL' is redundant or there is possible null pointer dereference: w. [nullPointerRedundantCheck] xscorch-0.2.1/sgtk/sautodef-gtk.c:493:24: note: Assuming that condition 'w==NULL' is not redundant xscorch-0.2.1/sgtk/sautodef-gtk.c:496:35: note: Null pointer dereference xscorch-0.2.1/sgtk/sautodef-gtk.c:189:58: style: Parameter 'key' can be declared as pointer to const. However it seems that '_sc_window_auto_def_key_gtk' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/sautodef-gtk.c:554:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/sautodef-gtk.c:189:58: note: Parameter 'key' can be declared as pointer to const xscorch-0.2.1/sgtk/sautodef-gtk.c:220:69: style: Parameter 'spot' can be declared as pointer to const. However it seems that '_sc_autodef_guidance_enter_gtk' is a callback function, if 'spot' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/sautodef-gtk.c:336:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/sautodef-gtk.c:220:69: note: Parameter 'spot' can be declared as pointer to const xscorch-0.2.1/sgtk/sautodef-gtk.c:250:67: style: Parameter 'spot' can be declared as pointer to const. However it seems that '_sc_autodef_shield_enter_gtk' is a callback function, if 'spot' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/sautodef-gtk.c:405:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/sautodef-gtk.c:250:67: note: Parameter 'spot' can be declared as pointer to const xscorch-0.2.1/sgame/sweapon.c:84:20: style: Variable 'info' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgame/sweapon.c:207:20: style: Variable 'info' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/scolor-gtk.c:56:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_color_gtk [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/scolor-gtk.c:80:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_MAX_GRADIENT_SIZE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/scolor-gtk.c:106:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GRAD_GROUND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/seconomy-gtk.c:84:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_ECONOMY_MAX_NAME_LEN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/seconomy-gtk.c:155:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_CANCEL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/send-gtk.c:48:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/send-gtk.c:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/send-gtk.c:126:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSOLE_NORMAL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/seconomy-gtk.c:99:28: style: Variable 'target' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/sfile-gtk.c:73:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_CANCEL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sexplosion-gtk.c:77:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_expl_cache_gtk [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sexplosion-gtk.c:104:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixmap [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sexplosion-gtk.c:168:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sexplosion-gtk.c:216:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sexplosion-gtk.c:256:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sexplosion-gtk.c:469:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GRAD_EXPLOSION [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sexplosion-gtk.c:514:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable radius [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sexplosion-gtk.c:554:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_EXPL_CACHE_SIZE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sfont-gtk.c:77:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_CANCEL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sfont-gtk.c:125:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_FONT_LENGTH [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sfont-gtk.c:151:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_FONT_LENGTH [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sexplosion-gtk.c:598:12: style: Redundant assignment of 'centerx' to itself. [selfAssignment] xscorch-0.2.1/sgtk/sexplosion-gtk.c:138:89: style: Parameter 'gradient' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sgtk/sexplosion-gtk.c:178:88: style: Parameter 'gradient' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sgtk/sexplosion-gtk.c:498:53: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sgtk/sexplosion-gtk.c:503:23: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/sexplosion-gtk.c:248:10: style: Variable 'dx2y2' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sgtk/sexplosion-gtk.c:272:13: style: Variable 'dx2y2' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sgtk/sgraphics-gtk.c:68:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DEF_FIELD_HEIGHT [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sgraphics-gtk.c:106:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_OK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sland-gtk.c:65:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_REGENERATE_LAND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sland-gtk.c:85:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_OK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sinventory-gtk.c:66:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sinventory-gtk.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sinventory-gtk.c:127:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sinventory-gtk.c:238:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sinventory-gtk.c:272:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sinventory-gtk.c:301:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sinventory-gtk.c:323:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sinventory-gtk.c:362:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_STATE_INVENTORY_PL_DONE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sinventory-gtk.c:381:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_WEAPON_LIMIT_ALL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/slottery-gtk.c:57:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_STATE_TURN_BEGIN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/slottery-gtk.c:75:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_STATE_TURN_BEGIN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/slottery-gtk.c:89:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/slottery-gtk.c:66:57: style: Parameter 'key' can be declared as pointer to const. However it seems that '_sc_window_lottery_key_gtk' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/slottery-gtk.c:127:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/slottery-gtk.c:66:57: note: Parameter 'key' can be declared as pointer to const xscorch-0.2.1/sgtk/smainmenu-gtk.c:105:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_STATE_GAME_BEGIN [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/smainmenu-gtk.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_REGENERATE_LAND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/smenu-gtk.c:96:82: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] xscorch-0.2.1/sgtk/smainmenu-gtk.c:122:63: style: Parameter 'spot' can be declared as pointer to const. However it seems that '_sc_main_menu_select_gtk' is a callback function, if 'spot' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/smainmenu-gtk.c:179:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/smainmenu-gtk.c:122:63: note: Parameter 'spot' can be declared as pointer to const xscorch-0.2.1/sgtk/sinventory-gtk.c:68:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:461:33: note: Calling function '_sc_inventory_info_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:68:13: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:68:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:461:33: note: Calling function '_sc_inventory_info_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:68:27: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:68:42: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:461:33: note: Calling function '_sc_inventory_info_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:68:42: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:69:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:461:33: note: Calling function '_sc_inventory_info_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:69:13: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:69:36: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:461:33: note: Calling function '_sc_inventory_info_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:69:36: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:70:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:461:33: note: Calling function '_sc_inventory_info_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:70:37: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:88:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:459:35: note: Calling function '_sc_inventory_weapon_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:88:9: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:91:47: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:459:35: note: Calling function '_sc_inventory_weapon_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:91:47: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:98:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:459:35: note: Calling function '_sc_inventory_weapon_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:98:44: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:99:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:459:35: note: Calling function '_sc_inventory_weapon_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:99:44: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:102:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:459:35: note: Calling function '_sc_inventory_weapon_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:102:34: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:107:40: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:459:35: note: Calling function '_sc_inventory_weapon_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:107:40: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:131:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:460:38: note: Calling function '_sc_inventory_accessory_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:131:9: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:134:47: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:460:38: note: Calling function '_sc_inventory_accessory_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:134:47: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:141:47: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:460:38: note: Calling function '_sc_inventory_accessory_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:141:47: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:142:47: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:460:38: note: Calling function '_sc_inventory_accessory_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:142:47: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:145:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:460:38: note: Calling function '_sc_inventory_accessory_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:145:34: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:150:40: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:460:38: note: Calling function '_sc_inventory_accessory_paint_gtk', 1st argument 'inv' value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:150:40: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:396:4: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:396:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:397:4: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:397:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:400:4: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:400:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:401:4: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:401:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:402:4: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:402:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:405:38: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:405:38: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:406:38: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:406:38: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:409:4: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:409:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:410:43: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:410:43: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:411:70: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:411:70: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:412:37: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:412:37: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:414:37: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:414:37: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:416:64: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:416:64: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:420:4: warning: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:420:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:422:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:422:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:424:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:424:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:426:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:426:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:428:64: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:428:64: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:430:56: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:430:56: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:436:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:436:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:438:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:438:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:440:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:440:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:442:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:442:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:444:64: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:444:64: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:446:56: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:446:56: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:451:64: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:451:64: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:452:41: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:452:41: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:453:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:453:37: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:454:49: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:454:49: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:455:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:455:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:464:47: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:464:47: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:465:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: inv [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/sinventory-gtk.c:395:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/sinventory-gtk.c:395:10: note: Assignment 'inv=(struct sc_inventory_gtk*)malloc(sizeof(struct sc_inventory_gtk))', assigned value is 0 xscorch-0.2.1/sgtk/sinventory-gtk.c:465:26: note: Null pointer dereference xscorch-0.2.1/sgtk/sinventory-gtk.c:164:59: style: Parameter 'event' can be declared as pointer to const. However it seems that '_sc_inventory_weapon_key_gtk' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/sinventory-gtk.c:420:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/sinventory-gtk.c:164:59: note: Parameter 'event' can be declared as pointer to const xscorch-0.2.1/sgtk/sinventory-gtk.c:197:62: style: Parameter 'event' can be declared as pointer to const. However it seems that '_sc_inventory_accessory_key_gtk' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/sinventory-gtk.c:436:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/sinventory-gtk.c:197:62: note: Parameter 'event' can be declared as pointer to const xscorch-0.2.1/sgtk/sinventory-gtk.c:230:65: style: Parameter 'event' can be declared as pointer to const. However it seems that '_sc_inventory_weapon_button_gtk' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/sinventory-gtk.c:422:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/sinventory-gtk.c:230:65: note: Parameter 'event' can be declared as pointer to const xscorch-0.2.1/sgtk/sinventory-gtk.c:264:68: style: Parameter 'event' can be declared as pointer to const. However it seems that '_sc_inventory_accessory_button_gtk' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/sinventory-gtk.c:438:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/sinventory-gtk.c:264:68: note: Parameter 'event' can be declared as pointer to const xscorch-0.2.1/sgtk/sinventory-gtk.c:297:69: style: Parameter 'spot' can be declared as pointer to const. However it seems that '_sc_inventory_weapon_enter_gtk' is a callback function, if 'spot' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/sinventory-gtk.c:424:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/sinventory-gtk.c:297:69: note: Parameter 'spot' can be declared as pointer to const xscorch-0.2.1/sgtk/sinventory-gtk.c:319:72: style: Parameter 'spot' can be declared as pointer to const. However it seems that '_sc_inventory_accessory_enter_gtk' is a callback function, if 'spot' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/sinventory-gtk.c:440:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/sinventory-gtk.c:319:72: note: Parameter 'spot' can be declared as pointer to const xscorch-0.2.1/sgtk/soptions-gtk.c:115:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_CANCEL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/soptions-gtk.c:57:19: style: Variable 'w' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/soptions-gtk.c:57:21: style: Variable 'w' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sgtk/soptions-gtk.c:62:17: style: Variable 'oldtooltips' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sgtk/soptions-gtk.c:57:19: style: Variable 'w' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sgtk/sphysics-gtk.c:100:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_CANCEL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/ssound-gtk.c:39:40: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sgtk/splayer-gtk.c:72:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_MAX_PLAYERS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/splayer-gtk.c:90:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_MAX_PLAYERS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/splayer-gtk.c:102:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:139:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PHYSICS_WIND_MAX [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:226:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GRAD_FORCE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:378:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GRAD_GROUND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:455:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GRAD_GROUND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:555:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_REGENERATE_LAND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:654:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_REDRAW_LAND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:667:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_REDRAW_TANKS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:679:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_REDRAW_LAND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:694:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_REDRAW_LAND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:760:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_CONTINUE [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:781:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_REDRAW_LAND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:795:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_IGNORE_TANK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/spaint-gtk.c:807:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TRAJ_IGNORE_TANK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sspill-gtk.c:115:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GRAD_FLAMES [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sspill-gtk.c:185:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GRAD_FLAMES [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sspill-gtk.c:302:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_REDRAW_LAND [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/splayer-gtk.c:189:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tanklist [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/splayer-gtk.c:187:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/splayer-gtk.c:187:15: note: Assignment 'tanklist=(const char**)malloc(sizeof(char*)*(tankcount+1))', assigned value is 0 xscorch-0.2.1/sgtk/splayer-gtk.c:189:7: note: Null pointer dereference xscorch-0.2.1/sgtk/splayer-gtk.c:191:4: warning: If memory allocation fails, then there is a possible null pointer dereference: tanklist [nullPointerOutOfMemory] xscorch-0.2.1/sgtk/splayer-gtk.c:187:36: note: Assuming allocation function fails xscorch-0.2.1/sgtk/splayer-gtk.c:187:15: note: Assignment 'tanklist=(const char**)malloc(sizeof(char*)*(tankcount+1))', assigned value is 0 xscorch-0.2.1/sgtk/splayer-gtk.c:191:4: note: Null pointer dereference xscorch-0.2.1/sgtk/sstatus-gtk.c:119:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_PLAYER_SHIELD_DEFAULTS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sstatus-gtk.c:145:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sstatus-gtk.c:272:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/sstatus-gtk.c:309:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSOLE_BORDERLESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/ssystem-gtk.c:131:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/ssystem-gtk.c:59:61: style: Parameter 'button' can be declared as pointer to const. However it seems that '_sc_system_retreat_gtk' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/ssystem-gtk.c:165:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/ssystem-gtk.c:59:61: note: Parameter 'button' can be declared as pointer to const xscorch-0.2.1/sgtk/ssystem-gtk.c:60:75: style: Parameter 'setup' can be declared as pointer to const. However it seems that '_sc_system_retreat_gtk' is a callback function, if 'setup' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/ssystem-gtk.c:165:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/ssystem-gtk.c:60:75: note: Parameter 'setup' can be declared as pointer to const xscorch-0.2.1/sgtk/stank-gtk.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/stank-gtk.c:131:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/stank-gtk.c:164:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/stank-gtk.c:199:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_GTK_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/stank-gtk.c:63:59: style: Parameter 'key' can be declared as pointer to const. However it seems that '_sc_window_tank_info_key_gtk' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/stank-gtk.c:89:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/stank-gtk.c:63:59: note: Parameter 'key' can be declared as pointer to const xscorch-0.2.1/sgtk/stank-gtk.c:129:86: style: Parameter 'spot' can be declared as pointer to const. However it seems that '_sc_window_tank_move_btn_gtk' is a callback function, if 'spot' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/stank-gtk.c:223:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/stank-gtk.c:129:86: note: Parameter 'spot' can be declared as pointer to const xscorch-0.2.1/sgtk/stank-gtk.c:162:59: style: Parameter 'key' can be declared as pointer to const. However it seems that '_sc_window_tank_move_key_gtk' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/stank-gtk.c:221:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/stank-gtk.c:162:59: note: Parameter 'key' can be declared as pointer to const xscorch-0.2.1/sgtk/spaint-gtk.c:714:6: style: Redundant assignment of 'x' to itself. [selfAssignment] xscorch-0.2.1/sgtk/spaint-gtk.c:748:64: style: Parameter 'c' can be declared as pointer to const. However it seems that '_sc_window_draw_arc_gtk' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/spaint-gtk.c:795:69: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/spaint-gtk.c:748:64: note: Parameter 'c' can be declared as pointer to const xscorch-0.2.1/sgtk/spaint-gtk.c:774:97: style: Parameter 'tr' can be declared as pointer to const. However it seems that '_sc_window_clear_arc_gtk' is a callback function, if 'tr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/spaint-gtk.c:807:69: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/spaint-gtk.c:774:97: note: Parameter 'tr' can be declared as pointer to const xscorch-0.2.1/sgtk/sstatus-gtk.c:105:63: style: Parameter 'spot' can be declared as pointer to const. However it seems that '_sc_status_activate_item' is a callback function, if 'spot' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xscorch-0.2.1/sgtk/sstatus-gtk.c:337:4: note: You might need to cast the function pointer here xscorch-0.2.1/sgtk/sstatus-gtk.c:105:63: note: Parameter 'spot' can be declared as pointer to const xscorch-0.2.1/sgtk/sweapons-gtk.c:88:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_CANCEL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactoggle.c:81:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_CONSOLE_FOREDISABLED [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactoggle.c:258:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScACToggleClass [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:82:29: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:112:29: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:142:29: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] xscorch-0.2.1/sgtk/swidgets/sactoggle.c:53:16: style: Variable 'toggle' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:82:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:112:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:142:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:919:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1043:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_POINTER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1224:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_POINTER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1286:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1311:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScActiveConsoleClass [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1340:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScGadgetClass [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1397:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScActiveConsoleSpot [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:292:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSOLE_BORDERLESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:308:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSOLE_BORDERLESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:346:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSOLE_BORDERLESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:362:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSOLE_BORDERLESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:645:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:709:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSOLE_BORDERLESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:803:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSOLE_BORDERLESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:967:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:1152:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_POINTER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:1222:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScConsoleClass [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:1295:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSOLE_BORDERLESS [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:1761:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScConsoleHighlight [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:358:21: style: Variable 'cons' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:880:92: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1014:20: style: Variable 'object_class' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1160:20: style: Variable 'object_class' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/swidgets/sdialog.c:66:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_DESTROYED [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:109:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_ACCEPTED [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:131:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_REJECTED [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:153:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_OK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:241:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScDialogClass [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:297:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_NO_GRID [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:355:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_DELAY_DESTROY [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:385:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_DELAY_DESTROY [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:404:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:436:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_OK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:448:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_YES [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:462:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:488:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdialog.c:623:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_DIALOG_STRING_BUFFER [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1496:6: style: Variable 'x' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1497:6: style: Variable 'y' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1498:10: style: Variable 'width' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sgtk/swidgets/sactiveconsole.c:1499:10: style: Variable 'height' is assigned a value that is never used. [unreadVariable] xscorch-0.2.1/sgtk/swidgets/sdisplay.c:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScDisplayClass [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdisplay.c:103:11: style: Variable 'children' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/swidgets/sdisplay.c:148:11: style: Variable 'children' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/swidgets/sdrawbuf.c:160:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_EXPOSURE_MASK [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sdrawbuf.c:179:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScDrawbufClass [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/slabel.c:38:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScLabelClass [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/slinkcheck.c:98:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScLinkCheckClass [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/slinkcheck.c:59:20: style: Variable 'object_class' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/swidgets/sdialog.c:287: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] xscorch-0.2.1/sgtk/swidgets/sdialog.c:305:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] xscorch-0.2.1/sgtk/swidgets/sdialog.c:194:20: style: Variable 'object_class' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/swidgets/sdialog.c:496:13: style: Variable 'lfont' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/swidgets/sdialog.c:631:13: style: Variable 'lfont' can be declared as pointer to const [constVariablePointer] xscorch-0.2.1/sgtk/swidgets/slinkcombo.c:97:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScLinkComboClass [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/slinkcombo.c:129:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScLinkComboData [valueFlowBailoutIncompleteVar] xscorch-0.2.1/sgtk/swidgets/sconsole.c:977:22: style: Condition 'event->y>=y-arrowh' is always true [knownConditionTrueFalse] xscorch-0.2.1/sgtk/swidgets/sconsole.c:975:18: note: Assuming that condition 'event->y>=y-arrowh' is not redundant xscorch-0.2.1/sgtk/swidgets/sconsole.c:977:22: note: Condition 'event->y>=y-arrowh' is always true xscorch-0.2.1/sgtk/swidgets/sconsole.c:984:55: style: Condition 'event->yyy