2026-05-26 15:30 ftp://ftp.de.debian.org/debian/pool/main/c/chocolate-doom/chocolate-doom_3.1.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=emscripten --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-117-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: bc33aee (2026-05-26 08:48:42 +0200) count: 2860 2809 elapsed-time: 189.1 187.9 head-timing-info: old-timing-info: head results: chocolate-doom-chocolate-doom-3.1.1/opl/examples/droplay.c:39:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPL_REGS_FEEDBACK [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/opl/examples/droplay.c:71:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_TIMER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/opl/examples/droplay.c:156:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/opl/examples/droplay.c:146:21: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/opl/opl.c:418:66: style:inconclusive: Function 'OPL_SetCallback' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/opl/opl.c:523:32: style:inconclusive: Function 'OPL_AdjustCallbacks' argument 1 names different: declaration 'factor' definition 'value'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/opl/opl.h:129:32: note: Function 'OPL_AdjustCallbacks' argument 1 names different: declaration 'factor' definition 'value'. chocolate-doom-chocolate-doom-3.1.1/opl/opl.c:523:32: note: Function 'OPL_AdjustCallbacks' argument 1 names different: declaration 'factor' definition 'value'. chocolate-doom-chocolate-doom-3.1.1/opl/opl.c:128:11: style: Variable 'driver_name' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/opl/opl.c:321:17: style: Variable 'result2' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/opl/opl3.c:190:40: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] chocolate-doom-chocolate-doom-3.1.1/opl/opl3.c:188:17: note: Assignment 'level=0x1fff', assigned value is 8191 chocolate-doom-chocolate-doom-3.1.1/opl/opl3.c:190:40: note: Shift chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:74:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:45:5: warning: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:44:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:44:19: note: Assignment 'queue=malloc(sizeof(struct opl_callback_queue_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:45:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:123:28: style: Checking if unsigned expression 'queue->num_entries' is less than zero. [unsignedLessThanZero] chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:66:52: style:inconclusive: Function 'OPL_Queue_Push' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:67:30: style:inconclusive: Function 'OPL_Queue_Push' argument 4 names different: declaration '' definition 'time'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:55:45: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:117:24: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/opl/opl_sdl.c:175:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUDIO_S16SYS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/opl/opl_sdl.c:239:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/opl/opl_sdl.c:297:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/opl/opl_timer.c:212:72: style:inconclusive: Function 'OPL_Timer_SetCallback' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/pcsound/pcsound.c:55:11: style: Variable 'driver_name' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/pcsound/pcsound_sdl.c:156:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/pcsound/pcsound_sdl.c:197:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/aes_prng.c:891:29: style:inconclusive: Function 'PRNG_Start' argument 1 names different: declaration 'seed' definition 'key'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/aes_prng.h:27:29: note: Function 'PRNG_Start' argument 1 names different: declaration 'seed' definition 'key'. chocolate-doom-chocolate-doom-3.1.1/src/aes_prng.c:891:29: note: Function 'PRNG_Start' argument 1 names different: declaration 'seed' definition 'key'. chocolate-doom-chocolate-doom-3.1.1/src/aes_prng.c:842:40: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/d_dedicated.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/d_event.c:35:28: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.c:522:63: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.c:617:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.c:626:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.c:658:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.c:665:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.c:711:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.c:824:64: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.c:791:35: style:inconclusive: Function 'D_FindWADByName' argument 1 names different: declaration 'filename' definition 'name'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.h:43:35: note: Function 'D_FindWADByName' argument 1 names different: declaration 'filename' definition 'name'. chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.c:791:35: note: Function 'D_FindWADByName' argument 1 names different: declaration 'filename' definition 'name'. chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.c:734:11: style: Variable 'env' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/d_iwad.c:925:11: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/d_loop.c:268:47: style:inconclusive: Function 'D_ReceiveTic' argument 2 names different: declaration 'playeringame' definition 'players_mask'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/d_loop.h:89:47: note: Function 'D_ReceiveTic' argument 2 names different: declaration 'playeringame' definition 'players_mask'. chocolate-doom-chocolate-doom-3.1.1/src/d_loop.c:268:47: note: Function 'D_ReceiveTic' argument 2 names different: declaration 'playeringame' definition 'players_mask'. chocolate-doom-chocolate-doom-3.1.1/src/d_loop.c:268:29: style: Parameter 'ticcmds' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/d_loop.c:268:47: style: Parameter 'players_mask' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/deh_io.c:331:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/deh_io.c:344:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/deh_io.c:325:33: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/deh_io.c:353:37: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/deh_main.c:393:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/deh_main.c:452:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/deh_main.c:478:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/deh_main.c:416:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/deh_main.c:206:11: style: Variable 'line' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/deh_mapping.c:130:65: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/deh_str.c:85:25: style: Variable 'subst' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:79:9: warning: If memory allocation fails, then there is a possible null pointer dereference: from_text [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:72:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:72:23: note: Assignment 'from_text=malloc(fromlen+1)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:79:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:81:5: warning: If memory allocation fails, then there is a possible null pointer dereference: from_text [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:72:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:72:23: note: Assignment 'from_text=malloc(fromlen+1)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:81:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:87:9: warning: If memory allocation fails, then there is a possible null pointer dereference: to_text [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:73:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:73:21: note: Assignment 'to_text=malloc(tolen+1)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:87:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:89:5: warning: If memory allocation fails, then there is a possible null pointer dereference: to_text [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:73:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:73:21: note: Assignment 'to_text=malloc(tolen+1)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:89:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:50:58: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_TextStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:108:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:50:58: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:99:46: style: Parameter 'context' can be declared as pointer to const. However it seems that 'DEH_TextParseLine' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:109:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:99:46: note: Parameter 'context' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:99:61: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_TextParseLine' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:109:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:99:61: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:99:73: style: Parameter 'tag' can be declared as pointer to const. However it seems that 'DEH_TextParseLine' is a callback function, if 'tag' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:109:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/deh_text.c:99:73: note: Parameter 'tag' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/doom/doomdata.h:57:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short x ; short y ; } ) mapvertex_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/doom/doomdata.h:66:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short textureoffset ; short rowoffset ; char toptexture [ 8 ] ; char bottomtexture [ 8 ] ; char midtexture [ 8 ] ; short sector ; } ) mapsidedef_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/doom/doomdata.h:81:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short v1 ; short v2 ; short flags ; short special ; short tag ; short sidenum [ 2 ] ; } ) maplinedef_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/doom/doomdata.h:138:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short floorheight ; short ceilingheight ; char floorpic [ 8 ] ; char ceilingpic [ 8 ] ; short lightlevel ; short special ; short tag ; } ) mapsector_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/doom/doomdata.h:150:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short numsegs ; short firstseg ; } ) mapsubsector_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/doom/doomdata.h:160:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short v1 ; short v2 ; short angle ; short linedef ; short side ; short offset ; } ) mapseg_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/doom/doomdata.h:177:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short x ; short y ; short dx ; short dy ; short bbox [ 2 ] [ 4 ] ; unsigned short children [ 2 ] ; } ) mapnode_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/doom/doomdata.h:200:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short x ; short y ; short angle ; short type ; short options ; } ) mapthing_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:297:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:336:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:380:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:427:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_keyup [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:488:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:527:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:541:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_keyup [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:574:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:584:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:604:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_joystick [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:766:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:785:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:837:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:924:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:1025:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:1104:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:1206:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finecosine [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:1324:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:1342:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/am_map.c:1269:17: style: Variable 'their_colors' can be declared as const array [constVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:193:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:306:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:348:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_multi_msgplayer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:389:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drone [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:438:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable screenvisible [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:458:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bfgedition [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:524:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:559:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_ultimate [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:743:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doom2 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:779:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:857:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pack_chex [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:1021:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:1169:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable screensaver_mode [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:1181:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doom2 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:1191:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable freedoom [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:1300:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:718:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: deh_gamename [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assignment 'deh_gamename=malloc(gamename_size)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:718:20: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:718:55: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: deh_gamename [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assignment 'deh_gamename=malloc(gamename_size)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:718:55: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:723:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: deh_gamename [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assignment 'deh_gamename=malloc(gamename_size)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:718:44: note: Assuming condition is false chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:723:20: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:917:17: style: Variable 'handle' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:999:11: style: Variable 'demolump' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_net.c:172:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_net.c:43:38: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_net.c:69:45: style: Parameter 'ingame' can be declared as pointer to const. However it seems that 'RunTic' is a callback function, if 'ingame' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_net.c:97:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/doom/d_net.c:69:45: note: Parameter 'ingame' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/doom/d_net.c:105:50: style: Parameter 'settings' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_ammo.c:29:58: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_AmmoStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_ammo.c:98:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_ammo.c:29:58: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_bexstr.c:336:60: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_BEXStrStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_bexstr.c:372:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_bexstr.c:336:60: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_cheat.c:116:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deh_apply_cheats [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_cheat.c:56:43: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_cheat.c:69:44: style: Parameter 'context' can be declared as pointer to const. However it seems that 'DEH_CheatStart' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_cheat.c:141:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_cheat.c:69:44: note: Parameter 'context' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_cheat.c:69:59: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_CheatStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_cheat.c:141:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_cheat.c:69:59: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_cheat.c:79:20: style: Variable 'unsvalue' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_frame.c:30:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_misc.c:155:43: style: Parameter 'context' can be declared as pointer to const. However it seems that 'DEH_MiscStart' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_misc.c:223:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_misc.c:155:43: note: Parameter 'context' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_misc.c:155:58: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_MiscStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_misc.c:223:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_misc.c:155:58: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_ptr.c:31:40: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_ptr.c:56:61: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_PointerStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_ptr.c:137:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_ptr.c:56:61: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_sound.c:27:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_thing.c:29:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/doom/deh_weapon.c:30:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:118:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pack_chex [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:178:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:240:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:467:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_keydown [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:510:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:550:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:584:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_VideoBuffer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:616:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVEL [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:674:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_ultimate [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:229:11: style: Variable 'src' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:465:35: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_finale.c:578:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:52:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:150:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:237:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:249:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:276:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_VideoBuffer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:102:18: style: Condition '*w<*e' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:91:9: note: Assuming that condition '*w!=*e' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:102:18: note: Condition '*w<*e' is always true chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:49:10: style: Local variable 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:130:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:49:10: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:233:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:130:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:233:7: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:245:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:130:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:245:7: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:259:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:130:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:259:7: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:82:14: style: Variable 'e' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:174:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:251:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pack_chex [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:341:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ticcmd_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:672:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:744:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joybprevweapon [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:762:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_MOUSE_BUTTONS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:792:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_spy [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:962:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:1186:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:1292:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:1339:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:1398:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:1419:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:1588:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:1853:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_nightmare [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:2018:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:2038:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_demo_quit [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:2110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:2156:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_doom_1_2 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:2240:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:2332:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable singletics [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:2360:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:2184:36: style:inconclusive: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.h:41:37: note: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:2184:36: note: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:1173:15: style: Parameter 'mthing' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/g_game.c:2320:24: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/hu_lib.c:113:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/hu_lib.c:150:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/hu_lib.c:187:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/hu_lib.c:319:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_BACKSPACE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/hu_lib.c:300:10: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/hu_stuff.c:348:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/hu_stuff.c:381:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/hu_stuff.c:477:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/hu_stuff.c:570:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/hu_stuff.c:596:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_RSHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/hu_stuff.c:579:31: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:530:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:549:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:600:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:714:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_menu_confirm [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:752:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_menu_confirm [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:789:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:804:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:811:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:820:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:877:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:888:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:902:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:916:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:921:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_menu_confirm [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:942:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shareware [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:965:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1012:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_menu_confirm [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1096:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_menu_confirm [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1114:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pack_chex [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1217:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1262:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1277:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1327:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1340:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_PAUSE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1368:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_quit [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1961:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENHEIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:2089:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_ultimate [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:995:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1022:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1046:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1052:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1058:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1162:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:995:12: style: Variable 'choice' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1022:12: style: Variable 'choice' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1046:12: style: Variable 'choice' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1052:12: style: Variable 'choice' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1058:12: style: Variable 'choice' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/m_menu.c:1162:12: style: Variable 'choice' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_ceilng.c:120:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_ceilng.c:192:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_ceilng.c:259:39: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_ceilng.c:280:40: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_ceilng.c:303:33: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_doors.c:134:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_doors.c:267:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_doors.c:441:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_doors.c:524:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_doors.c:549:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:179:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_doom_1_5 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:217:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:297:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:379:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:535:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG270 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:675:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_doom_1_2 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:805:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:827:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:850:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:936:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_doom_1_5 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1010:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1029:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1188:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1273:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1328:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1370:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1389:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1411:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1444:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1494:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1536:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1622:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_ultimate [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1678:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1868:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1896:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1921:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_easy [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:2015:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:561:13: style: Variable 'mo2' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1177:18: style: Variable 'info' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1432:14: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1671:27: style: Parameter 'mo' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1674:13: style: Variable 'mo2' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1855:27: style: Parameter 'mo' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1861:29: style: Parameter 'mo' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1887:30: style: Parameter 'mo' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1908:26: style: Parameter 'mo' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_floor.c:275:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_floor.c:479:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_floor.c:369:16: style: Variable 'side' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_floor.c:179:11: style: Variable 'lastpos' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_floor.c:181:8: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_inter.c:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_inter.c:343:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_inter.c:742:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_chex [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_inter.c:812:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_inter.c:283:13: style:inconclusive: Function 'P_GivePower' argument 1 names different: declaration '' definition 'player'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_inter.c:284:23: style:inconclusive: Function 'P_GivePower' argument 2 names different: declaration '' definition 'power'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_lights.c:69:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_lights.c:124:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_lights.c:181:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_lights.c:338:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_lights.c:229:34: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_lights.c:235:16: style: Variable 'tsec' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_lights.c:265:11: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_lights.c:271:15: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:152:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:208:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXRIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:421:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:505:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:640:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG180 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:691:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:763:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:992:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:1074:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:1116:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:1183:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:1226:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:1264:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:1316:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_doom_1_2 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:1376:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXLEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:1412:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:1366:13: style: Parameter 'sector' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_map.c:1388:36: style: Parameter 'ld' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:90:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:116:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:372:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:424:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:524:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bnext [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:569:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:896:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:296:29: style: Argument 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.h:27:17: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:296:29: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:160:14: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:298:15: style: Variable 'front' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:299:15: style: Variable 'back' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:828:64: style: Parameter 'intercept' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:143:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:263:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:404:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:499:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:541:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_nightmare [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:637:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:712:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:802:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:884:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:911:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:984:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:1033:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:665:17: error:inconclusive: Array 'mobjinfo[137]' accessed at index 137, which is out of bounds. [arrayIndexOutOfBounds] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_mobj.c:651:17: note: Assuming that condition 'iviewz' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_user.c:95:20: note: player->viewz is assigned chocolate-doom-chocolate-doom-3.1.1/src/doom/p_user.c:97:16: note: player->viewz is overwritten chocolate-doom-chocolate-doom-3.1.1/src/doom/p_user.c:143:16: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.c:147:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.c:225:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.c:278:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG180 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.c:403:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXLEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.c:479:9: style: Condition 'sx2<=start->last' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.c:475:24: note: Assuming that condition 'start->lastlast' is always true chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.c:200:18: style: Variable 'start' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.c:380:31: style: Parameter 'bspcoord' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.c:396:18: style: Variable 'start' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:59:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short originx ; short originy ; short patch ; short stepdir ; short colormap ; } ) mappatch_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:74:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { char name [ 8 ] ; int masked ; short width ; short height ; int obsolete ; short patchcount ; mappatch_t patches [ 1 ] ; } ) maptexture_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:243:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:318:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:392:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:408:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:484:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:634:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:656:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:684:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:827:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lumpinfo [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:194:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:237:13: style: Variable 'collump' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:460:11: style: Variable 'maptex1' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:738:16: style: Variable 'texture' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:805:20: style: Variable 'sf' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:499:22: style: Variable 'maptex1' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:116:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:224:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:303:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:360:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:420:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:469:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:518:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:585:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:714:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:770:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:815:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:915:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_VideoBuffer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:932:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_draw.c:798:11: style: Variable 'src' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:127:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXLEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:184:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:247:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:295:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tantoangle [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:407:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tantoangle [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:475:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:553:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finetangent [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:624:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:679:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:834:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finesine [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:148:11: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_main.c:589:4: style: Variable 't' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_plane.c:149:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_plane.c:197:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_plane.c:246:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_plane.c:381:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_segs.c:256:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_segs.c:398:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_sky.c:50:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENHEIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:211:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lumpinfo [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:295:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:358:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:400:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:484:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:668:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:803:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:838:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:50:10: style: struct member 'maskdraw_t::x1' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:51:10: style: struct member 'maskdraw_t::x2' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:53:10: style: struct member 'maskdraw_t::column' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:54:10: style: struct member 'maskdraw_t::topclip' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_things.c:55:10: style: struct member 'maskdraw_t::bottomclip' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:118:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_doom_1_666 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:232:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:312:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priority [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:362:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:451:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORM_PITCH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:663:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable snd_musicdevice [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:429:25: style:inconclusive: Function 'S_StartSound' argument 1 names different: declaration 'origin' definition 'origin_p'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.h:54:25: note: Function 'S_StartSound' argument 1 names different: declaration 'origin' definition 'origin_p'. chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:429:25: note: Function 'S_StartSound' argument 1 names different: declaration 'origin' definition 'origin_p'. chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:429:39: style:inconclusive: Function 'S_StartSound' argument 2 names different: declaration 'sound_id' definition 'sfx_id'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.h:54:37: note: Function 'S_StartSound' argument 2 names different: declaration 'sound_id' definition 'sfx_id'. chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:429:39: note: Function 'S_StartSound' argument 2 names different: declaration 'sound_id' definition 'sfx_id'. chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:649:23: style:inconclusive: Function 'S_StartMusic' argument 1 names different: declaration 'music_id' definition 'm_id'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.h:61:23: note: Function 'S_StartMusic' argument 1 names different: declaration 'music_id' definition 'm_id'. chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:649:23: note: Function 'S_StartMusic' argument 1 names different: declaration 'music_id' definition 'm_id'. chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:654:24: style:inconclusive: Function 'S_ChangeMusic' argument 1 names different: declaration 'music_id' definition 'musicnum'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.h:65:24: note: Function 'S_ChangeMusic' argument 1 names different: declaration 'music_id' definition 'musicnum'. chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:654:24: note: Function 'S_ChangeMusic' argument 1 names different: declaration 'music_id' definition 'musicnum'. chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:114:17: style: Argument 'sfxVolume' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/doomstat.h:117:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:114:17: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:114:32: style: Argument 'musicVolume' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/doomstat.h:118:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:114:32: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:238:13: style: Variable 'spmus' can be declared as const array [constVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:266:26: style: Parameter 'origin' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:563:23: style: Variable 'sfx' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_lib.c:48:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_lib.c:89:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_lib.c:217:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable leftoffset [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_lib.c:271:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENHEIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_lib.c:110:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_lib.c:91:12: note: x is initialized chocolate-doom-chocolate-doom-3.1.1/src/doom/st_lib.c:110:7: note: x is overwritten chocolate-doom-chocolate-doom-3.1.1/src/doom/st_lib.c:184:18: style:inconclusive: Function 'STlib_initMultIcon' argument 1 names different: declaration 'mi' definition 'i'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_lib.h:180:18: note: Function 'STlib_initMultIcon' argument 1 names different: declaration 'mi' definition 'i'. chocolate-doom-chocolate-doom-3.1.1/src/doom/st_lib.c:184:18: note: Function 'STlib_initMultIcon' argument 1 names different: declaration 'mi' definition 'i'. chocolate-doom-chocolate-doom-3.1.1/src/doom/st_stuff.c:361:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_stuff.c:375:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_keyup [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_stuff.c:674:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_stuff.c:941:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_stuff.c:1119:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_stuff.c:1357:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_stuff.c:1365:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/st_stuff.c:1114:5: style: Variable 'facenum' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/statdump.c:70:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/statdump.c:278:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/statdump.c:337:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:420:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:458:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:487:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable leftoffset [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:525:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:554:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:605:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:636:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:777:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:803:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:880:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:984:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1033:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1099:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1255:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1310:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1337:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1353:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1453:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1492:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_ATTACK [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1523:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1561:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1710:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1715:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:1817:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_ultimate [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:436:24: style: Condition 'wbs->last>NUMCMAPS' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:431:24: note: Assuming that condition 'wbs->last==NUMCMAPS' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:436:24: note: Condition 'wbs->last>NUMCMAPS' is always true chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:689:8: style: Argument 'p' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:386:18: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:689:8: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:842:10: style: Local variable 'frags' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:369:18: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:842:10: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:409:31: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:161:10: style: struct member 'anim_t::lastdrawn' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:167:10: style: struct member 'anim_t::state' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/gusconf.c:227:42: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/gusconf.c:227:62: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdata.h:51:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short x , y ; } ) mapvertex_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdata.h:56:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short textureoffset ; short rowoffset ; char toptexture [ 8 ] , bottomtexture [ 8 ] , midtexture [ 8 ] ; short sector ; } ) mapsidedef_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdata.h:64:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short v1 , v2 ; short flags ; short special , tag ; short sidenum [ 2 ] ; } ) maplinedef_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdata.h:91:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short floorheight , ceilingheight ; char floorpic [ 8 ] , ceilingpic [ 8 ] ; short lightlevel ; short special , tag ; } ) mapsector_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdata.h:99:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short numsegs ; short firstseg ; } ) mapsubsector_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdata.h:105:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short v1 , v2 ; short angle ; short linedef , side ; short offset ; } ) mapseg_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdata.h:114:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short x , y , dx , dy ; short bbox [ 2 ] [ 4 ] ; unsigned short children [ 2 ] ; } ) mapnode_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdata.h:121:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short x , y ; short angle ; short type ; short options ; } ) mapthing_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdata.h:142:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short originx ; short originy ; short patch ; short stepdir ; short colormap ; } ) mappatch_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdata.h:151:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { char name [ 8 ] ; boolean masked ; short width ; short height ; int obsolete ; short patchcount ; mappatch_t patches [ 1 ] ; } ) maptexture_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:228:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:263:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:310:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:335:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_VideoBuffer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:410:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:443:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:488:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:497:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:511:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_joystick [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:684:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:762:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:824:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_VideoBuffer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:975:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:1235:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:1349:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finecosine [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:1444:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:1514:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:330:13: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:501:32: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/am_map.c:1398:16: style: Variable 'their_colors' can be declared as const array [constVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/ct_chat.c:152:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_LALT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/ct_chat.c:266:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chatchar [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/ct_chat.c:361:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/ct_chat.c:429:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/ct_chat.c:458:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/ct_chat.c:144:11: style: Variable 'macro' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/ct_chat.c:415:14: style: Variable 'patch' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/ct_chat.c:443:14: style: Variable 'patch' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:157:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:302:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:363:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shareware [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:423:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:492:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_COLOR_CYAN [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:512:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_COLOR_BLUE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:554:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_COLOR_BRIGHT_GREEN [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:587:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:668:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_multi_msgplayer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:712:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:730:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:866:9: style: Condition 'cdrom' is always false [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:847:13: note: Assignment 'cdrom=false', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:866:9: note: Condition 'cdrom' is always false chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:611:26: style:inconclusive: Function 'tprintf' argument 1 names different: declaration 'string' definition 'msg'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdef.h:601:26: note: Function 'tprintf' argument 1 names different: declaration 'string' definition 'msg'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:611:26: note: Function 'tprintf' argument 1 names different: declaration 'string' definition 'msg'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:124:15: style: Variable 'player' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:460:17: style: Variable 'handle' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_main.c:568:11: style: Variable 'loading' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_net.c:106:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ticdup [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_net.c:141:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_heretic_1_3 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_net.c:162:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heretic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_net.c:55:36: style: Variable 'players[consoleplayer].message' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_net.c:52:36: note: players[consoleplayer].message is assigned chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_net.c:55:36: note: players[consoleplayer].message is overwritten chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_net.c:39:38: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_net.c:65:45: style: Parameter 'ingame' can be declared as pointer to const. However it seems that 'RunTic' is a callback function, if 'ingame' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_net.c:93:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_net.c:65:45: note: Parameter 'ingame' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/heretic/d_net.c:101:50: style: Parameter 'settings' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_ammo.c:29:58: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_AmmoStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_ammo.c:108:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_ammo.c:29:58: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_frame.c:176:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:790:9: warning: If memory allocation fails, then there is a possible null pointer dereference: repl_text [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:780:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:780:23: note: Assignment 'repl_text=malloc(repl_len+1)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:790:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:792:5: warning: If memory allocation fails, then there is a possible null pointer dereference: repl_text [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:780:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:780:23: note: Assignment 'repl_text=malloc(repl_len+1)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:792:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:767:58: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_TextStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:840:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:767:58: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:831:46: style: Parameter 'context' can be declared as pointer to const. However it seems that 'DEH_TextParseLine' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:841:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:831:46: note: Parameter 'context' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:831:61: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_TextParseLine' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:841:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:831:61: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:831:73: style: Parameter 'tag' can be declared as pointer to const. However it seems that 'DEH_TextParseLine' is a callback function, if 'tag' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:841:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htext.c:831:73: note: Parameter 'tag' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htic.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htic.c:102:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_htic.c:170:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_sound.c:31:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_thing.c:31:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/heretic/deh_weapon.c:32:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:93:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_keydown [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:162:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:226:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_VideoBuffer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:263:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVEL [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:311:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:415:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shareware [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:126:13: style: Condition '!finalestage' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:122:9: note: Assuming that condition '!finalestage' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:126:13: note: Condition '!finalestage' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:91:31: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:151:11: style: Variable 'src' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:222:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/f_finale.c:255:11: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:309:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BACKUPTICS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:793:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:841:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joybprevweapon [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:936:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_MOUSE_BUTTONS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:989:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_useartifact [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:1167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:1440:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:1488:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:1535:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:1763:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:1891:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:1911:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_demo_quit [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:2013:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:2073:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:2132:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:2189:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:2060:36: style:inconclusive: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdef.h:667:36: note: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:2060:36: note: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:302:9: style: Local variable 'flyheight' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_local.h:278:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:302:9: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:902:15: style: Variable 'plr' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:1433:49: style: Parameter 'mthing' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:1577:16: style: Variable 'afterSecret' can be declared as const array [constVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:322:34: style: Variable 'arti' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:165:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:280:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:354:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:584:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:760:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable retail [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:805:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:860:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:1070:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:233:14: style: Condition 'netgame' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:718:33: style: Condition 'intertime>=30' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:713:19: note: Assuming that condition 'intertime<30' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:718:33: note: Condition 'intertime>=30' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:730:33: style: Condition 'intertime>=60' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:726:19: note: Assuming that condition 'intertime<60' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:730:33: note: Condition 'intertime>=60' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:742:33: style: Condition 'intertime>=90' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:738:19: note: Assuming that condition 'intertime<90' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:742:33: note: Condition 'intertime>=90' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:754:33: style: Condition 'intertime>=150' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:750:19: note: Assuming that condition 'intertime<150' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:754:33: note: Condition 'intertime>=150' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:812:32: style: Condition 'intertime>=40' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:806:27: note: Assuming that condition 'intertime<40' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:812:32: note: Condition 'intertime>=40' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/in_lude.c:581:11: style: Variable 'src' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:306:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable retail [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:346:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:376:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:404:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:434:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:534:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:549:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:679:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1091:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_quit [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1779:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1815:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:782:9: style: Condition '!netgame' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:775:25: note: Assuming that condition 'netgame' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:782:9: note: Condition '!netgame' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:782:21: style: Condition '!demoplayback' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:775:9: note: Assuming that condition 'demoplayback' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:782:21: note: Condition '!demoplayback' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1366:33: style: Condition '!demoplayback' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1359:42: note: Assuming that condition '!demoplayback' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1366:33: note: Condition '!demoplayback' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1424:37: style: Condition '!demoplayback' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1415:42: note: Assuming that condition '!demoplayback' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1424:37: note: Condition '!demoplayback' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1438:37: style: Condition '!demoplayback' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1415:42: note: Assuming that condition '!demoplayback' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1438:37: note: Condition '!demoplayback' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:669:36: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/mn_menu.c:1806:33: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_ceilng.c:78:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_ceilng.c:140:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_ceilng.c:201:40: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_ceilng.c:220:41: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_ceilng.c:239:34: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_doors.c:162:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_doors.c:305:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_doors.c:346:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_doors.c:367:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:167:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:210:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:264:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:356:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:490:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:555:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG270 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:686:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_nightmare [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:895:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:966:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1090:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1189:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1254:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1_X [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1269:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1335:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1_X [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1397:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1485:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1598:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1629:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1667:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1707:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG45 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1736:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1833:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1901:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1923:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG45 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1943:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2072:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG45 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2205:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2247:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2298:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2420:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2439:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2520:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2545:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2580:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2651:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:912:26: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:953:13: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1310:13: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1421:16: style: Variable 'chance' can be declared as const array [constVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1546:23: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1546:40: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1546:58: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1551:24: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1551:41: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1551:59: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1556:24: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1556:41: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1556:59: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1561:24: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1561:41: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1561:59: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1566:24: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1566:41: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1566:59: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1571:28: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1571:45: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1571:63: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1616:13: style: Variable 'target' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1812:16: style: Variable 'atkResolve1' can be declared as const array [constVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1813:16: style: Variable 'atkResolve2' can be declared as const array [constVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2052:13: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2340:26: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:2342:13: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_floor.c:252:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_floor.c:405:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_floor.c:317:29: style: Variable 'side' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_floor.c:157:33: style: Variable 'lastpos' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_floor.c:159:30: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:167:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:555:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:968:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:1000:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:1032:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:1112:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:1178:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:1258:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:430:29: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:425:69: style: Parameter 'mo' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:621:19: style: Variable 'sound' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:632:19: style: Variable 'sound' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_inter.c:644:19: style: Variable 'sound' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_lights.c:71:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_lights.c:127:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_lights.c:271:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_lights.c:172:35: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_lights.c:178:15: style: Variable 'tsec' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_lights.c:204:30: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_lights.c:209:15: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:174:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:239:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXRIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:553:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:630:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:696:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:819:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:982:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG180 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:1028:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:1098:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:1321:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:1404:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:1439:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:1506:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:1554:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:1584:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:1689:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXLEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_map.c:1680:35: style: Parameter 'sector' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:77:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:103:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:333:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:382:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:467:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bnext [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:509:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:678:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:260:29: style: Argument 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_local.h:321:16: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:260:29: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:144:60: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:262:15: style: Variable 'front' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:262:23: style: Variable 'back' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:152:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:178:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG180 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:249:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:308:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:489:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:624:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:714:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:788:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:875:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_nightmare [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:982:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1074:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1206:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1255:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1323:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1389:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1452:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1498:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1570:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1102:31: error:inconclusive: Array 'mobjinfo[161]' accessed at index 161, which is out of bounds. [arrayIndexOutOfBounds] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1093:5: note: After for loop, i has value 161 chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1102:31: note: Array index out of bounds chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:944:28: style:inconclusive: Function 'P_RemoveMobj' argument 1 names different: declaration 'th' definition 'mobj'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_local.h:140:28: note: Function 'P_RemoveMobj' argument 1 names different: declaration 'th' definition 'mobj'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:944:28: note: Function 'P_RemoveMobj' argument 1 names different: declaration 'th' definition 'mobj'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:622:17: style: Variable 'mthing' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:967:33: style: Parameter 'mthing' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_mobj.c:1264:29: style: Parameter 'mo' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_plats.c:151:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_plats.c:221:27: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_plats.c:247:34: style: Parameter 'plat' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:261:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:337:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:390:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:408:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:441:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:641:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FINEMASK [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:655:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:723:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:755:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:768:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:805:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:843:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:871:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:900:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:929:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:965:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1011:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1035:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG45 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1073:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1110:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1141:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1193:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1246:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1295:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1340:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG45 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1363:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG45 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1381:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG45 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1469:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1_X [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1564:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1605:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1621:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG180 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1638:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1_X [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1701:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1741:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1752:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1769:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1862:33: style:inconclusive: Function 'P_SetupPsprites' argument 1 names different: declaration 'curplayer' definition 'player'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_local.h:107:33: note: Function 'P_SetupPsprites' argument 1 names different: declaration 'curplayer' definition 'player'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1862:33: note: Function 'P_SetupPsprites' argument 1 names different: declaration 'curplayer' definition 'player'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1884:32: style:inconclusive: Function 'P_MovePsprites' argument 1 names different: declaration 'curplayer' definition 'player'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_local.h:108:32: note: Function 'P_MovePsprites' argument 1 names different: declaration 'curplayer' definition 'player'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1884:32: note: Function 'P_MovePsprites' argument 1 names different: declaration 'curplayer' definition 'player'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:255:33: style: Parameter 'mthing' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:457:10: style: Variable 'ammoUse' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:653:30: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1659:35: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1659:53: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:1659:72: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_pspr.c:817:16: style: Variable 'an' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:122:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:163:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:1572:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:1623:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:66:24: style:inconclusive: Function 'SV_OpenRead' argument 1 names different: declaration 'fileName' definition 'filename'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdef.h:681:24: note: Function 'SV_OpenRead' argument 1 names different: declaration 'fileName' definition 'filename'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:66:24: note: Function 'SV_OpenRead' argument 1 names different: declaration 'fileName' definition 'filename'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:115:21: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:252:50: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:292:44: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:716:48: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:750:46: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:775:52: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_saveg.c:1567:13: style: Variable 'si' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:80:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mapvertex_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:113:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mapseg_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:158:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mapsubsector_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:190:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mapsector_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:228:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mapnode_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:269:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:317:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maplinedef_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:396:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mapsidedef_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:443:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:501:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVEL [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:590:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lumpinfo [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:111:9: style: Local variable 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_local.h:321:16: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:111:9: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:315:15: style: Variable 'v1' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:315:20: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_sight.c:207:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:236:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:381:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:438:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:601:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:912:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:1001:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:1079:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:1216:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:1296:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:336:34: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:336:51: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:356:15: style: Variable 'other' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:380:15: style: Variable 'other' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:406:15: style: Variable 'other' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:453:15: style: Variable 'other' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:477:15: style: Variable 'other' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:497:38: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:517:15: style: Variable 'check' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:805:34: style: Parameter 'thing' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:973:13: style: Variable 'anim' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_spec.c:1047:15: style: Variable 's3' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_switch.c:109:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shareware [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_switch.c:264:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_telept.c:81:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_telept.c:121:30: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_telept.c:127:15: style: Variable 'sector' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_tick.c:98:36: style: Parameter 'thinker' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:109:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:199:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:319:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:426:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:517:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:614:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shareware [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:781:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:980:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:117:23: style: Variable 'player->viewz' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:116:27: note: player->viewz is assigned chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:117:23: note: player->viewz is overwritten chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:186:15: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_user.c:442:31: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_bsp.c:110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_bsp.c:171:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_bsp.c:232:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG180 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_bsp.c:331:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXLEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_bsp.c:394:36: style: Condition 'sx2<=start->last' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_bsp.c:392:24: note: Assuming that condition 'start->lastlast' is always true chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_bsp.c:149:18: style: Variable 'start' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_bsp.c:322:31: style: Parameter 'bspcoord' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_bsp.c:327:18: style: Variable 'start' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:144:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:214:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:276:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:316:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:462:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:486:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:523:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:665:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lumpinfo [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:101:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:140:12: style: Variable 'collump' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:300:29: style: Variable 'maptex1' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:644:20: style: Variable 'sf' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:330:22: style: Variable 'maptex1' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_draw.c:79:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_draw.c:109:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_draw.c:146:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tinttable [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_draw.c:188:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_draw.c:217:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tinttable [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_draw.c:240:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_draw.c:349:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_draw.c:377:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_draw.c:443:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_draw.c:374:11: style: Variable 'src' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_draw.c:440:11: style: Variable 'src' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:84:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXLEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:134:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:180:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:208:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tantoangle [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:270:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tantoangle [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:339:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:426:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finetangent [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:503:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:555:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:730:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:491:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdef.h:574:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:491:22: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:549:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdef.h:574:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:549:22: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:105:50: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:464:11: style: Variable 't' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_plane.c:87:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_plane.c:151:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_plane.c:204:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_plane.c:256:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_plane.c:432:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_segs.c:232:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_segs.c:358:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:178:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lumpinfo [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:262:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:332:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:375:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:489:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:689:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:837:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:878:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:1009:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:27:9: style: struct member 'maskdraw_t::x1' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:27:13: style: struct member 'maskdraw_t::x2' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:29:9: style: struct member 'maskdraw_t::column' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:30:9: style: struct member 'maskdraw_t::topclip' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_things.c:31:9: style: struct member 'maskdraw_t::bottomclip' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:94:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:152:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:323:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lumpnum [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:349:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numchannels [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:400:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usefulness [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:454:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usefulness [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:516:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opl_doom2_1_666 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:549:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:571:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:123:25: style:inconclusive: Function 'S_StartSound' argument 1 names different: declaration 'origin' definition '_origin'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.h:28:25: note: Function 'S_StartSound' argument 1 names different: declaration 'origin' definition '_origin'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:123:25: note: Function 'S_StartSound' argument 1 names different: declaration 'origin' definition '_origin'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:290:33: style:inconclusive: Function 'S_StartSoundAtVolume' argument 1 names different: declaration 'origin' definition '_origin'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.h:29:33: note: Function 'S_StartSoundAtVolume' argument 1 names different: declaration 'origin' definition '_origin'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:290:33: note: Function 'S_StartSoundAtVolume' argument 1 names different: declaration 'origin' definition '_origin'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:390:24: style:inconclusive: Function 'S_StopSound' argument 1 names different: declaration 'origin' definition '_origin'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.h:30:24: note: Function 'S_StopSound' argument 1 names different: declaration 'origin' definition '_origin'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:390:24: note: Function 'S_StopSound' argument 1 names different: declaration 'origin' definition '_origin'. chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:392:13: style: Variable 'origin' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/s_sound.c:414:27: style: Parameter 'oldactor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:194:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:309:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:357:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:411:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_VideoBuffer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:486:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:555:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENHEIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:716:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:778:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:903:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:953:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:997:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_keydown [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:1020:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_nightmare [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:1091:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shareware [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:1193:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shareware [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:1236:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heretic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:999:25: style: Condition 'HandleCheats(event->data1)' is always false [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:999:25: note: Calling function 'HandleCheats' returns 0 chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:999:25: note: Condition 'HandleCheats(event->data1)' is always false chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:408:11: style: Variable 'shades' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/heretic/sb_bar.c:452:9: style: Variable 'xPos' can be declared as const array [constVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/xddefs.h:47:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short x ; short y ; } ) mapvertex_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/hexen/xddefs.h:53:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short textureoffset ; short rowoffset ; char toptexture [ 8 ] ; char bottomtexture [ 8 ] ; char midtexture [ 8 ] ; short sector ; } ) mapsidedef_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/hexen/xddefs.h:63:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short v1 ; short v2 ; short flags ; byte special ; byte arg1 ; byte arg2 ; byte arg3 ; byte arg4 ; byte arg5 ; short sidenum [ 2 ] ; } ) maplinedef_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/hexen/xddefs.h:99:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short floorheight ; short ceilingheight ; char floorpic [ 8 ] ; char ceilingpic [ 8 ] ; short lightlevel ; short special ; short tag ; } ) mapsector_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/hexen/xddefs.h:110:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short numsegs ; short firstseg ; } ) mapsubsector_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/hexen/xddefs.h:116:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short v1 ; short v2 ; short angle ; short linedef ; short side ; short offset ; } ) mapseg_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/hexen/xddefs.h:127:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short x , y , dx , dy ; short bbox [ 2 ] [ 4 ] ; unsigned short children [ 2 ] ; } ) mapnode_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/hexen/xddefs.h:134:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short tid ; short x ; short y ; short height ; short angle ; short type ; short options ; byte special ; byte arg1 ; byte arg2 ; byte arg3 ; byte arg4 ; byte arg5 ; } ) mapthing_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/hexen/xddefs.h:169:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short originx ; short originy ; short patch ; short stepdir ; short colormap ; } ) mappatch_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/hexen/xddefs.h:178:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { char name [ 8 ] ; boolean masked ; short width ; short height ; int obsolete ; short patchcount ; mappatch_t patches [ 1 ] ; } ) maptexture_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:155:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:201:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG45 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:261:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:302:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:321:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:343:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:713:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:758:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:817:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:907:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:1032:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finecosine [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:1171:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:1297:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:850:44: style:inconclusive: Function 'A_LocalQuake' argument 2 names different: declaration 'victim' definition 'actor'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_local.h:350:44: note: Function 'A_LocalQuake' argument 2 names different: declaration 'victim' definition 'actor'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:850:44: note: Function 'A_LocalQuake' argument 2 names different: declaration 'victim' definition 'actor'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:888:39: style:inconclusive: Function 'A_Quake' argument 2 names different: declaration 'player' definition 'player_param'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_action.h:44:39: note: Function 'A_Quake' argument 2 names different: declaration 'player' definition 'player_param'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:888:39: note: Function 'A_Quake' argument 2 names different: declaration 'player' definition 'player_param'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:850:29: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/a_action.c:1024:27: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:171:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:206:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:253:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:277:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_VideoBuffer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:329:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:356:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:401:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:410:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:423:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_joystick [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:584:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:662:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:721:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENHEIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:1133:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:1235:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finecosine [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:1329:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:272:16: style: Variable 'think' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:414:32: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/am_map.c:1282:16: style: Variable 'their_colors' can be declared as const array [constVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/ct_chat.c:161:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_RALT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/ct_chat.c:292:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chatchar [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/ct_chat.c:381:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/ct_chat.c:449:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/ct_chat.c:478:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/ct_chat.c:153:11: style: Variable 'macro' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/ct_chat.c:435:14: style: Variable 'patch' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/ct_chat.c:463:14: style: Variable 'patch' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/d_net.c:105:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ticdup [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/d_net.c:151:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_hexen_1_1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/d_net.c:171:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hexen [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/d_net.c:42:38: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/d_net.c:64:45: style: Parameter 'ingame' can be declared as pointer to const. However it seems that 'RunTic' is a callback function, if 'ingame' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/hexen/d_net.c:92:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/hexen/d_net.c:64:45: note: Parameter 'ingame' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/hexen/d_net.c:279:31: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/f_finale.c:172:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/f_finale.c:246:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/f_finale.c:300:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/f_finale.c:313:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/f_finale.c:102:31: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/f_finale.c:167:11: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:215:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BACKUPTICS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:751:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:800:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joybprevweapon [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:895:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_MOUSE_BUTTONS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:948:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_useartifact [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:1138:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:1396:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:1445:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:1519:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:1894:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:2006:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:2026:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_demo_quit [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:2128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:2193:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:2261:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:2319:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:2180:36: style:inconclusive: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/h2def.h:791:36: note: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:2180:36: note: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:204:9: style: Local variable 'flyheight' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_local.h:333:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:204:9: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:861:15: style: Variable 'plr' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:1389:49: style: Parameter 'mthing' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:233:34: style: Variable 'arti' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/h2_main.c:326:29: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_NAME is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/hexen/in_lude.c:102:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/in_lude.c:254:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/in_lude.c:283:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/in_lude.c:402:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_VideoBuffer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/in_lude.c:448:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/in_lude.c:599:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/in_lude.c:563:11: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:357:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:383:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:413:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:441:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:471:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:570:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:585:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:614:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:748:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1197:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_quit [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1906:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1943:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1476:33: style: Condition '!demoplayback' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1469:42: note: Assuming that condition '!demoplayback' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1476:33: note: Condition '!demoplayback' is always true chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1536:37: style: Condition '!demoplayback' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1527:42: note: Assuming that condition '!demoplayback' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1536:37: note: Condition '!demoplayback' is always true chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1550:37: style: Condition '!demoplayback' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1527:42: note: Assuming that condition '!demoplayback' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1550:37: note: Condition '!demoplayback' is always true chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:512:17: style: Variable 'item' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:738:36: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/mn_menu.c:1934:33: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_acs.c:45:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { int marker ; int infoOffset ; int code ; } ) acsHeader_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_acs.c:455:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVEL [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_acs.c:526:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_acs.c:608:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_acs.c:633:58: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_acs.c:673:48: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_acs.c:1488:13: style: Variable 'mobj' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_ceilng.c:137:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_ceilng.c:194:49: style: Condition 'sec->ceilingheight>destHeight' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_ceilng.c:185:44: note: Assuming that condition 'sec->ceilingheight<=destHeight' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_ceilng.c:194:49: note: Condition 'sec->ceilingheight>destHeight' is always true chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_ceilng.c:106:40: style:inconclusive: Function 'EV_DoCeiling' argument 2 names different: declaration 'args' definition 'arg'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_spec.h:374:40: note: Function 'EV_DoCeiling' argument 2 names different: declaration 'args' definition 'arg'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_ceilng.c:106:40: note: Function 'EV_DoCeiling' argument 2 names different: declaration 'args' definition 'arg'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_ceilng.c:106:40: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_ceilng.c:238:40: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_ceilng.c:283:47: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_doors.c:149:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_doors.c:237:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_doors.c:141:37: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:157:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:200:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:252:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:350:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:483:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:585:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG270 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:707:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_nightmare [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:978:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1047:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1209:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1364:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1405:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1444:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG45 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1473:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1535:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1671:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1798:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1863:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2001:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2038:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_nightmare [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2141:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2152:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2239:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_nightmare [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2442:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2476:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2487:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2572:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2671:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2694:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2726:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2796:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2873:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2995:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3148:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3166:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3239:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3312:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3338:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3375:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3449:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3578:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3654:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3680:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3761:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3788:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3813:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3843:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3897:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG45 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3964:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:4005:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG_MAX [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:4241:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:4297:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:4330:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finesine [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:4358:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:4389:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:4456:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:4542:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:4606:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_nightmare [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:4872:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5018:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5140:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5211:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5225:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5238:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5251:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5264:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5277:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5293:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5340:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5384:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:5414:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1186:46: style:inconclusive: Function 'A_MinotaurLook' argument 2 names different: declaration 'player' definition 'player_'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_local.h:213:46: note: Function 'A_MinotaurLook' argument 2 names different: declaration 'player' definition 'player_'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1186:46: note: Function 'A_MinotaurLook' argument 2 names different: declaration 'player' definition 'player_'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1459:46: style:inconclusive: Function 'A_MinotaurAtk3' argument 2 names different: declaration 'player' definition 'player_'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_action.h:155:46: note: Function 'A_MinotaurAtk3' argument 2 names different: declaration 'player' definition 'player_'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1459:46: note: Function 'A_MinotaurAtk3' argument 2 names different: declaration 'player' definition 'player_'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1783:42: style:inconclusive: Function 'A_SkullPop' argument 2 names different: declaration 'player' definition 'player_'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_action.h:112:42: note: Function 'A_SkullPop' argument 2 names different: declaration 'player' definition 'player_'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1783:42: note: Function 'A_SkullPop' argument 2 names different: declaration 'player' definition 'player_'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1860:29: style:inconclusive: Function 'A_FreeTargMobj' argument 1 names different: declaration 'actor' definition 'mo'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_action.h:24:29: note: Function 'A_FreeTargMobj' argument 1 names different: declaration 'actor' definition 'mo'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1860:29: note: Function 'A_FreeTargMobj' argument 1 names different: declaration 'actor' definition 'mo'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1354:13: style: Variable 'target' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1425:13: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:1901:30: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:2428:33: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3414:13: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:3645:13: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_enemy.c:4325:13: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:297:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:519:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:614:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:711:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:776:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:901:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:930:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:601:29: style:inconclusive: Function 'EV_BuildStairs' argument 4 names different: declaration 'type' definition 'stairsType'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_spec.h:471:72: note: Function 'EV_BuildStairs' argument 4 names different: declaration 'type' definition 'stairsType'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:601:29: note: Function 'EV_BuildStairs' argument 4 names different: declaration 'type' definition 'stairsType'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:276:38: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:600:42: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:684:42: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:757:41: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:161:33: style: Variable 'lastpos' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_floor.c:163:30: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:166:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:584:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:748:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shareware [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:942:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:1416:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:1519:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:1566:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:1625:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:1682:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:1805:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:2116:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:2175:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_inter.c:772:50: warning: Either the condition 'artifactTypeviewz' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_user.c:130:27: note: player->viewz is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_user.c:131:23: note: player->viewz is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_user.c:199:15: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_user.c:478:31: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_user.c:1258:13: style: Variable 'pmo' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:135:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:234:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finecosine [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:268:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:361:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG_MAX [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:477:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:587:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg2 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:612:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:666:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXLEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:740:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:827:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finecosine [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:856:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:931:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXBOTTOM [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:992:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXRIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:1059:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:1123:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVEL [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:1232:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVEL [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:1365:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVEL [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:1431:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVEL [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:169:9: warning: Either the condition 'poly' is redundant or there is possible null pointer dereference: poly. [nullPointerRedundantCheck] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:162:13: note: Assuming that condition 'poly' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:169:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:302:9: warning: Either the condition 'poly' is redundant or there is possible null pointer dereference: poly. [nullPointerRedundantCheck] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:294:13: note: Assuming that condition 'poly' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:302:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:522:9: warning: Either the condition 'poly' is redundant or there is possible null pointer dereference: poly. [nullPointerRedundantCheck] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:512:13: note: Assuming that condition 'poly' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:522:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:1359:9: warning:inconclusive: Possible null pointer dereference: po [nullPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:1345:10: note: Assignment 'po=NULL', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:1346:19: note: Assuming condition is false chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:1359:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:90:22: style: Checking if unsigned expression 'pe->dist' is less than zero. [unsignedLessThanZero] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:220:22: style: Checking if unsigned expression 'pe->dist' is less than zero. [unsignedLessThanZero] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:114:45: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:246:43: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:456:47: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:599:47: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:604:18: style: Variable 'pe' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:924:39: style: Parameter 'po' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/po_man.c:1493:16: style: Variable 'poly' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_bsp.c:109:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_bsp.c:170:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_bsp.c:231:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG180 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_bsp.c:331:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXLEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_bsp.c:394:36: style: Condition 'sx2<=start->last' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_bsp.c:392:24: note: Assuming that condition 'start->lastlast' is always true chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_bsp.c:148:18: style: Variable 'start' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_bsp.c:322:31: style: Parameter 'bspcoord' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_bsp.c:327:18: style: Variable 'start' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:140:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:210:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:271:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:306:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:431:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:455:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:488:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:621:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lumpinfo [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:97:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:136:12: style: Variable 'collump' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:295:29: style: Variable 'maptex1' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:600:20: style: Variable 'sf' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:320:22: style: Variable 'maptex1' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:68:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:97:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:132:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:174:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:215:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:250:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:323:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:361:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:389:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:424:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:452:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:509:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:317:11: style: Variable 'transLump' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:449:11: style: Variable 'src' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_draw.c:506:11: style: Variable 'src' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:134:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:180:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:210:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tantoangle [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:272:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tantoangle [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:341:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:428:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finetangent [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:505:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:557:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:720:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:493:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/h2def.h:689:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:493:22: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:551:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/h2def.h:689:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:551:22: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:105:50: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:466:11: style: Variable 't' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:110:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:163:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:213:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:264:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:397:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:425:35: style: Condition 'count<0' is always false [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:422:31: note: Assuming that condition 'dc_yl<=dc_yh' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:424:39: note: Assignment 'count=dc_yh-dc_yl', assigned value is greater than -1 chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:425:35: note: Condition 'count<0' is always false chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:474:35: style: Condition 'count<0' is always false [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:471:31: note: Assuming that condition 'dc_yl<=dc_yh' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:473:39: note: Assignment 'count=dc_yh-dc_yl', assigned value is greater than -1 chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:474:35: note: Condition 'count<0' is always false chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:376:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_plane.c:377:11: style: Variable 'source2' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_segs.c:224:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_segs.c:350:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:181:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lumpinfo [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:265:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:335:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:378:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:498:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:702:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:864:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:905:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:1036:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:29:9: style: struct member 'maskdraw_t::x1' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:29:13: style: struct member 'maskdraw_t::x2' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:31:9: style: struct member 'maskdraw_t::column' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:32:9: style: struct member 'maskdraw_t::topclip' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_things.c:33:9: style: struct member 'maskdraw_t::bottomclip' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:187:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:298:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_MUSIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:320:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tagname [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:399:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:544:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numchannels [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:600:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usefulness [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:718:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usefulness [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:788:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opl_doom2_1_666 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:854:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:978:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tagname [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:757:31: style: Condition 'Channel[i].mo==listener' is always false [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:314:24: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:591:27: style: Parameter 'origin' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:637:27: style: Parameter 'oldactor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/s_sound.c:875:40: style: Parameter 'mobj' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:261:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:351:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:493:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:530:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:672:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:751:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENHEIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:830:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:968:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1029:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1237:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1279:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1397:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1451:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1466:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1481:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1498:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_keydown [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1521:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_nightmare [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1874:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shareware [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1884:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1101:26: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1118:26: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:638:9: style: Variable 'xPos' can be declared as const array [constVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1927:40: style: Parameter 'player' can be declared as pointer to const. However it seems that 'CheatRevealFunc' is a callback function, if 'player' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:241:6: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1927:40: note: Parameter 'player' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1927:58: style: Parameter 'cheat' can be declared as pointer to const. However it seems that 'CheatRevealFunc' is a callback function, if 'cheat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:241:6: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/hexen/sb_bar.c:1927:58: note: Parameter 'cheat' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/hexen/sc_man.c:131:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sc_man.c:280:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sn_sonix.c:162:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tagname [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sn_sonix.c:142:36: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sn_sonix.c:142:47: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sn_sonix.c:156:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sn_sonix.c:350:48: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sn_sonix.c:501:45: style: Parameter 'sequencePtr' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:2288:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:2513:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:2564:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:3447:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:3483:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:348:13: style: Variable 'str->mo' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:347:13: note: str->mo is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:348:13: note: str->mo is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:480:19: style: Variable 'str->poisoner' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:479:19: note: str->poisoner is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:480:19: note: str->poisoner is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:485:19: style: Variable 'str->attacker' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:484:19: note: str->attacker is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:485:19: note: str->attacker is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:687:15: style: Variable 'str->prev' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:686:15: note: str->prev is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:687:15: note: str->prev is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:689:15: style: Variable 'str->next' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:688:15: note: str->next is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:689:15: note: str->next is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:694:19: style: Variable 'str->function' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:693:19: note: str->function is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:694:19: note: str->function is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:768:16: style: Variable 'str->snext' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:767:16: note: str->snext is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:768:16: note: str->snext is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:770:16: style: Variable 'str->sprev' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:769:16: note: str->sprev is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:770:16: note: str->sprev is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:785:16: style: Variable 'str->bnext' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:784:16: note: str->bnext is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:785:16: note: str->bnext is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:787:16: style: Variable 'str->bprev' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:786:16: note: str->bprev is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:787:16: note: str->bprev is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:792:20: style: Variable 'str->subsector' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:791:20: note: str->subsector is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:792:20: note: str->subsector is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:819:15: style: Variable 'str->info' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:818:15: note: str->info is assigned chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:819:15: note: str->info is overwritten chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:2933:41: style:inconclusive: Function 'RestoreSSThinker' argument 1 names different: declaration 'sst' definition 'thinker'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:115:41: note: Function 'RestoreSSThinker' argument 1 names different: declaration 'sst' definition 'thinker'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:2933:41: note: Function 'RestoreSSThinker' argument 1 names different: declaration 'sst' definition 'thinker'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:3306:28: style:inconclusive: Function 'CopyFile' argument 1 names different: declaration 'sourceName' definition 'source_name'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:121:28: note: Function 'CopyFile' argument 1 names different: declaration 'sourceName' definition 'source_name'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:3306:28: note: Function 'CopyFile' argument 1 names different: declaration 'sourceName' definition 'source_name'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:3306:47: style:inconclusive: Function 'CopyFile' argument 2 names different: declaration 'destName' definition 'dest_name'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:121:46: note: Function 'CopyFile' argument 2 names different: declaration 'destName' definition 'dest_name'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:3306:47: note: Function 'CopyFile' argument 2 names different: declaration 'destName' definition 'dest_name'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:3498:31: style:inconclusive: Function 'SV_WritePtr' argument 1 names different: declaration 'ptr' definition 'val'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:135:31: note: Function 'SV_WritePtr' argument 1 names different: declaration 'ptr' definition 'val'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:3498:31: note: Function 'SV_WritePtr' argument 1 names different: declaration 'ptr' definition 'val'. chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:273:48: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:314:42: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:2508:13: style: Variable 'si' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:2709:32: style: Parameter 'mobj' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/hexen/sv_save.c:3498:31: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_cdmus.c:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_cdmus.c:75:28: style:inconclusive: Function 'I_CDMusTrackLength' argument 1 names different: declaration 'track' definition 'track_num'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/i_cdmus.h:39:28: note: Function 'I_CDMusTrackLength' argument 1 names different: declaration 'track' definition 'track_num'. chocolate-doom-chocolate-doom-3.1.1/src/i_cdmus.c:75:28: note: Function 'I_CDMusTrackLength' argument 1 names different: declaration 'track' definition 'track_num'. chocolate-doom-chocolate-doom-3.1.1/src/i_endoom.c:44:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_endoom.c:34:21: style: Parameter 'endoom_data' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_glob.c:363:24: style: Parameter 'glob' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_glob.c:367:32: style: Parameter 'glob' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_input.c:180:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KMOD_SHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_input.c:313:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_input.c:105:37: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_input.c:365:57: style: Parameter 'wheel' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_joystick.c:102:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_GAMECONTROLLER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_joystick.c:132:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_JoystickGUID [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_joystick.c:155:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_JoystickGUID [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_joystick.c:185:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_GAMECONTROLLER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_joystick.c:251:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_CONTROLLER_AXIS_TRIGGERLEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_joystick.c:328:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_CONTROLLER_BUTTON_DPAD_UP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_joystick.c:415:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_CONTROLLER_AXIS_MAX [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_joystick.c:453:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_JOYSTICK [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_joystick.c:494:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_JoystickGUID [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_joystick.c:530:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_JOYSTICK [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_joystick.c:697:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HAT_LEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_main.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:933:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1055:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1103:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1161:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1194:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1239:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1314:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:730:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:960:65: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:968:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:365:11: style: Variable 'num_start' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:401:16: style: Variable 'key' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:771:11: style: Variable 'path' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:790:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:825:46: style: Parameter 'musicdir' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1016:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1119:44: style: Parameter 'stream' can be declared as pointer to const. However it seems that 'TrackPositionCallback' is a callback function, if 'stream' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1184:42: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1119:44: note: Parameter 'stream' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1119:67: style: Parameter 'udata' can be declared as pointer to const. However it seems that 'TrackPositionCallback' is a callback function, if 'udata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1184:42: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/i_musicpack.c:1119:67: note: Parameter 'udata' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:482:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPL_REGS_LEVEL [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:529:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPL_REGS_FEEDBACK [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:566:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPL_REGS_LEVEL [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:601:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPL_REGS_FEEDBACK [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:620:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPL_NUM_VOICES [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:667:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPL_REGS_FREQ_2 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:894:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPL_REGS_FREQ_1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1226:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPL_NUM_VOICES [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1671:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1724:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPL_INIT_NONE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1759:9: style: Condition '!LoadInstrumentTable()' is always false [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1759:29: note: Calling function 'LoadInstrumentTable' returns 1 chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1759:9: note: Condition '!LoadInstrumentTable()' is always false chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:982:16: style: Checking if unsigned expression 'volume' is less than zero. [unsignedLessThanZero] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1414:28: style: Checking if unsigned expression 'running_tracks' is less than zero. [unsignedLessThanZero] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1839:30: style:inconclusive: Function 'I_OPL_DevMessages' argument 1 names different: declaration '' definition 'result'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1839:45: style:inconclusive: Function 'I_OPL_DevMessages' argument 2 names different: declaration '' definition 'result_len'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:596:22: style: Variable 'opl_voice' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:665:38: style: Parameter 'voice' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:671:67: style: Parameter 'track' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:695:25: style: Variable 'channel' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:781:59: style: Parameter 'channel' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1164:45: style: Parameter 'channel' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1272:41: style: Parameter 'track' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1274:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1610:28: style: Parameter 'mem' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1615:57: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1824:45: style: Parameter 'channel' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_pcsound.c:106:40: style: Parameter 'sfxinfo' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_pcsound.c:151:43: style: Parameter 'sfxinfo' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_pcsound.c:244:43: style: Parameter 'sfx' can be declared as pointer to const. However it seems that 'I_PCS_GetSfxLumpNum' is a callback function, if 'sfx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/i_pcsound.c:331:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/i_pcsound.c:244:43: note: Parameter 'sfx' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/i_sdlmusic.c:166:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlmusic.c:197:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlmusic.c:256:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlmusic.c:416:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlmusic.c:107:69: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlmusic.c:54:49: style: Parameter 'write_path' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlmusic.c:351:28: style: Parameter 'mem' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:235:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:638:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUDIO_U8 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:832:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:1031:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:1075:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:654:13: style: Local variable 'expanded_length' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:612:14: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:654:13: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:284:74: style: Parameter 'sfxinfo' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:306:13: style: Variable 'inp' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:605:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ExpandSoundData_SDL' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:1087:23: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:605:42: note: Parameter 'data' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:796:39: style: Parameter 'sfx' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_system.c:205:9: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_NAME is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/i_timer.c:78:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:285:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:387:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KMOD_LALT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:411:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_FULLSCREEN_DESKTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:684:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HINT_RENDER_SCALE_QUALITY [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:724:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_FULLSCREEN_DESKTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:848:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:868:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:1149:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:1164:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:1214:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_RESIZABLE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:1441:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:905:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:1134:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:839:26: style:inconclusive: Function 'I_SetPalette' argument 1 names different: declaration 'palette' definition 'doompalette'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/i_video.h:46:26: note: Function 'I_SetPalette' argument 1 names different: declaration 'palette' definition 'doompalette'. chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:839:26: note: Function 'I_SetPalette' argument 1 names different: declaration 'palette' definition 'doompalette'. chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:321:48: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:385:56: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:839:26: style: Parameter 'doompalette' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:1115:11: style: Variable 'env' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/i_video.c:1420:11: style: Variable 'env' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/i_videohr.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_videohr.c:76:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_videohr.c:176:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/i_videohr.c:249:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_ESCAPE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:131:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newargv [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:129:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:129:21: note: Assignment 'newargv=malloc(sizeof(char*)*100)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:131:12: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:142:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newargv [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:129:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:129:21: note: Assignment 'newargv=malloc(sizeof(char*)*100)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:135:20: note: Assuming condition is false chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:142:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:554:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:170:19: style: Variable 'argstart' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:203:19: style: Variable 'argstart' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/m_cheat.c:83:15: style: Parameter 'cht' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2630:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_TARNAME [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2692:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_TARNAME [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2793:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_TARNAME [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2558:18: style: Condition 'variable==NULL' is always false [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2576:18: style: Condition 'variable==NULL' is always false [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2591:18: style: Condition 'variable==NULL' is always false [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2606:18: style: Condition 'variable==NULL' is always false [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2455:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2478:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2698:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2707:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2743:64: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2766:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2772:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2799:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2805:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2514:47: style:inconclusive: Function 'M_BindIntVariable' argument 2 names different: declaration 'variable' definition 'location'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/m_config.h:30:47: note: Function 'M_BindIntVariable' argument 2 names different: declaration 'variable' definition 'location'. chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2514:47: note: Function 'M_BindIntVariable' argument 2 names different: declaration 'variable' definition 'location'. chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2527:51: style:inconclusive: Function 'M_BindFloatVariable' argument 2 names different: declaration 'variable' definition 'location'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/m_config.h:31:51: note: Function 'M_BindFloatVariable' argument 2 names different: declaration 'variable' definition 'location'. chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2527:51: note: Function 'M_BindFloatVariable' argument 2 names different: declaration 'variable' definition 'location'. chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2538:52: style:inconclusive: Function 'M_BindStringVariable' argument 2 names different: declaration 'variable' definition 'location'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/m_config.h:32:52: note: Function 'M_BindStringVariable' argument 2 names different: declaration 'variable' definition 'location'. chocolate-doom-chocolate-doom-3.1.1/src/m_config.c:2538:52: note: Function 'M_BindStringVariable' argument 2 names different: declaration 'variable' definition 'location'. chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:342:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:548:26: style: Condition 'pb==NULL' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:546:10: note: Assignment 'pb=NULL', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:548:26: note: Condition 'pb==NULL' is always true chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:574:26: style: Condition 'pb==NULL' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:572:10: note: Assignment 'pb=NULL', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:574:26: note: Condition 'pb==NULL' is always true chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:554:29: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:546:10: note: Assignment 'pb=NULL', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:554:29: note: Pointer less than zero chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:580:29: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:572:10: note: Assignment 'pb=NULL', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:580:29: note: Pointer less than zero chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:522:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:304:34: style:inconclusive: Function 'M_MakeDirectory' argument 1 names different: declaration 'dir' definition 'path'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/m_misc.h:41:34: note: Function 'M_MakeDirectory' argument 1 names different: declaration 'dir' definition 'path'. chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:304:34: note: Function 'M_MakeDirectory' argument 1 names different: declaration 'dir' definition 'path'. chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:326:34: style:inconclusive: Function 'M_FileExists' argument 1 names different: declaration 'file' definition 'filename'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/m_misc.h:43:34: note: Function 'M_FileExists' argument 1 names different: declaration 'file' definition 'filename'. chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:326:34: note: Function 'M_FileExists' argument 1 names different: declaration 'file' definition 'filename'. chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:349:36: style:inconclusive: Function 'M_FileCaseExists' argument 1 names different: declaration 'file' definition 'path'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/m_misc.h:44:36: note: Function 'M_FileCaseExists' argument 1 names different: declaration 'file' definition 'path'. chocolate-doom-chocolate-doom-3.1.1/src/m_misc.c:349:36: note: Function 'M_FileCaseExists' argument 1 names different: declaration 'file' definition 'path'. chocolate-doom-chocolate-doom-3.1.1/src/memio.c:164:44: style:inconclusive: Function 'mem_fseek' argument 2 names different: declaration 'offset' definition 'position'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/memio.h:35:44: note: Function 'mem_fseek' argument 2 names different: declaration 'offset' definition 'position'. chocolate-doom-chocolate-doom-3.1.1/src/memio.c:164:44: note: Function 'mem_fseek' argument 2 names different: declaration 'offset' definition 'position'. chocolate-doom-chocolate-doom-3.1.1/src/memio.c:159:25: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:100:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:118:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:144:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:181:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:220:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:253:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:283:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:318:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:547:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:607:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:651:5: warning: If memory allocation fails, then there is a possible null pointer dereference: iter [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:650:18: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:650:18: note: Assignment 'iter=malloc(sizeof(*iter))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:651:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:652:5: warning: If memory allocation fails, then there is a possible null pointer dereference: iter [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:650:18: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:650:18: note: Assignment 'iter=malloc(sizeof(*iter))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:652:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:653:5: warning: If memory allocation fails, then there is a possible null pointer dereference: iter [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:650:18: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:650:18: note: Assignment 'iter=malloc(sizeof(*iter))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:653:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:644:70: style:inconclusive: Function 'MIDI_IterateTrack' argument 2 names different: declaration 'track_num' definition 'track'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/midifile.h:205:70: note: Function 'MIDI_IterateTrack' argument 2 names different: declaration 'track_num' definition 'track'. chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:644:70: note: Function 'MIDI_IterateTrack' argument 2 names different: declaration 'track_num' definition 'track'. chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:91:49: style: Parameter 'chunk' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:584:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:637:42: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/midifile.c:669:23: style: Variable 'next_event' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/mus2mid.c:618:46: style: Condition 'controllernumber<1' is always false [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/mus2mid.c:608:42: note: Assuming that condition 'controllernumber==0' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/mus2mid.c:618:46: note: Condition 'controllernumber<1' is always false chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:460:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:1053:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:1193:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:308:43: style: Argument 'settings' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:110:27: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:308:43: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:433:11: style: Variable 'server_version' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:483:11: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:660:28: style: Variable 'recvobj' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:917:11: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:390:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rp [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:389:16: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:389:16: note: Assignment 'rp=malloc(sizeof(struct net_reliable_packet_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:390:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:391:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rp [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:389:16: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:389:16: note: Assignment 'rp=malloc(sizeof(struct net_reliable_packet_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:391:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:392:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rp [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:389:16: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:389:16: note: Assignment 'rp=malloc(sizeof(struct net_reliable_packet_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:392:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:393:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rp [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:389:16: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:389:16: note: Assignment 'rp=malloc(sizeof(struct net_reliable_packet_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:393:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:434:51: style: Parameter 'settings' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/net_common.c:498:34: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:54:42: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:60:38: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:253:40: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:69:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:142:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_COLOR_BRIGHT_WHITE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:203:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_SCREEN_H [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:255:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable txt_window_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:313:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_HORIZ_CENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:400:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:264:19: style: Local variable 'window' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:41:22: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:264:19: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/net_io.c:57:68: style:inconclusive: Function 'NET_ResolveAddress' argument 2 names different: declaration 'address' definition 'addr'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/net_io.h:58:68: note: Function 'NET_ResolveAddress' argument 2 names different: declaration 'address' definition 'addr'. chocolate-doom-chocolate-doom-3.1.1/src/net_io.c:57:68: note: Function 'NET_ResolveAddress' argument 2 names different: declaration 'address' definition 'addr'. chocolate-doom-chocolate-doom-3.1.1/src/net_loop.c:127:44: style: Parameter 'addr' can be declared as pointer to const. However it seems that 'NET_CL_FreeAddress' is a callback function, if 'addr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/net_loop.c:152:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/net_loop.c:127:44: note: Parameter 'addr' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/net_loop.c:203:44: style: Parameter 'addr' can be declared as pointer to const. However it seems that 'NET_SV_FreeAddress' is a callback function, if 'addr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/net_loop.c:227:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/net_loop.c:203:44: note: Parameter 'addr' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/net_packet.c:50:43: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/net_packet.c:90:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_packet.c:108:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_packet.c:211:11: style: Variable 'r' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_petname.c:117:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:101:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:516:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:788:26: style: Condition 'NET_StartLANQuery()' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:788:26: note: Calling function 'NET_StartLANQuery' returns 1 chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:788:26: note: Condition 'NET_StartLANQuery()' is always true chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:546:57: style:inconclusive: Function 'NET_Query_Poll' argument 2 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:812:35: style:inconclusive: Function 'NET_QueryAddress' argument 1 names different: declaration 'addr' definition 'addr_str'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/net_query.h:33:42: note: Function 'NET_QueryAddress' argument 1 names different: declaration 'addr' definition 'addr_str'. chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:812:35: note: Function 'NET_QueryAddress' argument 1 names different: declaration 'addr' definition 'addr_str'. chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:310:25: style: Variable 'broadcast_target' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:353:11: style: Variable 'addr_str' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:397:21: style: Variable 'target' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:601:48: style: Parameter 'addr' can be declared as pointer to const. However it seems that 'NET_Query_ExitCallback' is a callback function, if 'addr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:865:25: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:601:48: note: Parameter 'addr' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:601:71: style: Parameter 'data' can be declared as pointer to const. However it seems that 'NET_Query_ExitCallback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:865:25: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:601:71: note: Parameter 'data' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:602:66: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'NET_Query_ExitCallback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:865:25: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:602:66: note: Parameter 'user_data' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:886:49: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:928:11: style: Variable 'signature' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:237:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_BROADCAST [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:311:14: style: Local variable 'port' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:45:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:311:14: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:69:42: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:69:56: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:143:45: style: Parameter 'addr' can be declared as pointer to const. However it seems that 'NET_SDL_FreeAddress' is a callback function, if 'addr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:379:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:143:45: note: Parameter 'addr' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:229:64: style: Parameter 'packet' can be declared as pointer to const. However it seems that 'NET_SDL_SendPacket' is a callback function, if 'packet' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:376:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:229:64: note: Parameter 'packet' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:339:11: style: Variable 'colon' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_server.c:663:56: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_STRING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.c:131:66: style:inconclusive: Function 'NET_ReadQueryData' argument 2 names different: declaration 'querydata' definition 'query'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.h:30:73: note: Function 'NET_ReadQueryData' argument 2 names different: declaration 'querydata' definition 'query'. chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.c:131:66: note: Function 'NET_ReadQueryData' argument 2 names different: declaration 'querydata' definition 'query'. chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.c:159:64: style:inconclusive: Function 'NET_WriteQueryData' argument 2 names different: declaration 'querydata' definition 'query'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.h:29:71: note: Function 'NET_WriteQueryData' argument 2 names different: declaration 'querydata' definition 'query'. chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.c:159:64: note: Function 'NET_WriteQueryData' argument 2 names different: declaration 'querydata' definition 'query'. chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.c:63:66: style: Parameter 'settings' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.c:159:64: style: Parameter 'query' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.c:174:63: style: Parameter 'diff' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.c:305:31: style: Parameter 'tic1' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.c:305:47: style: Parameter 'tic2' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.c:485:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/net_structrw.c:541:58: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/setup/compatibility.c:30:43: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/display.c:217:35: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/display.c:119:47: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/display.c:139:47: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/display.c:184:50: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/display.c:123:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/display.c:158:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sizes_table [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/display.c:200:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heretic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/display.c:249:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_HORIZ_CENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/display.c:274:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doom [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:383:41: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:81:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:107:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargc [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:131:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:297:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:126:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:124:20: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:124:20: note: Assignment 'result=malloc(sizeof(struct execute_context_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:126:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:127:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:124:20: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:124:20: note: Assignment 'result=malloc(sizeof(struct execute_context_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:127:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:127:30: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:124:20: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:124:20: note: Assignment 'result=malloc(sizeof(struct execute_context_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:127:30: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:129:9: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:124:20: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:124:20: note: Assignment 'result=malloc(sizeof(struct execute_context_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:129:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:310:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:307:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:307:24: note: Assignment 'result=malloc(result_len)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:310:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/setup/execute.c:293:11: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1211:36: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1066:50: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1072:50: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1085:46: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1125:47: debug: Function::addArguments found argument 'table' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1139:41: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1161:41: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1189:41: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:758:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joybspeed [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:798:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_JOYSTICK [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:806:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_JOYSTICK [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:826:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_JoystickGUID [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:868:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_JoystickGUID [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:910:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ENABLE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:935:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_DISABLE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:960:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUID_STRING_BUF_SIZE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1004:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_JOYBUTTONDOWN [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1081:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joystick_window [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1144:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_CONTROLLER_AXIS_LEFTX [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1176:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heretic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1197:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joybuseartifact [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1258:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heretic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/joystick.c:1355:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_VIRTUAL_BUTTONS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:381:36: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:78:44: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:141:43: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:153:42: debug: Function::addArguments found argument 'table' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:165:44: debug: Function::addArguments found argument 'table' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:186:44: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:297:44: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:90:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joybspeed [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:145:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable variable [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:160:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable table [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:191:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heretic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:313:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_menu_activate [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:386:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joybspeed [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/keyboard.c:98:28: style: Parameter 'variable' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:56:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_up [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:150:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_HORIZ_CENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:241:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ESCAPE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:284:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_SDLWindow [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:292:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:310:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:109:13: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:98:43: style: Parameter 'window' can be declared as pointer to const. However it seems that 'MainMenuKeyPress' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:249:32: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:98:43: note: Parameter 'window' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:98:66: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'MainMenuKeyPress' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:249:32: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:98:66: note: Parameter 'user_data' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:122:26: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'DoQuit' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:147:58: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:122:26: note: Parameter 'widget' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:122:40: style: Parameter 'dosave' can be declared as pointer to const. However it seems that 'DoQuit' is a callback function, if 'dosave' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:147:58: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:122:40: note: Parameter 'dosave' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:109:20: style: Variable 'window' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:268:41: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:116:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doom [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:174:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heretic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:272:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:352:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:280:20: style: Local variable 'iwads' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:43:23: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:280:20: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/setup/mouse.c:126:33: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/mouse.c:58:45: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/mouse.c:76:44: debug: Function::addArguments found argument 'table' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/mouse.c:89:47: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/mouse.c:69:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable variable [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mouse.c:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable table [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mouse.c:104:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousebforward [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/mouse.c:147:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dclick_use [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:804:36: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:809:30: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:1022:35: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:1106:39: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:295:44: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:300:50: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:361:40: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:373:41: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:384:51: debug: Function::addArguments found argument 'button' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:391:46: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:476:41: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:491:43: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:645:43: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:660:50: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:862:47: debug: Function::addArguments found argument 'button' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:922:50: debug: Function::addArguments found argument 'results_table' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:966:50: debug: Function::addArguments found argument 'results_table' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:985:46: debug: Function::addArguments found argument 'window' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:1008:47: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:1015:42: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:226:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hexen [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:388:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:540:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mission [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:574:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable description [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:629:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_F10 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:737:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hexen [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:829:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hexen [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:856:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_F10 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:869:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable server_state [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:934:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_PROTOCOL_UNKNOWN [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:1038:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hexen [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:1133:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_COLOR_BRIGHT_CYAN [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:1161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_multi_msgplayer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:574:9: warning: If memory allocation fails, then there is a possible null pointer dereference: iwad_labels [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:570:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:570:25: note: Assignment 'iwad_labels=malloc(sizeof(*iwad_labels)*num_iwads)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:574:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/setup/multiplayer.c:818:60: style: Checking if unsigned expression 'strlen(connect_address)' is less than zero. [unsignedLessThanZero] chocolate-doom-chocolate-doom-3.1.1/src/setup/sound.c:221:33: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/sound.c:124:45: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/sound.c:159:45: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/sound.c:236:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_HORIZ_CENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/sound.c:371:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strife [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:275:59: debug: Function::addArguments found argument 'joystick_axis' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:343:50: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:440:53: debug: Function::addArguments found argument 'joystick_axis' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:450:51: debug: Function::addArguments found argument 'joystick_axis' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:524:50: debug: Function::addArguments found argument 'joystick_axis' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:543:55: debug: Function::addArguments found argument 'joystick_axis' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:547:52: debug: Function::addArguments found argument 'joystick_axis' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:565:51: debug: Function::addArguments found argument 'joystick_axis' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:583:55: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:596:54: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:113:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HAT_LEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:231:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable boolean [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:280:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_JOYBUTTONDOWN [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:348:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bad_axis [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:362:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_JOYSTICK [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:437:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_HORIZ_CENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:446:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:456:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable axis [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:530:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable axis [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:551:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:569:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:590:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_MOUSE_LEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:603:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_MOUSE_LEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:357:53: style:inconclusive: Function 'TXT_ConfigureJoystickAxis' argument 1 names different: declaration 'axis' definition 'joystick_axis'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.h:85:53: note: Function 'TXT_ConfigureJoystickAxis' argument 1 names different: declaration 'axis' definition 'joystick_axis'. chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:357:53: note: Function 'TXT_ConfigureJoystickAxis' argument 1 names different: declaration 'axis' definition 'joystick_axis'. chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joyaxis.c:35:58: style: Parameter 'joystick_axis' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:346:59: debug: Function::addArguments found argument 'joystick_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:380:48: debug: Function::addArguments found argument 'joystick_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:440:47: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:450:54: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:539:54: debug: Function::addArguments found argument 'joystick_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:556:52: debug: Function::addArguments found argument 'joystick_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:643:51: debug: Function::addArguments found argument 'joystick_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:670:56: debug: Function::addArguments found argument 'joystick_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:674:53: debug: Function::addArguments found argument 'joystick_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:694:52: debug: Function::addArguments found argument 'joystick_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:714:56: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:727:55: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:264:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_VIRTUAL_BUTTONS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:297:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_VIRTUAL_BUTTONS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:352:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_JOYBUTTONDOWN [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:386:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_CONTROLLERBUTTONDOWN [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:444:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joystick [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:455:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joystick [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:474:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_MOD_SHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:509:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_MOD_SHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:545:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:562:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable variable [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:649:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable variable [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:678:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:698:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:721:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_MOUSE_LEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:734:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_MOUSE_LEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_joybinput.c:276:42: style: Parameter 'variable' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:31:44: debug: Function::addArguments found argument 'key_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:59:40: debug: Function::addArguments found argument 'window' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:89:49: debug: Function::addArguments found argument 'key_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:100:47: debug: Function::addArguments found argument 'key_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:126:51: debug: Function::addArguments found argument 'key_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:130:48: debug: Function::addArguments found argument 'key_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:151:51: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:35:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ESCAPE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:71:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_MOD_SHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:95:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:106:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable variable [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:134:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:157:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_MOUSE_LEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:181:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: key_input [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:178:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:178:23: note: Assignment 'key_input=malloc(sizeof(struct txt_key_input_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_keyinput.c:181:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:34:46: debug: Function::addArguments found argument 'mouse_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:64:51: debug: Function::addArguments found argument 'mouse_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:99:49: debug: Function::addArguments found argument 'mouse_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:125:53: debug: Function::addArguments found argument 'mouse_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:129:50: debug: Function::addArguments found argument 'mouse_input' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:150:53: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:40:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable variable [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:57:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_MOD_SHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:70:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:105:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable variable [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:133:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:156:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_MOUSE_LEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:180:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mouse_input [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:177:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:177:25: note: Assignment 'mouse_input=malloc(sizeof(struct txt_mouse_input_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/setup/txt_mouseinput.c:180:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/sha1.c:42:32: style:inconclusive: Function 'SHA1_Init' argument 1 names different: declaration 'context' definition 'hd'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/sha1.h:33:32: note: Function 'SHA1_Init' argument 1 names different: declaration 'context' definition 'hd'. chocolate-doom-chocolate-doom-3.1.1/src/sha1.c:42:32: note: Function 'SHA1_Init' argument 1 names different: declaration 'context' definition 'hd'. chocolate-doom-chocolate-doom-3.1.1/src/sha1.c:200:34: style:inconclusive: Function 'SHA1_Update' argument 1 names different: declaration 'context' definition 'hd'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/sha1.h:34:34: note: Function 'SHA1_Update' argument 1 names different: declaration 'context' definition 'hd'. chocolate-doom-chocolate-doom-3.1.1/src/sha1.c:200:34: note: Function 'SHA1_Update' argument 1 names different: declaration 'context' definition 'hd'. chocolate-doom-chocolate-doom-3.1.1/src/sha1.c:200:44: style:inconclusive: Function 'SHA1_Update' argument 2 names different: declaration 'buf' definition 'inbuf'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/sha1.h:34:49: note: Function 'SHA1_Update' argument 2 names different: declaration 'buf' definition 'inbuf'. chocolate-doom-chocolate-doom-3.1.1/src/sha1.c:200:44: note: Function 'SHA1_Update' argument 2 names different: declaration 'buf' definition 'inbuf'. chocolate-doom-chocolate-doom-3.1.1/src/sha1.c:200:58: style:inconclusive: Function 'SHA1_Update' argument 3 names different: declaration 'len' definition 'inlen'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/sha1.h:34:61: note: Function 'SHA1_Update' argument 3 names different: declaration 'len' definition 'inlen'. chocolate-doom-chocolate-doom-3.1.1/src/sha1.c:200:58: note: Function 'SHA1_Update' argument 3 names different: declaration 'len' definition 'inlen'. chocolate-doom-chocolate-doom-3.1.1/src/sha1.c:240:55: style:inconclusive: Function 'SHA1_Final' argument 2 names different: declaration 'context' definition 'hd'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/sha1.h:35:55: note: Function 'SHA1_Final' argument 2 names different: declaration 'context' definition 'hd'. chocolate-doom-chocolate-doom-3.1.1/src/sha1.c:240:55: note: Function 'SHA1_Final' argument 2 names different: declaration 'context' definition 'hd'. chocolate-doom-chocolate-doom-3.1.1/src/sha1.c:57:49: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomdata.h:57:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short x ; short y ; } ) mapvertex_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomdata.h:66:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short textureoffset ; short rowoffset ; char toptexture [ 8 ] ; char bottomtexture [ 8 ] ; char midtexture [ 8 ] ; short sector ; } ) mapsidedef_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomdata.h:81:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short v1 ; short v2 ; short flags ; short special ; short tag ; short sidenum [ 2 ] ; } ) maplinedef_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomdata.h:150:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short floorheight ; short ceilingheight ; char floorpic [ 8 ] ; char ceilingpic [ 8 ] ; short lightlevel ; short special ; short tag ; } ) mapsector_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomdata.h:162:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short numsegs ; short firstseg ; } ) mapsubsector_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomdata.h:172:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short v1 ; short v2 ; short angle ; short linedef ; short side ; short offset ; } ) mapseg_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomdata.h:189:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short x ; short y ; short dx ; short dy ; short bbox [ 2 ] [ 4 ] ; unsigned short children [ 2 ] ; } ) mapnode_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomdata.h:212:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short x ; short y ; short angle ; short type ; short options ; } ) mapthing_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:313:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:357:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:404:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_keyup [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:467:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:506:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:520:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_keyup [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:554:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:564:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:585:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_joystick [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:758:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:829:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:1017:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:1212:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finecosine [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:1347:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/am_map.c:1276:17: style: Variable 'their_colors' can be declared as const array [constVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:239:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:424:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_multi_msgplayer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:485:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drone [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:527:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:588:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:626:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:803:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:840:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commercial [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:1049:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:1101:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable screensaver_mode [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:1209:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENHEIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:1298:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:1520:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:845:8: style: Condition 'isregistered' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:842:20: note: Assignment 'isregistered=true', assigned value is 1 chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:845:8: note: Condition 'isregistered' is always true chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:956:17: style: Variable 'handle' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_main.c:1773:15: style: Variable 'serial' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_net.c:115:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ticdup [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_net.c:177:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_net.c:42:38: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_net.c:68:45: style: Parameter 'ingame' can be declared as pointer to const. However it seems that 'RunTic' is a callback function, if 'ingame' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/strife/d_net.c:102:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/strife/d_net.c:68:45: note: Parameter 'ingame' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/strife/d_net.c:110:50: style: Parameter 'settings' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_ammo.c:29:58: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_AmmoStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_ammo.c:98:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_ammo.c:29:58: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_cheat.c:118:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deh_apply_cheats [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_cheat.c:58:43: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_cheat.c:71:44: style: Parameter 'context' can be declared as pointer to const. However it seems that 'DEH_CheatStart' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_cheat.c:143:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_cheat.c:71:44: note: Parameter 'context' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_cheat.c:71:59: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_CheatStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_cheat.c:143:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_cheat.c:71:59: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_cheat.c:81:20: style: Variable 'unsvalue' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_frame.c:30:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_misc.c:155:43: style: Parameter 'context' can be declared as pointer to const. However it seems that 'DEH_MiscStart' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_misc.c:223:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_misc.c:155:43: note: Parameter 'context' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_misc.c:155:58: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_MiscStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_misc.c:223:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_misc.c:155:58: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_ptr.c:31:40: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_ptr.c:56:61: style: Parameter 'line' can be declared as pointer to const. However it seems that 'DEH_PointerStart' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_ptr.c:137:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_ptr.c:56:61: note: Parameter 'line' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_sound.c:27:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_thing.c:29:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/strife/deh_weapon.c:30:1: error: There is an unknown macro here somewhere. Configuration is required. If DEH_BEGIN_MAPPING is a macro then please configure it. [unknownMacro] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:439:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_strife_1_31 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:486:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buttons [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:773:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_keydown [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:822:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:1028:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:822:20: warning: Either the condition 'c>('_'-'!'+1)' is redundant or the array 'hu_font[63]' is accessed at index 63, which is out of bounds. [arrayIndexOutOfBoundsCond] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:816:16: note: Assuming that condition 'c>('_'-'!'+1)' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:822:20: note: Array index out of bounds chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:841:20: warning: Either the condition 'c>('_'-'!'+1)' is redundant or the array 'hu_font[63]' is accessed at index 63, which is out of bounds. [arrayIndexOutOfBoundsCond] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:835:16: note: Assuming that condition 'c>('_'-'!'+1)' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:841:20: note: Array index out of bounds chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:771:35: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:800:11: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_finale.c:949:18: style: Variable 'scrolled' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:55:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:142:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:230:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:243:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:271:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:52:10: style: Local variable 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:122:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:52:10: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:226:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:122:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:226:7: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:239:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:122:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:239:7: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:254:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:122:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:254:7: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:92:11: style: Variable 'end_screen' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:166:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:348:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ticcmd_t [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:730:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:784:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable joybprevweapon [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:802:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_MOUSE_BUTTONS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:832:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_spy [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:1007:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:1269:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:1326:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:1396:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:1594:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:1610:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:1995:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_nightmare [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:2172:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:2197:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_demo_quit [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:2261:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:2361:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:2444:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable singletics [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:2474:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gametic [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:2318:36: style:inconclusive: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.h:42:36: note: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:2318:36: note: Function 'G_DeferedPlayDemo' argument 1 names different: declaration 'demo' definition 'name'. chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:254:15: style: Variable 'player' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:1251:15: style: Parameter 'mthing' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:1846:26: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/g_game.c:2432:24: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_lib.c:73:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_lib.c:197:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_lib.c:239:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_lib.c:280:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_lib.c:440:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_BACKSPACE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_lib.c:421:17: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_stuff.c:175:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_stuff.c:211:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_stuff.c:322:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_stuff.c:410:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_stuff.c:507:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_stuff.c:537:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_RSHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_stuff.c:339:21: style:inconclusive: Redundant condition: The condition 'c == ' '' is redundant since 'c < '!'' is sufficient. [redundantCondition] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_stuff.c:526:31: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/hu_stuff.c:529:25: style: Variable 'macromessage' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:603:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_strife_1_31 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:630:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:649:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:710:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:794:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_strife_1_31 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:817:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_menu_confirm [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:861:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_menu_confirm [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:902:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:915:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:927:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:939:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1027:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1040:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1052:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exe_strife_1_31 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1129:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1202:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_menu_confirm [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1303:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_menu_confirm [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1421:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1444:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1453:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1497:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1512:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1570:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1601:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1679:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_PAUSE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1708:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_quit [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:2361:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1212:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1236:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1247:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1258:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:2407:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1330:23: style:inconclusive: Function 'M_QuitStrife' argument 1 names different: declaration '' definition 'choice'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1440:11: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1449:11: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1637:23: style: Variable 'tempptr' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1212:12: style: Variable 'choice' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1236:12: style: Variable 'choice' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1247:12: style: Variable 'choice' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1258:12: style: Variable 'choice' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:2407:12: style: Variable 'choice' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_ceilng.c:120:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_ceilng.c:197:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_ceilng.c:278:39: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_ceilng.c:299:40: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_ceilng.c:322:33: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:457:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1073:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG270 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1223:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1271:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1314:13: style: Local variable 'i' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1261:9: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1314:13: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1015:30: style: Variable 'item2' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1156:21: style: Variable 'currentchoice' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_doors.c:75:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_doors.c:396:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_doors.c:781:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_doors.c:873:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_doors.c:898:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_doors.c:1132:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_doors.c:1311:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_doors.c:1280:43: style: Parameter 'thing' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_doors.c:1337:25: style: Variable 'side1' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_doors.c:1338:25: style: Variable 'side2' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:271:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:308:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:368:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:417:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:516:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:848:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG270 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:959:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1090:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1252:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1285:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1335:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1462:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1517:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1544:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1583:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1599:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1642:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1662:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1686:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1808:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1866:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1919:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2062:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2121:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2137:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2194:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2400:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG180 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2420:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2523:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2539:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2561:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2650:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2858:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2877:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2894:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2983:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:3119:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:3220:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:3248:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:3334:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:3351:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:3176:22: style: The statement 'if (actor->target!=players[actor->miscdata].mo) actor->target=players[actor->miscdata].mo' is logically equivalent to 'actor->target=players[actor->miscdata].mo'. [duplicateConditionalAssign] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:3177:23: note: Assignment 'actor->target=players[actor->miscdata].mo' chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:3176:22: note: Condition 'actor->target!=players[actor->miscdata].mo' is redundant chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:940:27: style:inconclusive: Function 'A_RandomWalk' argument 1 names different: declaration '' definition 'actor'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:982:13: style: Local variable 'soundtarget' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:111:10: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:982:13: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1033:13: style: Local variable 'soundtarget' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:111:10: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1033:13: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:259:13: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2605:15: style: Variable 'sector' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:2967:21: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:3085:31: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:3106:21: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_floor.c:291:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_floor.c:494:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_floor.c:395:25: style: Variable 'side' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_floor.c:71:22: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_floor.c:87:22: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_inter.c:85:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_inter.c:365:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_inter.c:447:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_inter.c:777:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_inter.c:1151:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_inter.c:840:34: style: Variable 'loot->health' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_inter.c:839:34: note: loot->health is assigned chocolate-doom-chocolate-doom-3.1.1/src/strife/p_inter.c:840:34: note: loot->health is overwritten chocolate-doom-chocolate-doom-3.1.1/src/strife/p_inter.c:823:24: style: Variable 'amount' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_inter.c:825:19: style: Variable 'r' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_lights.c:76:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_lights.c:134:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_lights.c:194:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_lights.c:360:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_LEVSPEC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_lights.c:246:34: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_lights.c:252:21: style: Variable 'tsec' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_lights.c:284:17: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_lights.c:290:17: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:173:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:230:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXRIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:451:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:538:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:616:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:759:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG180 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:813:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:886:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:1119:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:1223:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:1273:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:1350:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:1401:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:1442:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:1575:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXLEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:1610:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myargv [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:592:49: style:inconclusive: Function 'P_CheckPositionZ' argument 2 names different: declaration 'z' definition 'height'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_local.h:241:49: note: Function 'P_CheckPositionZ' argument 2 names different: declaration 'z' definition 'height'. chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:592:49: note: Function 'P_CheckPositionZ' argument 2 names different: declaration 'z' definition 'height'. chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:1565:13: style: Parameter 'sector' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_map.c:1586:36: style: Parameter 'ld' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:93:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:121:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXTOP [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:385:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:439:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:547:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bnext [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:594:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:950:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:307:29: style: Argument 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_bsp.h:27:17: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:307:29: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:167:17: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:309:17: style: Variable 'front' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:310:17: style: Variable 'back' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:139:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:303:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:459:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:593:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:700:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:767:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:836:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:950:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sk_baby [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:1052:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:1093:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:1170:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:1220:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:1278:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:1348:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:790:17: error:inconclusive: Array 'mobjinfo[344]' accessed at index 344, which is out of bounds. [arrayIndexOutOfBounds] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_mobj.c:776:17: note: Assuming that condition 'ilast' is always true [knownConditionTrueFalse] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_bsp.c:475:24: note: Assuming that condition 'start->lastlast' is always true chocolate-doom-chocolate-doom-3.1.1/src/strife/r_bsp.c:200:18: style: Variable 'start' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_bsp.c:380:31: style: Parameter 'bspcoord' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_bsp.c:396:18: style: Variable 'start' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:55:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { short originx ; short originy ; short patch ; } ) mappatch_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:70:1: debug: Failed to parse 'typedef PACKED_STRUCT ( { char name [ 8 ] ; int masked ; short width ; short height ; short patchcount ; mappatch_t patches [ 1 ] ; } ) maptexture_t ;'. The checking continues anyway. [simplifyTypedef] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:239:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:314:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:388:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:404:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:479:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:641:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:663:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:696:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:933:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lumpinfo [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:190:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:233:13: style: Variable 'collump' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:456:11: style: Variable 'maptex1' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:762:16: style: Variable 'texture' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:817:18: style: Variable 'texture' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:911:20: style: Variable 'sf' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:494:22: style: Variable 'maptex1' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:121:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:248:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:301:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:351:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:401:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:457:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:600:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:729:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:785:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:826:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:924:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_VideoBuffer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:941:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_draw.c:815:11: style: Variable 'src' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:130:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOXLEFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:187:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:250:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:298:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tantoangle [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:410:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tantoangle [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:478:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:556:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finetangent [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:627:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:682:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:860:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACBITS [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:888:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finesine [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:617:10: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:74:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:617:10: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:676:10: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:74:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:676:10: note: Shadow local variable chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:151:11: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:850:29: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:592:4: style: Variable 't' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:853:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_plane.c:150:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_plane.c:198:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_plane.c:247:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_plane.c:379:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_segs.c:267:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLETOFINESHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_segs.c:409:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANG90 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_sky.c:52:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:214:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lumpinfo [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:299:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:367:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:417:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:541:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:735:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:888:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:923:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENWIDTH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:53:10: style: struct member 'maskdraw_t::x1' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:54:10: style: struct member 'maskdraw_t::x2' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:56:10: style: struct member 'maskdraw_t::column' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:57:10: style: struct member 'maskdraw_t::topclip' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_things.c:58:10: style: struct member 'maskdraw_t::bottomclip' is never used. [unusedStructMember] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opl_doom_1_9 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:292:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priority [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:363:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRACUNIT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:471:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORM_PITCH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:622:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORM_PITCH [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:795:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:526:11: warning:inconclusive: Either the condition '!str' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:522:7: note: Assuming that condition '!str' is not redundant chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:519:20: note: Assignment 'c=str', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:526:11: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:557:22: warning: If memory allocation fails, then there is a possible null pointer dereference: voice [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assignment 'voice=calloc(1,sizeof(struct voiceinfo_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:557:22: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:558:9: warning: If memory allocation fails, then there is a possible null pointer dereference: voice [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assignment 'voice=calloc(1,sizeof(struct voiceinfo_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:558:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:559:9: warning: If memory allocation fails, then there is a possible null pointer dereference: voice [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assignment 'voice=calloc(1,sizeof(struct voiceinfo_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:559:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:560:9: warning: If memory allocation fails, then there is a possible null pointer dereference: voice [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assignment 'voice=calloc(1,sizeof(struct voiceinfo_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:560:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:561:9: warning: If memory allocation fails, then there is a possible null pointer dereference: voice [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assignment 'voice=calloc(1,sizeof(struct voiceinfo_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:561:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:562:9: warning: If memory allocation fails, then there is a possible null pointer dereference: voice [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assignment 'voice=calloc(1,sizeof(struct voiceinfo_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:562:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:563:9: warning: If memory allocation fails, then there is a possible null pointer dereference: voice [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assignment 'voice=calloc(1,sizeof(struct voiceinfo_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:563:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:566:9: warning: If memory allocation fails, then there is a possible null pointer dereference: voice [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:555:23: note: Assignment 'voice=calloc(1,sizeof(struct voiceinfo_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:566:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:405:25: style:inconclusive: Function 'S_StartSound' argument 1 names different: declaration 'origin' definition 'origin_p'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.h:54:25: note: Function 'S_StartSound' argument 1 names different: declaration 'origin' definition 'origin_p'. chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:405:25: note: Function 'S_StartSound' argument 1 names different: declaration 'origin' definition 'origin_p'. chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:405:39: style:inconclusive: Function 'S_StartSound' argument 2 names different: declaration 'sound_id' definition 'sfx_id'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.h:54:37: note: Function 'S_StartSound' argument 2 names different: declaration 'sound_id' definition 'sfx_id'. chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:405:39: note: Function 'S_StartSound' argument 2 names different: declaration 'sound_id' definition 'sfx_id'. chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:760:23: style:inconclusive: Function 'S_StartMusic' argument 1 names different: declaration 'music_id' definition 'm_id'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.h:64:23: note: Function 'S_StartMusic' argument 1 names different: declaration 'music_id' definition 'm_id'. chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:760:23: note: Function 'S_StartMusic' argument 1 names different: declaration 'music_id' definition 'm_id'. chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:765:24: style:inconclusive: Function 'S_ChangeMusic' argument 1 names different: declaration 'music_id' definition 'musicnum'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.h:68:24: note: Function 'S_ChangeMusic' argument 1 names different: declaration 'music_id' definition 'musicnum'. chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:765:24: note: Function 'S_ChangeMusic' argument 1 names different: declaration 'music_id' definition 'musicnum'. chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:17: style: Argument 'sfxVolume' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:110:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:17: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:32: style: Argument 'musicVolume' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:111:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:32: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:49: style: Argument 'voiceVolume' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:112:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:49: note: Shadow argument chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:248:26: style: Parameter 'origin' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:658:23: style: Variable 'sfx' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:48:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:91:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:155:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:122:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:92:19: note: x is initialized chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:122:7: note: x is overwritten chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:122:5: style: Variable 'x' is assigned an expression that holds the same value. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:92:19: note: x is assigned 'n->x' here. chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:119:13: note: Assuming condition is false chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:122:5: note: Variable 'x' is assigned an expression that holds the same value. chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:166:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:156:19: note: x is initialized chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:166:7: note: x is overwritten chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:166:5: style: Variable 'x' is assigned an expression that holds the same value. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:156:19: note: x is assigned 'n->x' here. chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:163:13: note: Assuming condition is false chocolate-doom-chocolate-doom-3.1.1/src/strife/st_lib.c:166:5: note: Variable 'x' is assigned an expression that holds the same value. chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:300:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_keyup [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:887:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:925:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:947:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:961:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_VideoBuffer [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:999:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREENHEIGHT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:1210:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:1345:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TICRATE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:1483:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_STATIC [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:1593:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PU_CACHE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:749:29: style: Variable 'plyr->pendingweapon' is reassigned a value before the old one has been used. [redundantAssignment] chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:736:37: note: plyr->pendingweapon is assigned chocolate-doom-chocolate-doom-3.1.1/src/strife/st_stuff.c:749:29: note: plyr->pendingweapon is overwritten chocolate-doom-chocolate-doom-3.1.1/src/v_video.c:148:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/v_video.c:212:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/v_video.c:286:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/v_video.c:337:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/v_video.c:387:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/v_video.c:438:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/v_video.c:595:31: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/v_video.c:659:25: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/v_video.c:659:44: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/v_video.c:661:25: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/w_main.c:213:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] chocolate-doom-chocolate-doom-3.1.1/src/w_merge.c:155:42: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/w_merge.c:234:21: style: Variable 'sprite' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/w_wad.c:384:34: style:inconclusive: Function 'W_CacheLumpNum' argument 1 names different: declaration 'lump' definition 'lumpnum'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/w_wad.h:65:34: note: Function 'W_CacheLumpNum' argument 1 names different: declaration 'lump' definition 'lumpnum'. chocolate-doom-chocolate-doom-3.1.1/src/w_wad.c:384:34: note: Function 'W_CacheLumpNum' argument 1 names different: declaration 'lump' definition 'lumpnum'. chocolate-doom-chocolate-doom-3.1.1/src/w_wad.c:446:35: style:inconclusive: Function 'W_ReleaseLumpNum' argument 1 names different: declaration 'lump' definition 'lumpnum'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/w_wad.h:72:35: note: Function 'W_ReleaseLumpNum' argument 1 names different: declaration 'lump' definition 'lumpnum'. chocolate-doom-chocolate-doom-3.1.1/src/w_wad.c:446:35: note: Function 'W_ReleaseLumpNum' argument 1 names different: declaration 'lump' definition 'lumpnum'. chocolate-doom-chocolate-doom-3.1.1/src/z_native.c:239:41: style:inconclusive: Function 'Z_Malloc' argument 3 names different: declaration 'ptr' definition 'user'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/z_zone.h:54:42: note: Function 'Z_Malloc' argument 3 names different: declaration 'ptr' definition 'user'. chocolate-doom-chocolate-doom-3.1.1/src/z_native.c:239:41: note: Function 'Z_Malloc' argument 3 names different: declaration 'ptr' definition 'user'. chocolate-doom-chocolate-doom-3.1.1/src/z_native.c:381:27: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/z_native.c:420:17: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/z_zone.c:163:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/src/z_zone.c:252:10: style:inconclusive: Function 'Z_Malloc' argument 3 names different: declaration 'ptr' definition 'user'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/src/z_zone.h:54:42: note: Function 'Z_Malloc' argument 3 names different: declaration 'ptr' definition 'user'. chocolate-doom-chocolate-doom-3.1.1/src/z_zone.c:252:10: note: Function 'Z_Malloc' argument 3 names different: declaration 'ptr' definition 'user'. chocolate-doom-chocolate-doom-3.1.1/src/z_zone.c:140:32: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/z_zone.c:140:45: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/src/z_zone.c:255:17: style: Variable 'start' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/src/z_zone.c:532:18: style: Variable 'block' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:47:34: debug: Function::addArguments found argument 'button' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:75:30: debug: Function::addArguments found argument 'button' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:97:31: debug: Function::addArguments found argument 'button' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:58:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:80:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable op [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:131:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_COLOR_BLACK [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:166:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:68:6: warning: If memory allocation fails, then there is a possible null pointer dereference: val_copy [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:67:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:67:22: note: Assignment 'val_copy=malloc(sizeof(int))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:68:6: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:90:6: warning: If memory allocation fails, then there is a possible null pointer dereference: op_copy [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:89:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:89:21: note: Assignment 'op_copy=malloc(sizeof(enum operator_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/calculator.c:90:6: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/guitest.c:47:33: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/guitest.c:54:28: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/guitest.c:69:33: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/guitest.c:84:33: debug: Function::addArguments found argument 'button' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/guitest.c:89:35: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/guitest.c:51:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/guitest.c:62:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/guitest.c:111:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/guitest.c:137:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_HORIZ_CENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/guitest.c:238:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TXT_DIRECTORY [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/examples/guitest.c:291:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_button.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_button.c:81:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_button.c:109:5: warning: If memory allocation fails, then there is a possible null pointer dereference: button [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_button.c:106:20: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_button.c:106:20: note: Assignment 'button=malloc(sizeof(struct txt_button_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_button.c:109:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_button.c:117:36: style:inconclusive: Function 'TXT_NewButton2' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:86:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:104:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:126:5: warning: If memory allocation fails, then there is a possible null pointer dereference: checkbox [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:123:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:123:22: note: Assignment 'checkbox=malloc(sizeof(struct txt_checkbox_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:126:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:127:5: warning: If memory allocation fails, then there is a possible null pointer dereference: checkbox [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:123:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:123:22: note: Assignment 'checkbox=malloc(sizeof(struct txt_checkbox_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:127:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:128:5: warning: If memory allocation fails, then there is a possible null pointer dereference: checkbox [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:123:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:123:22: note: Assignment 'checkbox=malloc(sizeof(struct txt_checkbox_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_checkbox.c:128:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:140:5: warning: If memory allocation fails, then there is a possible null pointer dereference: conditional [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:137:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:137:25: note: Assignment 'conditional=malloc(sizeof(struct txt_conditional_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:140:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:141:5: warning: If memory allocation fails, then there is a possible null pointer dereference: conditional [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:137:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:137:25: note: Assignment 'conditional=malloc(sizeof(struct txt_conditional_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:141:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:142:5: warning: If memory allocation fails, then there is a possible null pointer dereference: conditional [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:137:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:137:25: note: Assignment 'conditional=malloc(sizeof(struct txt_conditional_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:142:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:152:26: style:inconclusive: Function 'TXT_If' argument 1 names different: declaration 'condition' definition 'conditional'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.h:59:26: note: Function 'TXT_If' argument 1 names different: declaration 'condition' definition 'conditional'. chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_conditional.c:152:26: note: Function 'TXT_If' argument 1 names different: declaration 'condition' definition 'conditional'. chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_desktop.c:198:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_F1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_desktop.c:275:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_F1 [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_desktop.c:347:36: style:inconclusive: Function 'TXT_SetPeriodicCallback' argument 2 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_desktop.c:348:43: style:inconclusive: Function 'TXT_SetPeriodicCallback' argument 3 names different: declaration '' definition 'period'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_desktop.c:232:19: style: Variable 'active_window' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:102:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ESCAPE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:258:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:276:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:162:9: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:161:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:161:22: note: Assignment 'data=malloc(sizeof(struct callback_data_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:162:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:163:9: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:161:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:161:22: note: Assignment 'data=malloc(sizeof(struct callback_data_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:163:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:164:9: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:161:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:161:22: note: Assignment 'data=malloc(sizeof(struct callback_data_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:164:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:299:5: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:296:18: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:296:18: note: Assignment 'list=malloc(sizeof(struct txt_dropdown_list_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:299:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:300:5: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:296:18: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:296:18: note: Assignment 'list=malloc(sizeof(struct txt_dropdown_list_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:300:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:301:5: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:296:18: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:296:18: note: Assignment 'list=malloc(sizeof(struct txt_dropdown_list_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:301:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:114:19: style: Variable 'win' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:189:51: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:250:40: style: Parameter 'uncast_list' can be declared as pointer to const. However it seems that 'TXT_DropdownListDestructor' is a callback function, if 'uncast_list' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:286:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_dropdown.c:250:40: note: Parameter 'uncast_list' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:67:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:760:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:116:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:632:5: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:631:18: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:631:18: note: Assignment 'argv=calloc(5+NumExtensions(extensions),sizeof(char*))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:632:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:633:5: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:631:18: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:631:18: note: Assignment 'argv=calloc(5+NumExtensions(extensions),sizeof(char*))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:633:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:669:5: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:631:18: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:631:18: note: Assignment 'argv=calloc(5+NumExtensions(extensions),sizeof(char*))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:669:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:675:14: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:631:18: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:631:18: note: Assignment 'argv=calloc(5+NumExtensions(extensions),sizeof(char*))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:675:14: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:825:5: warning: If memory allocation fails, then there is a possible null pointer dereference: fileselect [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assignment 'fileselect=malloc(sizeof(struct txt_fileselect_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:825:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:826:5: warning: If memory allocation fails, then there is a possible null pointer dereference: fileselect [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assignment 'fileselect=malloc(sizeof(struct txt_fileselect_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:826:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:827:5: warning: If memory allocation fails, then there is a possible null pointer dereference: fileselect [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assignment 'fileselect=malloc(sizeof(struct txt_fileselect_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:827:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:828:5: warning: If memory allocation fails, then there is a possible null pointer dereference: fileselect [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assignment 'fileselect=malloc(sizeof(struct txt_fileselect_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:828:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:829:5: warning: If memory allocation fails, then there is a possible null pointer dereference: fileselect [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assignment 'fileselect=malloc(sizeof(struct txt_fileselect_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:829:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:831:23: warning: If memory allocation fails, then there is a possible null pointer dereference: fileselect [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:823:24: note: Assignment 'fileselect=malloc(sizeof(struct txt_fileselect_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:831:23: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:618:34: style:inconclusive: Function 'TXT_SelectFile' argument 1 names different: declaration 'prompt' definition 'window_title'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.h:53:34: note: Function 'TXT_SelectFile' argument 1 names different: declaration 'prompt' definition 'window_title'. chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:618:34: note: Function 'TXT_SelectFile' argument 1 names different: declaration 'prompt' definition 'window_title'. chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_fileselect.c:83:13: error: Uninitialized variable: status [uninitvar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:424:9: warning: If memory allocation fails, then there is a possible null pointer dereference: cliparea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:423:26: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:423:26: note: Assignment 'cliparea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:424:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:425:9: warning: If memory allocation fails, then there is a possible null pointer dereference: cliparea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:423:26: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:423:26: note: Assignment 'cliparea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:425:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:426:9: warning: If memory allocation fails, then there is a possible null pointer dereference: cliparea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:423:26: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:423:26: note: Assignment 'cliparea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:426:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:427:9: warning: If memory allocation fails, then there is a possible null pointer dereference: cliparea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:423:26: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:423:26: note: Assignment 'cliparea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:427:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:428:9: warning: If memory allocation fails, then there is a possible null pointer dereference: cliparea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:423:26: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:423:26: note: Assignment 'cliparea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:428:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:441:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newarea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assignment 'newarea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:441:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:442:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newarea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assignment 'newarea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:442:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:443:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newarea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assignment 'newarea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:443:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:444:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newarea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assignment 'newarea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:444:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:446:14: warning: If memory allocation fails, then there is a possible null pointer dereference: newarea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assignment 'newarea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:446:14: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:448:14: warning: If memory allocation fails, then there is a possible null pointer dereference: newarea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assignment 'newarea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:448:14: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:450:14: warning: If memory allocation fails, then there is a possible null pointer dereference: newarea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assignment 'newarea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:450:14: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:452:14: warning: If memory allocation fails, then there is a possible null pointer dereference: newarea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assignment 'newarea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:452:14: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:461:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newarea [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:436:21: note: Assignment 'newarea=malloc(sizeof(struct txt_cliparea_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_gui.c:461:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:277:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:326:5: warning: If memory allocation fails, then there is a possible null pointer dereference: inputbox [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assignment 'inputbox=malloc(sizeof(struct txt_inputbox_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:326:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:327:5: warning: If memory allocation fails, then there is a possible null pointer dereference: inputbox [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assignment 'inputbox=malloc(sizeof(struct txt_inputbox_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:327:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:331:5: warning: If memory allocation fails, then there is a possible null pointer dereference: inputbox [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assignment 'inputbox=malloc(sizeof(struct txt_inputbox_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:331:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:332:5: warning: If memory allocation fails, then there is a possible null pointer dereference: inputbox [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assignment 'inputbox=malloc(sizeof(struct txt_inputbox_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:332:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:332:31: warning: If memory allocation fails, then there is a possible null pointer dereference: inputbox [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assignment 'inputbox=malloc(sizeof(struct txt_inputbox_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:332:31: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:333:5: warning: If memory allocation fails, then there is a possible null pointer dereference: inputbox [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:323:22: note: Assignment 'inputbox=malloc(sizeof(struct txt_inputbox_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:333:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_inputbox.c:183:39: style: Parameter 'inputbox' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_io.c:154:44: style: Parameter 'save' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:123:10: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:18: note: Calling function 'TXT_SetLabel', 1st argument 'label' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:123:10: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:124:10: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:18: note: Calling function 'TXT_SetLabel', 1st argument 'label' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:124:10: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:128:5: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:18: note: Calling function 'TXT_SetLabel', 1st argument 'label' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:128:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:132:5: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:18: note: Calling function 'TXT_SetLabel', 1st argument 'label' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:132:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:134:14: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:18: note: Calling function 'TXT_SetLabel', 1st argument 'label' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:134:14: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:144:5: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:18: note: Calling function 'TXT_SetLabel', 1st argument 'label' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:144:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:144:44: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:18: note: Calling function 'TXT_SetLabel', 1st argument 'label' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:144:44: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:145:5: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:18: note: Calling function 'TXT_SetLabel', 1st argument 'label' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:145:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:145:23: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:18: note: Calling function 'TXT_SetLabel', 1st argument 'label' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:145:23: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:148:14: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:18: note: Calling function 'TXT_SetLabel', 1st argument 'label' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:148:14: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:158:5: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:18: note: Calling function 'TXT_SetLabel', 1st argument 'label' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:158:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:178:5: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:178:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:179:5: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:179:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:183:5: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:183:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:184:5: warning: If memory allocation fails, then there is a possible null pointer dereference: label [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:184:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:171:39: style:inconclusive: Function 'TXT_NewLabel' argument 1 names different: declaration 'label' definition 'text'. [funcArgNamesDifferent] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.h:52:39: note: Function 'TXT_NewLabel' argument 1 names different: declaration 'label' definition 'text'. chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:171:39: note: Function 'TXT_NewLabel' argument 1 names different: declaration 'label' definition 'text'. chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:87:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:109:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:131:5: warning: If memory allocation fails, then there is a possible null pointer dereference: radiobutton [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:128:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:128:25: note: Assignment 'radiobutton=malloc(sizeof(struct txt_radiobutton_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:131:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:132:5: warning: If memory allocation fails, then there is a possible null pointer dereference: radiobutton [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:128:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:128:25: note: Assignment 'radiobutton=malloc(sizeof(struct txt_radiobutton_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:132:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:133:5: warning: If memory allocation fails, then there is a possible null pointer dereference: radiobutton [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:128:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:128:25: note: Assignment 'radiobutton=malloc(sizeof(struct txt_radiobutton_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_radiobutton.c:133:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:403:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_UPARROW [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:572:5: warning: If memory allocation fails, then there is a possible null pointer dereference: scrollpane [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assignment 'scrollpane=malloc(sizeof(struct txt_scrollpane_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:572:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:573:5: warning: If memory allocation fails, then there is a possible null pointer dereference: scrollpane [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assignment 'scrollpane=malloc(sizeof(struct txt_scrollpane_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:573:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:574:5: warning: If memory allocation fails, then there is a possible null pointer dereference: scrollpane [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assignment 'scrollpane=malloc(sizeof(struct txt_scrollpane_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:574:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:575:5: warning: If memory allocation fails, then there is a possible null pointer dereference: scrollpane [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assignment 'scrollpane=malloc(sizeof(struct txt_scrollpane_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:575:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:576:5: warning: If memory allocation fails, then there is a possible null pointer dereference: scrollpane [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assignment 'scrollpane=malloc(sizeof(struct txt_scrollpane_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:576:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:577:5: warning: If memory allocation fails, then there is a possible null pointer dereference: scrollpane [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assignment 'scrollpane=malloc(sizeof(struct txt_scrollpane_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:577:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:578:5: warning: If memory allocation fails, then there is a possible null pointer dereference: scrollpane [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:570:24: note: Assignment 'scrollpane=malloc(sizeof(struct txt_scrollpane_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:578:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_scrollpane.c:244:19: style: Variable 'selected' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:233:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:316:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:447:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HINT_RENDER_SCALE_QUALITY [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:514:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_RCTRL [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:649:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_ESCAPE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:698:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KMOD_SHIFT [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:303:12: warning: If memory allocation fails, then there is a possible null pointer dereference: screendata [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:302:24: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:302:24: note: Assignment 'screendata=malloc(80*25*2)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:303:12: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:915:71: style:inconclusive: Function 'TXT_SDL_SetEventCallback' argument 2 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:168:11: style: Variable 'env' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:819:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:78:10: warning: If memory allocation fails, then there is a possible null pointer dereference: separator [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:105:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:105:23: note: Assignment 'separator=malloc(sizeof(struct txt_separator_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:110:27: note: Calling function 'TXT_SetSeparatorLabel', 1st argument 'separator' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:78:10: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:82:9: warning: If memory allocation fails, then there is a possible null pointer dereference: separator [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:105:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:105:23: note: Assignment 'separator=malloc(sizeof(struct txt_separator_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:110:27: note: Calling function 'TXT_SetSeparatorLabel', 1st argument 'separator' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:82:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:86:9: warning: If memory allocation fails, then there is a possible null pointer dereference: separator [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:105:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:105:23: note: Assignment 'separator=malloc(sizeof(struct txt_separator_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:110:27: note: Calling function 'TXT_SetSeparatorLabel', 1st argument 'separator' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:86:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:109:5: warning: If memory allocation fails, then there is a possible null pointer dereference: separator [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:105:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:105:23: note: Assignment 'separator=malloc(sizeof(struct txt_separator_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:109:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:270:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:355:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_LEFTARROW [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:389:5: warning: If memory allocation fails, then there is a possible null pointer dereference: spincontrol [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assignment 'spincontrol=malloc(sizeof(struct txt_spincontrol_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:389:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:390:5: warning: If memory allocation fails, then there is a possible null pointer dereference: spincontrol [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assignment 'spincontrol=malloc(sizeof(struct txt_spincontrol_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:390:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:390:34: warning: If memory allocation fails, then there is a possible null pointer dereference: spincontrol [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assignment 'spincontrol=malloc(sizeof(struct txt_spincontrol_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:390:34: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:391:20: warning: If memory allocation fails, then there is a possible null pointer dereference: spincontrol [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assignment 'spincontrol=malloc(sizeof(struct txt_spincontrol_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:391:20: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:391:45: warning: If memory allocation fails, then there is a possible null pointer dereference: spincontrol [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assignment 'spincontrol=malloc(sizeof(struct txt_spincontrol_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:391:45: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:392:5: warning: If memory allocation fails, then there is a possible null pointer dereference: spincontrol [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:386:25: note: Assignment 'spincontrol=malloc(sizeof(struct txt_spincontrol_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:392:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_spinctrl.c:82:57: style: Parameter 'spincontrol' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:67:5: warning: If memory allocation fails, then there is a possible null pointer dereference: strut [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:64:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:64:19: note: Assignment 'strut=malloc(sizeof(struct txt_strut_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:67:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: strut [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:64:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:64:19: note: Assignment 'strut=malloc(sizeof(struct txt_strut_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:68:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:35:29: style: Parameter 'uncast_strut' can be declared as pointer to const. However it seems that 'TXT_StrutDrawer' is a callback function, if 'uncast_strut' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:53:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:35:29: note: Parameter 'uncast_strut' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:40:33: style: Parameter 'uncast_strut' can be declared as pointer to const. However it seems that 'TXT_StrutDestructor' is a callback function, if 'uncast_strut' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:55:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:40:33: note: Parameter 'uncast_strut' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:44:30: style: Parameter 'uncast_strut' can be declared as pointer to const. However it seems that 'TXT_StrutKeyPress' is a callback function, if 'uncast_strut' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:54:5: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_strut.c:44:30: note: Parameter 'uncast_strut' can be declared as pointer to const chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:507:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_TAB [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:338:9: style: The if condition is the same as the previous if condition [duplicateCondition] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:315:9: note: First condition chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:338:9: note: Second condition chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:182:12: warning: If memory allocation fails, then there is a possible null pointer dereference: col_widths [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:1178:27: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:1178:27: note: Assignment 'column_widths=malloc(sizeof(int)*table->columns)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:1180:41: note: Calling function 'CalcRowColSizes', 3rd argument 'column_widths' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:182:12: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:186:9: warning: If memory allocation fails, then there is a possible null pointer dereference: row_heights [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:1177:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:1177:25: note: Assignment 'row_heights=malloc(sizeof(int)*rows)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:1180:28: note: Calling function 'CalcRowColSizes', 2nd argument 'row_heights' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:186:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:268:28: warning: If memory allocation fails, then there is a possible null pointer dereference: column_widths [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:260:27: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:260:27: note: Assignment 'column_widths=malloc(sizeof(int)*table->columns)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:268:28: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:275:28: warning: If memory allocation fails, then there is a possible null pointer dereference: row_heights [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:259:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:259:25: note: Assignment 'row_heights=malloc(sizeof(int)*rows)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:275:28: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:343:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assignment 'table=malloc(sizeof(struct txt_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:904:19: note: Calling function 'TXT_InitTable', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:894:23: note: Calling function 'TXT_AddWidget', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:292:5: note: Assignment 'table=(struct txt_table_t*)uncast_table', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:343:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:343:30: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assignment 'table=malloc(sizeof(struct txt_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:904:19: note: Calling function 'TXT_InitTable', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:894:23: note: Calling function 'TXT_AddWidget', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:292:5: note: Assignment 'table=(struct txt_table_t*)uncast_table', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:343:30: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:344:56: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assignment 'table=malloc(sizeof(struct txt_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:904:19: note: Calling function 'TXT_InitTable', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:894:23: note: Calling function 'TXT_AddWidget', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:292:5: note: Assignment 'table=(struct txt_table_t*)uncast_table', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:344:56: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:345:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assignment 'table=malloc(sizeof(struct txt_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:904:19: note: Calling function 'TXT_InitTable', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:894:23: note: Calling function 'TXT_AddWidget', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:292:5: note: Assignment 'table=(struct txt_table_t*)uncast_table', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:345:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:345:20: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assignment 'table=malloc(sizeof(struct txt_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:904:19: note: Calling function 'TXT_InitTable', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:894:23: note: Calling function 'TXT_AddWidget', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:292:5: note: Assignment 'table=(struct txt_table_t*)uncast_table', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:345:20: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:346:7: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assignment 'table=malloc(sizeof(struct txt_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:904:19: note: Calling function 'TXT_InitTable', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:894:23: note: Calling function 'TXT_AddWidget', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:292:5: note: Assignment 'table=(struct txt_table_t*)uncast_table', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:346:7: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:881:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assignment 'table=malloc(sizeof(struct txt_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:904:19: note: Calling function 'TXT_InitTable', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:881:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:882:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assignment 'table=malloc(sizeof(struct txt_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:904:19: note: Calling function 'TXT_InitTable', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:882:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:883:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assignment 'table=malloc(sizeof(struct txt_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:904:19: note: Calling function 'TXT_InitTable', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:883:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:884:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assignment 'table=malloc(sizeof(struct txt_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:904:19: note: Calling function 'TXT_InitTable', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:884:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:885:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:902:19: note: Assignment 'table=malloc(sizeof(struct txt_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:904:19: note: Calling function 'TXT_InitTable', 1st argument 'table' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:885:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:1213:25: warning: If memory allocation fails, then there is a possible null pointer dereference: row_heights [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:1177:25: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:1177:25: note: Assignment 'row_heights=malloc(sizeof(int)*rows)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:1213:25: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:36:41: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:74:35: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:86:19: style: Variable 'widget' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:148:53: style: Parameter 'column_widths' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:149:53: style: Parameter 'row_heights' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:955:23: style: Variable 'widget' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:42:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:41:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:41:19: note: Assignment 'table=malloc(sizeof(struct txt_callback_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:42:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:43:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:41:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:41:19: note: Assignment 'table=malloc(sizeof(struct txt_callback_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:43:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:44:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:41:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:41:19: note: Assignment 'table=malloc(sizeof(struct txt_callback_table_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:44:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:98:30: style:inconclusive: Function 'TXT_SignalConnect' argument 4 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:244:26: style: Parameter 'uncast_widget' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:249:25: style: Parameter 'uncast_widget' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:270:5: style: Variable 'haystack' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:271:5: style: Variable 'needle' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:548:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:42:9: warning: If memory allocation fails, then there is a possible null pointer dereference: window [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:95:25: note: Calling function 'TXT_SetWindowAction', 1st argument 'win' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:42:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:47:5: warning: If memory allocation fails, then there is a possible null pointer dereference: window [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:95:25: note: Calling function 'TXT_SetWindowAction', 1st argument 'win' value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:47:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:69:9: warning: If memory allocation fails, then there is a possible null pointer dereference: win [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:69:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:73:9: warning: If memory allocation fails, then there is a possible null pointer dereference: win [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:73:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:76:5: warning: If memory allocation fails, then there is a possible null pointer dereference: win [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:76:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:77:5: warning: If memory allocation fails, then there is a possible null pointer dereference: win [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:77:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:78:5: warning: If memory allocation fails, then there is a possible null pointer dereference: win [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:78:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:79:5: warning: If memory allocation fails, then there is a possible null pointer dereference: win [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:79:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:80:5: warning: If memory allocation fails, then there is a possible null pointer dereference: win [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:80:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:81:5: warning: If memory allocation fails, then there is a possible null pointer dereference: win [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:81:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:82:5: warning: If memory allocation fails, then there is a possible null pointer dereference: win [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:82:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:88:9: warning: If memory allocation fails, then there is a possible null pointer dereference: win [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:88:9: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:499:31: style:inconclusive: Function 'TXT_SetKeyListener' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:507:33: style:inconclusive: Function 'TXT_SetMouseListener' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:330:19: style: Variable 'widgets' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:387:19: style: Variable 'widgets' can be declared as pointer to const [constVariablePointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:568:42: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:133:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:142:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ESCAPE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:154:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ESCAPE [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:164:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_ENTER [valueFlowBailoutIncompleteVar] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:116:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:113:20: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:113:20: note: Assignment 'action=malloc(sizeof(struct txt_window_action_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:116:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:117:5: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:113:20: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:113:20: note: Assignment 'action=malloc(sizeof(struct txt_window_action_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window_action.c:117:5: note: Null pointer dereference chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:123:10: warning: If memory allocation fails, then there is a possible null pointer dereference: label [ctunullpointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:175:19: note: Assignment 'label=malloc(sizeof(struct txt_label_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:186:17: note: Calling function TXT_SetLabel, 1st argument is null chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_label.c:123:10: note: Dereferencing argument label that is null chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:78:10: warning: If memory allocation fails, then there is a possible null pointer dereference: separator [ctunullpointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:105:23: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:105:23: note: Assignment 'separator=malloc(sizeof(struct txt_separator_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:110:26: note: Calling function TXT_SetSeparatorLabel, 1st argument is null chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_separator.c:78:10: note: Dereferencing argument separator that is null chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:182:12: warning: If memory allocation fails, then there is a possible null pointer dereference: col_widths [ctunullpointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:260:27: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:260:27: note: Assignment 'column_widths=malloc(sizeof(int)*table->columns)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:262:20: note: Calling function CalcRowColSizes, 3rd argument is null chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_table.c:182:12: note: Dereferencing argument col_widths that is null chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:42:9: warning: If memory allocation fails, then there is a possible null pointer dereference: window [ctunullpointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:63:17: note: Assignment 'win=malloc(sizeof(struct txt_window_t))', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:95:24: note: Calling function TXT_SetWindowAction, 1st argument is null chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:42:9: note: Dereferencing argument window that is null diff: head chocolate-doom-chocolate-doom-3.1.1/opl/opl.c:418:66: style:inconclusive: Function 'OPL_SetCallback' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:66:52: style:inconclusive: Function 'OPL_Queue_Push' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/opl/opl_queue.c:67:30: style:inconclusive: Function 'OPL_Queue_Push' argument 4 names different: declaration '' definition 'time'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/opl/opl_timer.c:212:72: style:inconclusive: Function 'OPL_Timer_SetCallback' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/src/aes_prng.c:842:40: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:720:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: deh_gamename [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assignment 'deh_gamename=malloc(gamename_size)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:720:25: note: Null pointer dereference 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:720:52: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assignment 'deh_gamename=malloc(gamename_size)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:720:52: note: Null pointer addition head chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:723:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: deh_gamename [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assignment 'deh_gamename=malloc(gamename_size)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:718:44: note: Assuming condition is false chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:723:20: note: Null pointer dereference 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:723:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: deh_gamename [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assignment 'deh_gamename=malloc(gamename_size)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:723:20: note: Null pointer dereference 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:723:55: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: deh_gamename [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assignment 'deh_gamename=malloc(gamename_size)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:723:55: note: Null pointer dereference 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:723:75: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: deh_gamename [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assignment 'deh_gamename=malloc(gamename_size)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:723:75: note: Null pointer dereference 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:725:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: deh_gamename [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assignment 'deh_gamename=malloc(gamename_size)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:725:17: note: Null pointer dereference 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:725:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: deh_gamename [nullPointerOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:709:34: note: Assignment 'deh_gamename=malloc(gamename_size)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/doom/d_main.c:725:37: note: Null pointer dereference head chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:233:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:130:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:233:7: note: Shadow argument head chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:245:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:130:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:245:7: note: Shadow argument head chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:259:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:130:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:259:7: note: Shadow argument 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:49:10: style: Local variable 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:130:13: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:49:10: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:49:10: style: Local variable 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:130:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/f_wipe.c:49:10: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/doom/p_enemy.c:1855:27: style: Parameter 'mo' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/doom/p_inter.c:283:13: style:inconclusive: Function 'P_GivePower' argument 1 names different: declaration '' definition 'player'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/src/doom/p_inter.c:284:23: style:inconclusive: Function 'P_GivePower' argument 2 names different: declaration '' definition 'power'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:296:29: style: Argument 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.h:27:17: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:296:29: note: Shadow argument 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:809:49: style: Variable '((short*)addr)[index+1]' is assigned a value that is never used. [unreadVariable] 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/p_maputl.c:814:43: style: Variable '((int*)addr)[index]' is assigned a value that is never used. [unreadVariable] 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/p_setup.c:181:11: style: Local variable 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.h:27:17: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/doom/p_setup.c:181:11: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/doom/p_setup.c:181:11: style: Local variable 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/r_bsp.h:27:17: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/p_setup.c:181:11: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/p_sight.c:176:14: style: Local variable 'opentop' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_local.h:169:17: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/doom/p_sight.c:176:14: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/doom/p_sight.c:176:14: style: Local variable 'opentop' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_local.h:169:17: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/p_sight.c:176:14: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/p_sight.c:177:14: style: Local variable 'openbottom' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_local.h:170:18: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/doom/p_sight.c:177:14: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/doom/p_sight.c:177:14: style: Local variable 'openbottom' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/p_local.h:170:18: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/p_sight.c:177:14: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/doom/r_data.c:805:20: style: Variable 'sf' can be declared as pointer to const [constVariablePointer] head chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:114:17: style: Argument 'sfxVolume' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/doomstat.h:117:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:114:17: note: Shadow argument head chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:114:32: style: Argument 'musicVolume' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/doomstat.h:118:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/s_sound.c:114:32: note: Shadow argument head chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:689:8: style: Argument 'p' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:386:18: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:689:8: note: Shadow argument 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:842:10: style: Local variable 'frags' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:369:18: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:842:10: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:842:10: style: Local variable 'frags' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:369:18: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/doom/wi_stuff.c:842:10: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:302:9: style: Local variable 'flyheight' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_local.h:278:12: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:302:9: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:302:9: style: Local variable 'flyheight' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_local.h:278:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/g_game.c:302:9: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1546:23: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1546:40: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1546:58: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1551:24: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1551:41: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1551:59: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1556:24: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1556:41: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1556:59: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1561:24: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1561:41: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1561:59: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1566:24: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1566:41: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1566:59: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1571:28: style: Parameter 'actor' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1571:45: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_enemy.c:1571:63: style: Parameter 'psp' can be declared as pointer to const [constParameterPointer] head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:260:29: style: Argument 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_local.h:321:16: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_maputl.c:260:29: note: Shadow argument 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:111:9: style: Local variable 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_local.h:321:16: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:111:9: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:111:9: style: Local variable 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_local.h:321:16: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/p_setup.c:111:9: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_data.c:644:20: style: Variable 'sf' can be declared as pointer to const [constVariablePointer] 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:491:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdef.h:574:12: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:491:22: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:491:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdef.h:574:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:491:22: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:549:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdef.h:574:12: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:549:22: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:549:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/heretic/doomdef.h:574:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/heretic/r_main.c:549:22: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:204:9: style: Local variable 'flyheight' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_local.h:333:12: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:204:9: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:204:9: style: Local variable 'flyheight' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_local.h:333:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/hexen/g_game.c:204:9: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_maputl.c:259:29: style: Argument 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_local.h:372:16: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_maputl.c:259:29: note: Shadow argument 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_setup.c:202:9: style: Local variable 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_local.h:372:16: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_setup.c:202:9: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_setup.c:202:9: style: Local variable 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_local.h:372:16: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/hexen/p_setup.c:202:9: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_data.c:600:20: style: Variable 'sf' can be declared as pointer to const [constVariablePointer] 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:493:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/h2def.h:689:12: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:493:22: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:493:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/h2def.h:689:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:493:22: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:551:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/h2def.h:689:12: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:551:22: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:551:22: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/hexen/h2def.h:689:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/hexen/r_main.c:551:22: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1839:30: style:inconclusive: Function 'I_OPL_DevMessages' argument 1 names different: declaration '' definition 'result'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/src/i_oplmusic.c:1839:45: style:inconclusive: Function 'I_OPL_DevMessages' argument 2 names different: declaration '' definition 'result_len'. [funcArgNamesDifferentUnnamed] 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:654:13: style: Local variable 'expanded_length' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:612:14: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:654:13: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:654:13: style: Local variable 'expanded_length' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:612:14: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/i_sdlsound.c:654:13: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:115:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:109:18: note: Assuming allocation function fails chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:109:18: note: Assignment 'file=malloc(size+1)', assigned value is 0 chocolate-doom-chocolate-doom-3.1.1/src/m_argv.c:115:24: note: Null pointer addition head chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:308:43: style: Argument 'settings' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:110:27: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/net_client.c:308:43: note: Shadow argument 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:264:19: style: Local variable 'window' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:41:22: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:264:19: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:264:19: style: Local variable 'window' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:41:22: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/net_gui.c:264:19: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/net_query.c:546:57: style:inconclusive: Function 'NET_Query_Poll' argument 2 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:311:14: style: Local variable 'port' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:45:12: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:311:14: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:311:14: style: Local variable 'port' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:45:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/net_sdl.c:311:14: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:98:66: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'MainMenuKeyPress' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:249:32: note: You might need to cast the function pointer here chocolate-doom-chocolate-doom-3.1.1/src/setup/mainmenu.c:98:66: note: Parameter 'user_data' can be declared as pointer to const 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:280:20: style: Local variable 'iwads' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:43:23: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:280:20: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:280:20: style: Local variable 'iwads' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:43:23: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/setup/mode.c:280:20: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:226:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:122:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:226:7: note: Shadow argument head chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:239:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:122:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:239:7: note: Shadow argument head chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:254:7: style: Argument 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:122:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:254:7: note: Shadow argument 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:52:10: style: Local variable 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:122:13: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:52:10: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:52:10: style: Local variable 'y' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:122:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/f_wipe.c:52:10: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/m_menu.c:1330:23: style:inconclusive: Function 'M_QuitStrife' argument 1 names different: declaration '' definition 'choice'. [funcArgNamesDifferentUnnamed] 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1314:13: style: Local variable 'i' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1261:9: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1314:13: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1314:13: style: Local variable 'i' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1261:9: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_dialog.c:1314:13: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1033:13: style: Local variable 'soundtarget' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:111:10: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1033:13: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1033:13: style: Local variable 'soundtarget' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:111:10: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:1033:13: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:940:27: style:inconclusive: Function 'A_RandomWalk' argument 1 names different: declaration '' definition 'actor'. [funcArgNamesDifferentUnnamed] 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:982:13: style: Local variable 'soundtarget' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:111:10: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:982:13: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:982:13: style: Local variable 'soundtarget' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:111:10: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_enemy.c:982:13: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:307:29: style: Argument 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_bsp.h:27:17: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_maputl.c:307:29: note: Shadow argument 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/strife/p_setup.c:164:11: style: Local variable 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_bsp.h:27:17: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/strife/p_setup.c:164:11: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/p_setup.c:164:11: style: Local variable 'linedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_bsp.h:27:17: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_setup.c:164:11: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/strife/p_sight.c:144:21: style: Local variable 'opentop' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_local.h:187:17: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/strife/p_sight.c:144:21: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/p_sight.c:144:21: style: Local variable 'opentop' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_local.h:187:17: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_sight.c:144:21: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/strife/p_sight.c:145:21: style: Local variable 'openbottom' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_local.h:188:18: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/strife/p_sight.c:145:21: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/p_sight.c:145:21: style: Local variable 'openbottom' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/p_local.h:188:18: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_sight.c:145:21: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/strife/p_spec.c:591:17: style: Local variable 'sidedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_bsp.h:26:17: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/strife/p_spec.c:591:17: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/p_spec.c:591:17: style: Local variable 'sidedef' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/r_bsp.h:26:17: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/p_spec.c:591:17: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/r_data.c:911:20: style: Variable 'sf' can be declared as pointer to const [constVariablePointer] 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:617:10: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:74:13: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:617:10: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:617:10: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:74:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:617:10: note: Shadow local variable 2.20.0 chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:676:10: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:74:13: note: Shadowed declaration chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:676:10: note: Shadow variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:676:10: style: Local variable 'startmap' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:74:13: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/r_main.c:676:10: note: Shadow local variable head chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:17: style: Argument 'sfxVolume' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:110:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:17: note: Shadow argument head chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:32: style: Argument 'musicVolume' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:111:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:32: note: Shadow argument head chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:49: style: Argument 'voiceVolume' shadows outer variable [shadowVariable] chocolate-doom-chocolate-doom-3.1.1/src/strife/doomstat.h:112:12: note: Shadowed variable chocolate-doom-chocolate-doom-3.1.1/src/strife/s_sound.c:136:49: note: Shadow argument head chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_button.c:117:36: style:inconclusive: Function 'TXT_NewButton2' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_desktop.c:347:36: style:inconclusive: Function 'TXT_SetPeriodicCallback' argument 2 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_desktop.c:348:43: style:inconclusive: Function 'TXT_SetPeriodicCallback' argument 3 names different: declaration '' definition 'period'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_sdl.c:915:71: style:inconclusive: Function 'TXT_SDL_SetEventCallback' argument 2 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_widget.c:98:30: style:inconclusive: Function 'TXT_SignalConnect' argument 4 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:499:31: style:inconclusive: Function 'TXT_SetKeyListener' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] head chocolate-doom-chocolate-doom-3.1.1/textscreen/txt_window.c:507:33: style:inconclusive: Function 'TXT_SetMouseListener' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] DONE