2025-01-27 14:49 ftp://ftp.de.debian.org/debian/pool/main/d/darkplaces/darkplaces_0~20180908~beta1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --library=zlib --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1016-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.59 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.16.0 head-info: a7e9e68 (2025-01-27 12:31:11 +0100) count: 1933 1867 elapsed-time: 441.1 584.3 head-timing-info: old-timing-info: head results: darkplaces/bih.c:159:14: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] darkplaces/cap_ogg.c:785:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] darkplaces/cap_ogg.c:1072:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] darkplaces/cap_avi.c:468:35: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] darkplaces/cap_avi.c:473:35: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] darkplaces/cap_avi.c:110:2: style: Variable 'format' can be declared as pointer to const [constVariablePointer] darkplaces/cap_avi.c:239:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] darkplaces/cap_avi.c:375:2: style: Variable 'format' can be declared as pointer to const [constVariablePointer] darkplaces/cap_avi.c:454:2: style: Variable 'format' can be declared as pointer to const [constVariablePointer] darkplaces/render.h:105:31: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/cap_ogg.c:38:8: style: struct member 'oggpack_buffer::endbyte' is never used. [unusedStructMember] darkplaces/cap_ogg.c:39:8: style: struct member 'oggpack_buffer::endbit' is never used. [unusedStructMember] darkplaces/cap_ogg.c:41:18: style: struct member 'oggpack_buffer::buffer' is never used. [unusedStructMember] darkplaces/cap_ogg.c:42:18: style: struct member 'oggpack_buffer::ptr' is never used. [unusedStructMember] darkplaces/cap_ogg.c:43:8: style: struct member 'oggpack_buffer::storage' is never used. [unusedStructMember] darkplaces/cap_ogg.c:59:20: style: struct member 'ogg_stream_state::body_data' is never used. [unusedStructMember] darkplaces/cap_ogg.c:60:11: style: struct member 'ogg_stream_state::body_storage' is never used. [unusedStructMember] darkplaces/cap_ogg.c:61:11: style: struct member 'ogg_stream_state::body_fill' is never used. [unusedStructMember] darkplaces/cap_ogg.c:62:11: style: struct member 'ogg_stream_state::body_returned' is never used. [unusedStructMember] darkplaces/cap_ogg.c:65:12: style: struct member 'ogg_stream_state::lacing_vals' is never used. [unusedStructMember] darkplaces/cap_ogg.c:66:16: style: struct member 'ogg_stream_state::granule_vals' is never used. [unusedStructMember] darkplaces/cap_ogg.c:69:11: style: struct member 'ogg_stream_state::lacing_storage' is never used. [unusedStructMember] darkplaces/cap_ogg.c:70:11: style: struct member 'ogg_stream_state::lacing_fill' is never used. [unusedStructMember] darkplaces/cap_ogg.c:71:11: style: struct member 'ogg_stream_state::lacing_packet' is never used. [unusedStructMember] darkplaces/cap_ogg.c:72:11: style: struct member 'ogg_stream_state::lacing_returned' is never used. [unusedStructMember] darkplaces/cap_ogg.c:74:20: style: struct member 'ogg_stream_state::header' is never used. [unusedStructMember] darkplaces/cap_ogg.c:75:20: style: struct member 'ogg_stream_state::header_fill' is never used. [unusedStructMember] darkplaces/cap_ogg.c:77:11: style: struct member 'ogg_stream_state::e_o_s' is never used. [unusedStructMember] darkplaces/cap_ogg.c:79:11: style: struct member 'ogg_stream_state::b_o_s' is never used. [unusedStructMember] darkplaces/cap_ogg.c:81:11: style: struct member 'ogg_stream_state::serialno' is never used. [unusedStructMember] darkplaces/cap_ogg.c:82:11: style: struct member 'ogg_stream_state::pageno' is never used. [unusedStructMember] darkplaces/cap_ogg.c:83:16: style: struct member 'ogg_stream_state::packetno' is never used. [unusedStructMember] darkplaces/cap_ogg.c:88:17: style: struct member 'ogg_stream_state::granulepos' is never used. [unusedStructMember] darkplaces/cap_ogg.c:96:18: style: struct member 'ogg_packet::packet' is never used. [unusedStructMember] darkplaces/cap_ogg.c:97:9: style: struct member 'ogg_packet::bytes' is never used. [unusedStructMember] darkplaces/cap_ogg.c:98:9: style: struct member 'ogg_packet::b_o_s' is never used. [unusedStructMember] darkplaces/cap_ogg.c:99:9: style: struct member 'ogg_packet::e_o_s' is never used. [unusedStructMember] darkplaces/cap_ogg.c:101:16: style: struct member 'ogg_packet::granulepos' is never used. [unusedStructMember] darkplaces/cap_ogg.c:103:16: style: struct member 'ogg_packet::packetno' is never used. [unusedStructMember] darkplaces/cap_ogg.c:111:18: style: struct member 'ogg_sync_state::data' is never used. [unusedStructMember] darkplaces/cap_ogg.c:112:7: style: struct member 'ogg_sync_state::storage' is never used. [unusedStructMember] darkplaces/cap_ogg.c:113:7: style: struct member 'ogg_sync_state::fill' is never used. [unusedStructMember] darkplaces/cap_ogg.c:114:7: style: struct member 'ogg_sync_state::returned' is never used. [unusedStructMember] darkplaces/cd_shared.c:490:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cap_ogg.c:116:7: style: struct member 'ogg_sync_state::unsynced' is never used. [unusedStructMember] darkplaces/cap_ogg.c:117:7: style: struct member 'ogg_sync_state::headerbytes' is never used. [unusedStructMember] darkplaces/cap_ogg.c:118:7: style: struct member 'ogg_sync_state::bodybytes' is never used. [unusedStructMember] darkplaces/cap_ogg.c:137:7: style: struct member 'vorbis_info::version' is never used. [unusedStructMember] darkplaces/cap_ogg.c:138:7: style: struct member 'vorbis_info::channels' is never used. [unusedStructMember] darkplaces/cap_ogg.c:139:8: style: struct member 'vorbis_info::rate' is never used. [unusedStructMember] darkplaces/cap_ogg.c:156:8: style: struct member 'vorbis_info::bitrate_upper' is never used. [unusedStructMember] darkplaces/cap_ogg.c:157:8: style: struct member 'vorbis_info::bitrate_nominal' is never used. [unusedStructMember] darkplaces/cap_ogg.c:158:8: style: struct member 'vorbis_info::bitrate_lower' is never used. [unusedStructMember] darkplaces/cap_ogg.c:159:8: style: struct member 'vorbis_info::bitrate_window' is never used. [unusedStructMember] darkplaces/cap_ogg.c:161:9: style: struct member 'vorbis_info::codec_setup' is never used. [unusedStructMember] darkplaces/cap_ogg.c:168:7: style: struct member 'vorbis_dsp_state::analysisp' is never used. [unusedStructMember] darkplaces/cap_ogg.c:169:16: style: struct member 'vorbis_dsp_state::vi' is never used. [unusedStructMember] darkplaces/cap_ogg.c:171:11: style: struct member 'vorbis_dsp_state::pcm' is never used. [unusedStructMember] darkplaces/cap_ogg.c:172:11: style: struct member 'vorbis_dsp_state::pcmret' is never used. [unusedStructMember] darkplaces/cap_ogg.c:173:12: style: struct member 'vorbis_dsp_state::pcm_storage' is never used. [unusedStructMember] darkplaces/cap_ogg.c:174:12: style: struct member 'vorbis_dsp_state::pcm_current' is never used. [unusedStructMember] darkplaces/cap_ogg.c:175:12: style: struct member 'vorbis_dsp_state::pcm_returned' is never used. [unusedStructMember] darkplaces/cap_ogg.c:177:8: style: struct member 'vorbis_dsp_state::preextrapolate' is never used. [unusedStructMember] darkplaces/cap_ogg.c:178:8: style: struct member 'vorbis_dsp_state::eofflag' is never used. [unusedStructMember] darkplaces/cap_ogg.c:180:8: style: struct member 'vorbis_dsp_state::lW' is never used. [unusedStructMember] darkplaces/cap_ogg.c:181:8: style: struct member 'vorbis_dsp_state::W' is never used. [unusedStructMember] darkplaces/cap_ogg.c:182:8: style: struct member 'vorbis_dsp_state::nW' is never used. [unusedStructMember] darkplaces/cap_ogg.c:183:8: style: struct member 'vorbis_dsp_state::centerW' is never used. [unusedStructMember] darkplaces/cap_ogg.c:185:15: style: struct member 'vorbis_dsp_state::granulepos' is never used. [unusedStructMember] darkplaces/cap_ogg.c:186:15: style: struct member 'vorbis_dsp_state::sequence' is never used. [unusedStructMember] darkplaces/cap_ogg.c:188:15: style: struct member 'vorbis_dsp_state::glue_bits' is never used. [unusedStructMember] darkplaces/cap_ogg.c:189:15: style: struct member 'vorbis_dsp_state::time_bits' is never used. [unusedStructMember] darkplaces/cap_ogg.c:190:15: style: struct member 'vorbis_dsp_state::floor_bits' is never used. [unusedStructMember] darkplaces/cap_ogg.c:191:15: style: struct member 'vorbis_dsp_state::res_bits' is never used. [unusedStructMember] darkplaces/cap_ogg.c:193:15: style: struct member 'vorbis_dsp_state::backend_state' is never used. [unusedStructMember] darkplaces/cap_ogg.c:198:12: style: struct member 'vorbis_block::pcm' is never used. [unusedStructMember] darkplaces/cap_ogg.c:199:18: style: struct member 'vorbis_block::opb' is never used. [unusedStructMember] darkplaces/cap_ogg.c:201:9: style: struct member 'vorbis_block::lW' is never used. [unusedStructMember] darkplaces/cap_ogg.c:202:9: style: struct member 'vorbis_block::W' is never used. [unusedStructMember] darkplaces/cap_ogg.c:203:9: style: struct member 'vorbis_block::nW' is never used. [unusedStructMember] darkplaces/cap_ogg.c:204:9: style: struct member 'vorbis_block::pcmend' is never used. [unusedStructMember] darkplaces/cap_ogg.c:205:9: style: struct member 'vorbis_block::mode' is never used. [unusedStructMember] darkplaces/cap_ogg.c:207:15: style: struct member 'vorbis_block::eofflag' is never used. [unusedStructMember] darkplaces/cap_ogg.c:208:15: style: struct member 'vorbis_block::granulepos' is never used. [unusedStructMember] darkplaces/cap_ogg.c:209:15: style: struct member 'vorbis_block::sequence' is never used. [unusedStructMember] darkplaces/cap_ogg.c:210:21: style: struct member 'vorbis_block::vd' is never used. [unusedStructMember] darkplaces/cap_ogg.c:214:23: style: struct member 'vorbis_block::localstore' is never used. [unusedStructMember] darkplaces/cap_ogg.c:215:23: style: struct member 'vorbis_block::localtop' is never used. [unusedStructMember] darkplaces/cap_ogg.c:216:23: style: struct member 'vorbis_block::localalloc' is never used. [unusedStructMember] darkplaces/cap_ogg.c:217:23: style: struct member 'vorbis_block::totaluse' is never used. [unusedStructMember] darkplaces/cap_ogg.c:218:23: style: struct member 'vorbis_block::reap' is never used. [unusedStructMember] darkplaces/cap_ogg.c:221:8: style: struct member 'vorbis_block::glue_bits' is never used. [unusedStructMember] darkplaces/cap_ogg.c:222:8: style: struct member 'vorbis_block::time_bits' is never used. [unusedStructMember] darkplaces/cap_ogg.c:223:8: style: struct member 'vorbis_block::floor_bits' is never used. [unusedStructMember] darkplaces/cap_ogg.c:224:8: style: struct member 'vorbis_block::res_bits' is never used. [unusedStructMember] darkplaces/cap_ogg.c:226:9: style: struct member 'vorbis_block::internal' is never used. [unusedStructMember] darkplaces/cap_ogg.c:236:9: style: struct member 'alloc_chain::ptr' is never used. [unusedStructMember] darkplaces/cap_ogg.c:237:23: style: struct member 'alloc_chain::next' is never used. [unusedStructMember] darkplaces/cap_ogg.c:251:10: style: struct member 'vorbis_comment::user_comments' is never used. [unusedStructMember] darkplaces/cap_ogg.c:252:10: style: struct member 'vorbis_comment::comment_lengths' is never used. [unusedStructMember] darkplaces/cap_ogg.c:253:10: style: struct member 'vorbis_comment::comments' is never used. [unusedStructMember] darkplaces/cap_ogg.c:254:10: style: struct member 'vorbis_comment::vendor' is never used. [unusedStructMember] darkplaces/cap_ogg.c:380:17: style: struct member 'theora_info::offset_x' is never used. [unusedStructMember] darkplaces/cap_ogg.c:381:17: style: struct member 'theora_info::offset_y' is never used. [unusedStructMember] darkplaces/cap_ogg.c:392:17: style: struct member 'theora_info::version_major' is never used. [unusedStructMember] darkplaces/cap_ogg.c:393:17: style: struct member 'theora_info::version_minor' is never used. [unusedStructMember] darkplaces/cap_ogg.c:394:17: style: struct member 'theora_info::version_subminor' is never used. [unusedStructMember] darkplaces/cap_ogg.c:396:9: style: struct member 'theora_info::codec_setup' is never used. [unusedStructMember] darkplaces/cap_ogg.c:417:16: style: struct member 'theora_state::i' is never used. [unusedStructMember] darkplaces/cap_ogg.c:418:15: style: struct member 'theora_state::granulepos' is never used. [unusedStructMember] darkplaces/cap_ogg.c:420:9: style: struct member 'theora_state::internal_encode' is never used. [unusedStructMember] darkplaces/cap_ogg.c:421:9: style: struct member 'theora_state::internal_decode' is never used. [unusedStructMember] darkplaces/cap_ogg.c:445:10: style: struct member 'theora_comment::user_comments' is never used. [unusedStructMember] darkplaces/cap_ogg.c:446:10: style: struct member 'theora_comment::comment_lengths' is never used. [unusedStructMember] darkplaces/cap_ogg.c:447:10: style: struct member 'theora_comment::comments' is never used. [unusedStructMember] darkplaces/cap_ogg.c:448:10: style: struct member 'theora_comment::vendor' is never used. [unusedStructMember] darkplaces/cl_collision.c:109:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/cl_collision.c:125:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/cl_collision.c:180:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/cl_collision.c:281:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/cl_collision.c:499:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/cl_collision.c:744:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/cl_collision.c:965:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/cl_demo.c:58:16: warning: Either the condition 'cls.demonum==8' is redundant or the array 'cls.demos[8][16]' is accessed at index cls.demos[8][0], which is out of bounds. [arrayIndexOutOfBoundsCond] darkplaces/cl_demo.c:58:48: note: Assuming that condition 'cls.demonum==8' is not redundant darkplaces/cl_demo.c:58:16: note: Array index out of bounds darkplaces/cl_demo.c:125:7: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/cl_demo.c:269:27: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/cl_demo.c:478:20: portability: Casting between const char * and const double * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/cl_demo.c:479:20: portability: Casting between const char * and const double * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/cl_demo.c:565:6: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/cl_demo.c:566:6: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/cl_demo.c:567:6: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/cl_demo.c:568:6: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/cl_demo.c:569:6: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/cl_demo.c:112:38: style:inconclusive: Function 'CL_WriteDemoMessage' argument 1 names different: declaration 'mesage' definition 'message'. [funcArgNamesDifferent] darkplaces/client.h:1621:37: note: Function 'CL_WriteDemoMessage' argument 1 names different: declaration 'mesage' definition 'message'. darkplaces/cl_demo.c:112:38: note: Function 'CL_WriteDemoMessage' argument 1 names different: declaration 'mesage' definition 'message'. darkplaces/cl_main.c:1817:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_main.c:2796:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_input.c:740:32: style: Condition 'cl_movecliptokeyboard.integer' is always true [knownConditionTrueFalse] darkplaces/cl_input.c:383:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] darkplaces/cl_input.c:385:3: note: Found duplicate branches for 'if' and 'else'. darkplaces/cl_input.c:383:3: note: Found duplicate branches for 'if' and 'else'. darkplaces/cl_input.c:1121:94: style: Parameter 'wishdir' can be declared as const array [constParameter] darkplaces/cl_input.c:1164:90: style: Parameter 'wishdir' can be declared as const array [constParameter] darkplaces/cl_input.c:1244:93: style: Parameter 'wishdir' can be declared as const array [constParameter] darkplaces/cl_input.c:1669:65: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] darkplaces/cl_input.c:1669:82: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] darkplaces/cl_parse.c:677:132: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Draw [valueFlowBailoutIncompleteVar] darkplaces/cl_parse.c:2286:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_main.c:879:33: style: Condition 'frame<=40' is always true [knownConditionTrueFalse] darkplaces/cl_main.c:868:27: note: Assuming that condition 'frame<=40' is not redundant darkplaces/cl_main.c:879:33: note: Condition 'frame<=40' is always true darkplaces/cl_main.c:891:18: style: Condition 'frame>=103' is always true [knownConditionTrueFalse] darkplaces/cl_main.c:889:17: note: Assuming that condition 'frame>=103' is not redundant darkplaces/cl_main.c:891:18: note: Condition 'frame>=103' is always true darkplaces/cl_main.c:894:34: style: Condition 'frame<=118' is always true [knownConditionTrueFalse] darkplaces/cl_main.c:889:33: note: Assuming that condition 'frame<=118' is not redundant darkplaces/cl_main.c:894:34: note: Condition 'frame<=118' is always true darkplaces/cl_main.c:130:14: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/cl_main.c:1387:27: style: Variable 'ent->state_current.alpha' is reassigned a value before the old one has been used. [redundantAssignment] darkplaces/cl_main.c:1383:29: note: ent->state_current.alpha is assigned darkplaces/cl_main.c:1387:27: note: ent->state_current.alpha is overwritten darkplaces/cl_main.c:672:23: style: Parameter 'org' can be declared as const array [constParameter] darkplaces/cl_main.c:1831:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] darkplaces/cl_main.c:2088:16: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] darkplaces/cl_main.c:2246:26: style: Variable 'textend' can be declared as pointer to const [constVariablePointer] darkplaces/cl_main.c:2246:59: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] darkplaces/cl_main.c:1737:4: style: Variable '(dir)[0]' is assigned a value that is never used. [unreadVariable] darkplaces/cl_main.c:1737:4: style: Variable '(dir)[1]' is assigned a value that is never used. [unreadVariable] darkplaces/cl_main.c:1737:4: style: Variable '(dir)[2]' is assigned a value that is never used. [unreadVariable] darkplaces/cl_collision.c:245:19: style: Condition 'prog' is always true [knownConditionTrueFalse] darkplaces/cl_collision.c:463:19: style: Condition 'prog' is always true [knownConditionTrueFalse] darkplaces/cl_collision.c:697:19: style: Condition 'prog' is always true [knownConditionTrueFalse] darkplaces/cl_collision.c:914:19: style: Condition 'prog' is always true [knownConditionTrueFalse] darkplaces/cl_collision.c:175:56: style:inconclusive: Function 'CL_GenericHitSuperContentsMask' argument 1 names different: declaration 'edict' definition 'passedict'. [funcArgNamesDifferent] darkplaces/cl_collision.h:12:56: note: Function 'CL_GenericHitSuperContentsMask' argument 1 names different: declaration 'edict' definition 'passedict'. darkplaces/cl_collision.c:175:56: note: Function 'CL_GenericHitSuperContentsMask' argument 1 names different: declaration 'edict' definition 'passedict'. darkplaces/cl_collision.c:963:28: style: Pointer expression 'frameblend' converted to bool is always true. [knownPointerToBool] darkplaces/cl_collision.c:5:124: style: Parameter 'ignoreent' can be declared as pointer to const [constParameterPointer] darkplaces/cl_collision.c:104:48: style: Parameter 'ed' can be declared as pointer to const [constParameterPointer] darkplaces/cl_collision.c:106:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/cl_collision.c:211:16: style: Variable 'traceowner' can be declared as pointer to const [constVariablePointer] darkplaces/cl_collision.c:426:16: style: Variable 'traceowner' can be declared as pointer to const [constVariablePointer] darkplaces/cl_collision.c:646:16: style: Variable 'traceowner' can be declared as pointer to const [constVariablePointer] darkplaces/cl_parse.c:3636:13: warning: Either the condition 'i>=256' is redundant or the array 'cl.stats[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] darkplaces/cl_parse.c:3634:20: note: Assuming that condition 'i>=256' is not redundant darkplaces/cl_parse.c:3636:13: note: Array index out of bounds darkplaces/cl_parse.c:3636:13: warning: Either the condition 'i<0' is redundant or the array 'cl.stats[256]' is accessed at index -1, which is out of bounds. [negativeIndex] darkplaces/cl_parse.c:3634:11: note: Assuming that condition 'i<0' is not redundant darkplaces/cl_parse.c:3636:13: note: Negative array index darkplaces/cl_parse.c:4130:13: warning: Either the condition 'i>=256' is redundant or the array 'cl.stats[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] darkplaces/cl_parse.c:4128:20: note: Assuming that condition 'i>=256' is not redundant darkplaces/cl_parse.c:4130:13: note: Array index out of bounds darkplaces/cl_parse.c:4130:13: warning: Either the condition 'i<0' is redundant or the array 'cl.stats[256]' is accessed at index -1, which is out of bounds. [negativeIndex] darkplaces/cl_parse.c:4128:11: note: Assuming that condition 'i<0' is not redundant darkplaces/cl_parse.c:4130:13: note: Negative array index darkplaces/cl_parse.c:3603:11: style: Condition 'i<0' is always false [knownConditionTrueFalse] darkplaces/cl_parse.c:3602:9: note: Assignment 'i=(unsigned short)MSG_ReadLittleShort(&cl_message)', assigned value is greater than -1 darkplaces/cl_parse.c:3603:11: note: Condition 'i<0' is always false darkplaces/cl_parse.c:3683:11: style: Condition 'i<0' is always false [knownConditionTrueFalse] darkplaces/cl_parse.c:3681:9: note: Assignment 'i=(unsigned short)MSG_ReadLittleShort(&cl_message)', assigned value is greater than -1 darkplaces/cl_parse.c:3683:11: note: Condition 'i<0' is always false darkplaces/cl_parse.c:4072:11: style: Condition 'i<0' is always false [knownConditionTrueFalse] darkplaces/cl_parse.c:4071:9: note: Assignment 'i=(unsigned short)MSG_ReadLittleShort(&cl_message)', assigned value is greater than -1 darkplaces/cl_parse.c:4072:11: note: Condition 'i<0' is always false darkplaces/cl_parse.c:4080:11: style: Condition 'i<0' is always false [knownConditionTrueFalse] darkplaces/cl_parse.c:4079:9: note: Assignment 'i=(unsigned short)MSG_ReadLittleShort(&cl_message)', assigned value is greater than -1 darkplaces/cl_parse.c:4080:11: note: Condition 'i<0' is always false darkplaces/cl_parse.c:275:10: style: Redundant assignment of 'channel' to itself. [selfAssignment] darkplaces/cl_parse.c:381:31: style:inconclusive: Function 'CL_ParseEntityLump' argument 1 names different: declaration 'entitystring' definition 'entdata'. [funcArgNamesDifferent] darkplaces/client.h:2058:31: note: Function 'CL_ParseEntityLump' argument 1 names different: declaration 'entitystring' definition 'entdata'. darkplaces/cl_parse.c:381:31: note: Function 'CL_ParseEntityLump' argument 1 names different: declaration 'entitystring' definition 'entdata'. darkplaces/cl_parse.c:823:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] darkplaces/cl_parse.c:858:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] darkplaces/cl_parse.c:938:39: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] darkplaces/cl_parse.c:2355:34: style: Parameter 'start' can be declared as const array [constParameter] darkplaces/cl_parse.c:2355:48: style: Parameter 'end' can be declared as const array [constParameter] darkplaces/cl_parse.c:2422:17: style: Variable 'tempcolor' can be declared as pointer to const [constVariablePointer] darkplaces/cl_parse.c:3055:15: style: Variable 'textend' can be declared as pointer to const [constVariablePointer] darkplaces/cl_parse.c:1068:34: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/cl_parse.c:1067:16: note: Assuming that condition 'j<32' is not redundant darkplaces/cl_parse.c:1068:34: note: Shift darkplaces/cl_parse.c:3186:19: style: Variable 'charindex' is assigned a value that is never used. [unreadVariable] darkplaces/cl_video.c:578:26: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] darkplaces/cl_video_libavw.c:249:55: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] darkplaces/cl_particles.c:684:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:842:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:913:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:956:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:1556:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:1717:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:1865:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:1911:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:1923:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:1935:100: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:1950:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:1986:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:2077:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:3048:214: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_video_jamdecode.c:157:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec3_origin [valueFlowBailoutIncompleteVar] darkplaces/cl_video_jamdecode.c:55:9: warning: Either the condition 's==NULL' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] darkplaces/cl_video_jamdecode.c:56:8: note: Assuming that condition 's==NULL' is not redundant darkplaces/cl_video_jamdecode.c:55:9: note: Null pointer dereference darkplaces/cl_video_jamdecode.c:96:19: style: Checking if unsigned expression 's->framesize' is less than zero. [unsignedLessThanZero] darkplaces/cl_video_jamdecode.c:204:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/cl_video_jamdecode.c:211:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/cl_video_jamdecode.c:218:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/cl_video_jamdecode.c:225:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/cl_video_jamdecode.c:238:17: style: Variable 'back' can be declared as pointer to const [constVariablePointer] darkplaces/cl_video_libavw.c:168:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec3_origin [valueFlowBailoutIncompleteVar] darkplaces/cl_video_libavw.c:252:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_OSPATH [valueFlowBailoutIncompleteVar] darkplaces/cl_screen.c:910:31: style:inconclusive: Function 'R_TimeReport' argument 1 names different: declaration 'name' definition 'desc'. [funcArgNamesDifferent] darkplaces/render.h:338:31: note: Function 'R_TimeReport' argument 1 names different: declaration 'name' definition 'desc'. darkplaces/cl_screen.c:910:31: note: Function 'R_TimeReport' argument 1 names different: declaration 'name' definition 'desc'. darkplaces/cl_screen.c:178:8: style: Variable 'start' can be declared as pointer to const [constVariablePointer] darkplaces/cl_screen.c:255:18: style: Variable 'graph' can be declared as pointer to const [constVariablePointer] darkplaces/cl_screen.c:260:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] darkplaces/cl_screen.c:261:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] darkplaces/cl_screen.c:1878:8: style: Variable 'lmplabel' can be declared as pointer to const [constVariablePointer] darkplaces/cl_screen.c:1950:31: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] darkplaces/cl_screen.c:2355:59: style: Parameter 's' can be declared as pointer to const [constParameterPointer] darkplaces/cl_screen.c:318:113: style: Variable 'y' is assigned a value that is never used. [unreadVariable] darkplaces/cmd.c:282:8: style: Variable 'firstchar' can be declared as pointer to const [constVariablePointer] darkplaces/cmd.c:284:8: style: Variable 'comment' can be declared as pointer to const [constVariablePointer] darkplaces/cmd.c:974:76: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] darkplaces/cmd.c:1599:8: style: Variable 'text' is assigned a value that is never used. [unreadVariable] darkplaces/clvm_cmds.c:36:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:60:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:75:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:101:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:218:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:277:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:362:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:501:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:537:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:602:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:706:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:759:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:1138:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:1276:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:1335:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:1391:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:1456:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:1504:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:1773:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:2335:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:2358:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:2376:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:2400:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:2485:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:2593:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:2740:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:2774:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:2949:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:3069:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:3204:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:3392:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:3464:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:3590:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:3674:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:3837:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:3862:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:3895:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:3917:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:3939:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/clvm_cmds.c:4093:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/collision.c:1192:32: style: Variable 'boxbrush->brush.supercontents' is reassigned a value before the old one has been used. [redundantAssignment] darkplaces/collision.c:1150:32: note: boxbrush->brush.supercontents is assigned darkplaces/collision.c:1192:32: note: boxbrush->brush.supercontents is overwritten darkplaces/collision.c:1193:33: style: Variable 'boxbrush->brush.q3surfaceflags' is reassigned a value before the old one has been used. [redundantAssignment] darkplaces/collision.c:1151:33: note: boxbrush->brush.q3surfaceflags is assigned darkplaces/collision.c:1193:33: note: boxbrush->brush.q3surfaceflags is overwritten darkplaces/collision.c:1194:26: style: Variable 'boxbrush->brush.texture' is reassigned a value before the old one has been used. [redundantAssignment] darkplaces/collision.c:1152:26: note: boxbrush->brush.texture is assigned darkplaces/collision.c:1194:26: note: boxbrush->brush.texture is overwritten darkplaces/collision.c:559:72: style:inconclusive: Function 'Collision_TraceBrushBrushFloat' argument 2 names different: declaration 'thisbrush_start' definition 'trace_start'. [funcArgNamesDifferent] darkplaces/collision.h:141:72: note: Function 'Collision_TraceBrushBrushFloat' argument 2 names different: declaration 'thisbrush_start' definition 'trace_start'. darkplaces/collision.c:559:72: note: Function 'Collision_TraceBrushBrushFloat' argument 2 names different: declaration 'thisbrush_start' definition 'trace_start'. darkplaces/collision.c:559:104: style:inconclusive: Function 'Collision_TraceBrushBrushFloat' argument 3 names different: declaration 'thisbrush_end' definition 'trace_end'. [funcArgNamesDifferent] darkplaces/collision.h:141:108: note: Function 'Collision_TraceBrushBrushFloat' argument 3 names different: declaration 'thisbrush_end' definition 'trace_end'. darkplaces/collision.c:559:104: note: Function 'Collision_TraceBrushBrushFloat' argument 3 names different: declaration 'thisbrush_end' definition 'trace_end'. darkplaces/collision.c:559:134: style:inconclusive: Function 'Collision_TraceBrushBrushFloat' argument 4 names different: declaration 'thatbrush_start' definition 'other_start'. [funcArgNamesDifferent] darkplaces/collision.h:141:142: note: Function 'Collision_TraceBrushBrushFloat' argument 4 names different: declaration 'thatbrush_start' definition 'other_start'. darkplaces/collision.c:559:134: note: Function 'Collision_TraceBrushBrushFloat' argument 4 names different: declaration 'thatbrush_start' definition 'other_start'. darkplaces/collision.c:559:166: style:inconclusive: Function 'Collision_TraceBrushBrushFloat' argument 5 names different: declaration 'thatbrush_end' definition 'other_end'. [funcArgNamesDifferent] darkplaces/collision.h:141:178: note: Function 'Collision_TraceBrushBrushFloat' argument 5 names different: declaration 'thatbrush_end' definition 'other_end'. darkplaces/collision.c:559:166: note: Function 'Collision_TraceBrushBrushFloat' argument 5 names different: declaration 'thatbrush_end' definition 'other_end'. darkplaces/collision.c:760:117: style:inconclusive: Function 'Collision_TraceLineBrushFloat' argument 4 names different: declaration 'thatbrush_start' definition 'other_start'. [funcArgNamesDifferent] darkplaces/collision.h:143:117: note: Function 'Collision_TraceLineBrushFloat' argument 4 names different: declaration 'thatbrush_start' definition 'other_start'. darkplaces/collision.c:760:117: note: Function 'Collision_TraceLineBrushFloat' argument 4 names different: declaration 'thatbrush_start' definition 'other_start'. darkplaces/collision.c:760:149: style:inconclusive: Function 'Collision_TraceLineBrushFloat' argument 5 names different: declaration 'thatbrush_end' definition 'other_end'. [funcArgNamesDifferent] darkplaces/collision.h:143:153: note: Function 'Collision_TraceLineBrushFloat' argument 5 names different: declaration 'thatbrush_end' definition 'other_end'. darkplaces/collision.c:760:149: note: Function 'Collision_TraceLineBrushFloat' argument 5 names different: declaration 'thatbrush_end' definition 'other_end'. darkplaces/collision.c:923:66: style:inconclusive: Function 'Collision_TracePointBrushFloat' argument 2 names different: declaration 'point' definition 'linestart'. [funcArgNamesDifferent] darkplaces/collision.h:145:66: note: Function 'Collision_TracePointBrushFloat' argument 2 names different: declaration 'point' definition 'linestart'. darkplaces/collision.c:923:66: note: Function 'Collision_TracePointBrushFloat' argument 2 names different: declaration 'point' definition 'linestart'. darkplaces/collision.c:923:96: style:inconclusive: Function 'Collision_TracePointBrushFloat' argument 3 names different: declaration 'thatbrush' definition 'other_start'. [funcArgNamesDifferent] darkplaces/collision.h:145:92: note: Function 'Collision_TracePointBrushFloat' argument 3 names different: declaration 'thatbrush' definition 'other_start'. darkplaces/collision.c:923:96: note: Function 'Collision_TracePointBrushFloat' argument 3 names different: declaration 'thatbrush' definition 'other_start'. darkplaces/collision.c:1791:262: style:inconclusive: Function 'Collision_ClipToGenericEntity' argument 10 names different: declaration 'start' definition 'tstart'. [funcArgNamesDifferent] darkplaces/collision.h:170:276: note: Function 'Collision_ClipToGenericEntity' argument 10 names different: declaration 'start' definition 'tstart'. darkplaces/collision.c:1791:262: note: Function 'Collision_ClipToGenericEntity' argument 10 names different: declaration 'start' definition 'tstart'. darkplaces/collision.c:1791:321: style:inconclusive: Function 'Collision_ClipToGenericEntity' argument 13 names different: declaration 'end' definition 'tend'. [funcArgNamesDifferent] darkplaces/collision.h:170:334: note: Function 'Collision_ClipToGenericEntity' argument 13 names different: declaration 'end' definition 'tend'. darkplaces/collision.c:1791:321: note: Function 'Collision_ClipToGenericEntity' argument 13 names different: declaration 'end' definition 'tend'. darkplaces/collision.c:1834:76: style:inconclusive: Function 'Collision_ClipToWorld' argument 3 names different: declaration 'start' definition 'tstart'. [funcArgNamesDifferent] darkplaces/collision.h:174:76: note: Function 'Collision_ClipToWorld' argument 3 names different: declaration 'start' definition 'tstart'. darkplaces/collision.c:1834:76: note: Function 'Collision_ClipToWorld' argument 3 names different: declaration 'start' definition 'tstart'. darkplaces/collision.c:1834:135: style:inconclusive: Function 'Collision_ClipToWorld' argument 6 names different: declaration 'end' definition 'tend'. [funcArgNamesDifferent] darkplaces/collision.h:174:134: note: Function 'Collision_ClipToWorld' argument 6 names different: declaration 'end' definition 'tend'. darkplaces/collision.c:1834:135: note: Function 'Collision_ClipToWorld' argument 6 names different: declaration 'end' definition 'tend'. darkplaces/collision.c:1844:266: style:inconclusive: Function 'Collision_ClipLineToGenericEntity' argument 10 names different: declaration 'start' definition 'tstart'. [funcArgNamesDifferent] darkplaces/collision.h:171:280: note: Function 'Collision_ClipLineToGenericEntity' argument 10 names different: declaration 'start' definition 'tstart'. darkplaces/collision.c:1844:266: note: Function 'Collision_ClipLineToGenericEntity' argument 10 names different: declaration 'start' definition 'tstart'. darkplaces/collision.c:1844:287: style:inconclusive: Function 'Collision_ClipLineToGenericEntity' argument 11 names different: declaration 'end' definition 'tend'. [funcArgNamesDifferent] darkplaces/collision.h:171:300: note: Function 'Collision_ClipLineToGenericEntity' argument 11 names different: declaration 'end' definition 'tend'. darkplaces/collision.c:1844:287: note: Function 'Collision_ClipLineToGenericEntity' argument 11 names different: declaration 'end' definition 'tend'. darkplaces/collision.c:1870:80: style:inconclusive: Function 'Collision_ClipLineToWorld' argument 3 names different: declaration 'start' definition 'tstart'. [funcArgNamesDifferent] darkplaces/collision.h:175:80: note: Function 'Collision_ClipLineToWorld' argument 3 names different: declaration 'start' definition 'tstart'. darkplaces/collision.c:1870:80: note: Function 'Collision_ClipLineToWorld' argument 3 names different: declaration 'start' definition 'tstart'. darkplaces/collision.c:1870:101: style:inconclusive: Function 'Collision_ClipLineToWorld' argument 4 names different: declaration 'end' definition 'tend'. [funcArgNamesDifferent] darkplaces/collision.h:175:100: note: Function 'Collision_ClipLineToWorld' argument 4 names different: declaration 'end' definition 'tend'. darkplaces/collision.c:1870:101: note: Function 'Collision_ClipLineToWorld' argument 4 names different: declaration 'end' definition 'tend'. darkplaces/collision.c:1207:47: style: Parameter 'linestart' can be declared as pointer to const [constParameterPointer] darkplaces/collision.c:1207:66: style: Parameter 'lineend' can be declared as pointer to const [constParameterPointer] darkplaces/collision.c:1207:83: style: Parameter 'sphereorigin' can be declared as pointer to const [constParameterPointer] darkplaces/collision.c:1524:16: style: Variable 'arrayhashindex' can be declared as pointer to const [constVariablePointer] darkplaces/collision.c:1573:69: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] darkplaces/collision.c:1590:7: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] darkplaces/collision.c:1591:16: style: Variable 'arrayfullhashindex' can be declared as pointer to const [constVariablePointer] darkplaces/collision.c:1592:16: style: Variable 'arraynext' can be declared as pointer to const [constVariablePointer] darkplaces/collision.c:1791:213: style: Parameter 'matrix' can be declared as pointer to const [constParameterPointer] darkplaces/collision.c:1791:234: style: Parameter 'inversematrix' can be declared as pointer to const [constParameterPointer] darkplaces/collision.c:1844:217: style: Parameter 'matrix' can be declared as pointer to const [constParameterPointer] darkplaces/collision.c:1844:238: style: Parameter 'inversematrix' can be declared as pointer to const [constParameterPointer] darkplaces/collision.c:1883:218: style: Parameter 'matrix' can be declared as pointer to const [constParameterPointer] darkplaces/collision.c:1883:239: style: Parameter 'inversematrix' can be declared as pointer to const [constParameterPointer] darkplaces/collision.c:1585:16: style: Variable 'hashindex' is assigned a value that is never used. [unreadVariable] darkplaces/common.c:712:59: style:inconclusive: Function 'COM_Wordwrap' argument 3 names different: declaration 'continuationSize' definition 'continuationWidth'. [funcArgNamesDifferent] darkplaces/common.h:198:59: note: Function 'COM_Wordwrap' argument 3 names different: declaration 'continuationSize' definition 'continuationWidth'. darkplaces/common.c:712:59: note: Function 'COM_Wordwrap' argument 3 names different: declaration 'continuationSize' definition 'continuationWidth'. darkplaces/common.c:238:57: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] darkplaces/common.c:240:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] darkplaces/common.c:1794:8: style: Variable 'tokenbufend' can be declared as pointer to const [constVariablePointer] darkplaces/conproc.c:80:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STD_OUTPUT_HANDLE [valueFlowBailoutIncompleteVar] darkplaces/conproc.c:110:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_OBJECT_0 [valueFlowBailoutIncompleteVar] darkplaces/conproc.c:162:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_MAP_READ [valueFlowBailoutIncompleteVar] darkplaces/conproc.c:235:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_EVENT [valueFlowBailoutIncompleteVar] darkplaces/console.c:700:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mask [valueFlowBailoutIncompleteVar] darkplaces/console.c:777:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] darkplaces/console.c:819:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] darkplaces/console.c:2048:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] darkplaces/console.c:487:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] darkplaces/console.c:1129:24: style:inconclusive: Function 'Con_MaskPrint' argument 1 names different: declaration 'mask' definition 'additionalmask'. [funcArgNamesDifferent] darkplaces/console.h:43:24: note: Function 'Con_MaskPrint' argument 1 names different: declaration 'mask' definition 'additionalmask'. darkplaces/console.c:1129:24: note: Function 'Con_MaskPrint' argument 1 names different: declaration 'mask' definition 'additionalmask'. darkplaces/console.c:1436:28: style:inconclusive: Function 'Con_Print' argument 1 names different: declaration 'txt' definition 'msg'. [funcArgNamesDifferent] darkplaces/console.h:49:28: note: Function 'Con_Print' argument 1 names different: declaration 'txt' definition 'msg'. darkplaces/console.c:1436:28: note: Function 'Con_Print' argument 1 names different: declaration 'txt' definition 'msg'. darkplaces/console.c:297:9: style: Variable 'firstline_start' can be declared as pointer to const [constVariablePointer] darkplaces/console.c:369:19: style: Variable 'l' can be declared as pointer to const [constVariablePointer] darkplaces/console.c:385:18: style: Variable 'l' can be declared as pointer to const [constVariablePointer] darkplaces/console.c:477:13: style: Variable 'crt_tm' can be declared as pointer to const [constVariablePointer] darkplaces/console.c:1688:19: style: Variable 'l' can be declared as pointer to const [constVariablePointer] darkplaces/console.c:1719:19: style: Variable 'l' can be declared as pointer to const [constVariablePointer] darkplaces/console.c:1879:18: style: Variable 'li' can be declared as pointer to const [constVariablePointer] darkplaces/console.c:2295:45: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] darkplaces/console.c:2295:54: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] darkplaces/console.c:2372:67: style: Parameter 's' can be declared as pointer to const [constParameterPointer] darkplaces/console.c:2490:12: style: Variable 'b' can be declared as pointer to const [constVariablePointer] darkplaces/console.c:2549:12: style: Variable 'b' can be declared as pointer to const [constVariablePointer] darkplaces/console.c:2700:9: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] darkplaces/console.c:2713:9: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] darkplaces/console.c:605:11: style: Variable 'remain' is assigned a value that is never used. [unreadVariable] darkplaces/console.c:2256:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] darkplaces/console.c:2256:26: style: Variable 'len' is assigned a value that is never used. [unreadVariable] darkplaces/crypto-keygen-standalone.c:148:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] darkplaces/crypto-keygen-standalone.c:171:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] darkplaces/crypto-keygen-standalone.c:221:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] darkplaces/crypto-keygen-standalone.c:246:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] darkplaces/crypto-keygen-standalone.c:294:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] darkplaces/crypto-keygen-standalone.c:161:89: style: Parameter 'lumpsize' can be declared as pointer to const [constParameterPointer] darkplaces/crypto-keygen-standalone.c:725:20: warning: Uninitialized variable: hexbuf [uninitvar] darkplaces/crypto-keygen-standalone.c:723:18: note: Assuming condition is false darkplaces/crypto-keygen-standalone.c:725:20: note: Uninitialized variable: hexbuf darkplaces/crypto-keygen-standalone.c:99:19: style: Variable 'dn' is assigned a value that is never used. [unreadVariable] darkplaces/crypto.c:177:18: error: syntax error [syntaxError] darkplaces/csprogs.c:25:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:204:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:217:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:229:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:265:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:277:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:327:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:453:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:482:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:516:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:539:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:622:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:638:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:692:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:710:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:720:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:733:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:779:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:816:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:927:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:1135:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:1175:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:1201:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:1226:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] darkplaces/csprogs.c:565:7: style:inconclusive: Same expression used in consecutive assignments of 'crcflags' and 'sizeflags'. [duplicateAssignExpression] darkplaces/csprogs.c:566:7: note: Same expression used in consecutive assignments of 'crcflags' and 'sizeflags'. darkplaces/csprogs.c:565:7: note: Same expression used in consecutive assignments of 'crcflags' and 'sizeflags'. darkplaces/csprogs.c:724:49: style:inconclusive: Function 'CL_VM_Event_Sound' argument 2 names different: declaration 'volume' definition 'fvolume'. [funcArgNamesDifferent] darkplaces/csprogs.h:96:49: note: Function 'CL_VM_Event_Sound' argument 2 names different: declaration 'volume' definition 'fvolume'. darkplaces/csprogs.c:724:49: note: Function 'CL_VM_Event_Sound' argument 2 names different: declaration 'volume' definition 'fvolume'. darkplaces/csprogs.c:648:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/csprogs.c:892:42: style: Parameter 'prog' can be declared as pointer to const. However it seems that 'CLVM_init_edict' is a callback function, if 'prog' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/csprogs.c:1084:32: note: You might need to cast the function pointer here darkplaces/csprogs.c:892:42: note: Parameter 'prog' can be declared as pointer to const darkplaces/csprogs.c:918:16: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] darkplaces/csprogs.c:939:46: style: Parameter 'prog' can be declared as pointer to const. However it seems that 'CLVM_load_edict' is a callback function, if 'prog' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/csprogs.c:1087:32: note: You might need to cast the function pointer here darkplaces/csprogs.c:939:46: note: Parameter 'prog' can be declared as pointer to const darkplaces/csprogs.c:939:66: style: Parameter 'ent' can be declared as pointer to const. However it seems that 'CLVM_load_edict' is a callback function, if 'ent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/csprogs.c:1087:32: note: You might need to cast the function pointer here darkplaces/csprogs.c:939:66: note: Parameter 'ent' can be declared as pointer to const darkplaces/csprogs.c:946:66: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] darkplaces/csprogs.c:964:34: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] darkplaces/csprogs.c:337:27: style: Variable 'scale' is assigned a value that is never used. [unreadVariable] darkplaces/csprogs.c:344:28: style: Variable 'scale' is assigned a value that is never used. [unreadVariable] darkplaces/curves.c:82:17: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/curves.c:82:27: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/curves.c:100:9: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/curves.c:100:19: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/curves.c:116:10: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/curves.c:116:20: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/curves.c:273:64: style: Parameter 'vertex' can be declared as pointer to const [constParameterPointer] darkplaces/cvar.c:296:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/cvar.c:296:5: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] darkplaces/cvar.c:313:5: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] darkplaces/cvar.c:317:5: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] darkplaces/cvar.c:360:36: style: Condition 'changed' is always true [knownConditionTrueFalse] darkplaces/cvar.c:346:6: note: Assuming that condition '!changed' is not redundant darkplaces/cvar.c:344:39: note: Assignment 'changed=strcmp(var->string,value)!=0', assigned value is less than 2 darkplaces/cvar.c:360:36: note: Condition 'changed' is always true darkplaces/cvar.c:296:5: style: Checking if unsigned expression 'prog->globaldefs[var->globaldefindex[i]].ofs' is less than zero. [unsignedLessThanZero] darkplaces/cvar.c:313:5: style: Checking if unsigned expression 'prog->globaldefs[var->globaldefindex[i]].ofs' is less than zero. [unsignedLessThanZero] darkplaces/cvar.c:317:5: style: Checking if unsigned expression 'prog->globaldefs[var->globaldefindex[i]].ofs' is less than zero. [unsignedLessThanZero] darkplaces/cvar.c:110:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] darkplaces/cvar.c:130:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] darkplaces/cvar.c:150:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] darkplaces/cvar.c:165:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] darkplaces/cvar.c:266:41: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] darkplaces/cvar.c:269:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/cvar.c:487:8: style: Variable 'oldstr' can be declared as pointer to const [constVariablePointer] darkplaces/cvar.c:498:21: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/cvar.c:506:39: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/cvar.c:600:39: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/cvar.c:631:24: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/cvar.c:778:21: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/cvar.c:870:90: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/cvar.c:874:51: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/cvar.c:1004:22: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/dpvsimpledecode.c:36:58: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] darkplaces/dpvsimpledecode.c:500:27: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/dpvsimpledecode.c:507:27: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/dpvsimpledecode.c:514:27: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/dpvsimpledecode.c:521:27: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/dpvsimpledecode.c:529:16: style: Variable 'in' can be declared as pointer to const [constVariablePointer] darkplaces/filematch.c:218:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] darkplaces/filematch.c:187:17: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] darkplaces/fractalnoise.c:154:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/fs.c:2227:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] darkplaces/fs.c:2320:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] darkplaces/fs.c:2396:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] darkplaces/fs.c:2767:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] darkplaces/fs.c:2789:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] darkplaces/fs.c:2884:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] darkplaces/fs.c:3138:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] darkplaces/fs.c:3154:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] darkplaces/fs.c:3301:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] darkplaces/fs.c:2091:7: style:inconclusive: Same expression used in consecutive assignments of 'highestuserdirmode' and 'preferreduserdirmode'. [duplicateAssignExpression] darkplaces/fs.c:2092:7: note: Same expression used in consecutive assignments of 'highestuserdirmode' and 'preferreduserdirmode'. darkplaces/fs.c:2091:7: note: Same expression used in consecutive assignments of 'highestuserdirmode' and 'preferreduserdirmode'. darkplaces/fs.c:1968:4: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] darkplaces/fs.c:3514:33: style:inconclusive: Function 'FS_SysFileType' argument 1 names different: declaration 'filename' definition 'path'. [funcArgNamesDifferent] darkplaces/fs.h:128:33: note: Function 'FS_SysFileType' argument 1 names different: declaration 'filename' definition 'path'. darkplaces/fs.c:3514:33: note: Function 'FS_SysFileType' argument 1 names different: declaration 'filename' definition 'path'. darkplaces/fs.c:3547:40: style:inconclusive: Function 'FS_SysFileExists' argument 1 names different: declaration 'filename' definition 'path'. [funcArgNamesDifferent] darkplaces/fs.h:131:40: note: Function 'FS_SysFileExists' argument 1 names different: declaration 'filename' definition 'path'. darkplaces/fs.c:3547:40: note: Function 'FS_SysFileExists' argument 1 names different: declaration 'filename' definition 'path'. darkplaces/fs.c:569:26: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] darkplaces/fs.c:3103:26: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] darkplaces/fs.c:3271:31: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] darkplaces/fs.c:3284:35: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] darkplaces/ft2.c:708:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face_flags [valueFlowBailoutIncompleteVar] darkplaces/ft2.c:977:47: style:inconclusive: Function 'Font_IndexForSize' argument 2 names different: declaration 'size' definition '_fsize'. [funcArgNamesDifferent] darkplaces/ft2.h:76:59: note: Function 'Font_IndexForSize' argument 2 names different: declaration 'size' definition '_fsize'. darkplaces/ft2.c:977:47: note: Function 'Font_IndexForSize' argument 2 names different: declaration 'size' definition '_fsize'. darkplaces/ft2.c:457:65: style: Parameter 'attachment' can be declared as pointer to const [constParameterPointer] darkplaces/ft2.c:1385:43: style: Variable 'src' can be declared as pointer to const [constVariablePointer] darkplaces/ft2.c:801:14: style: Variable 'cur' is assigned a value that is never used. [unreadVariable] darkplaces/ft2.c:1528:46: style: Variable 'c' is assigned a value that is never used. [unreadVariable] darkplaces/clvm_cmds.c:1292:6: style: Condition 'model' is always true [knownConditionTrueFalse] darkplaces/clvm_cmds.c:302:6: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/clvm_cmds.c:342:6: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/clvm_cmds.c:223:10: style: Redundant assignment of 'channel' to itself. [selfAssignment] darkplaces/clvm_cmds.c:1092:27: style: Variable 'prog->globals.fp[1]' is reassigned a value before the old one has been used. [redundantAssignment] darkplaces/clvm_cmds.c:1050:28: note: prog->globals.fp[1] is assigned darkplaces/clvm_cmds.c:1092:27: note: prog->globals.fp[1] is overwritten darkplaces/clvm_cmds.c:2451:104: style:inconclusive: Function 'CL_GetTagMatrix' argument 5 names different: declaration 'shadingorigin' definition 'returnshadingorigin'. [funcArgNamesDifferent] darkplaces/csprogs.h:101:103: note: Function 'CL_GetTagMatrix' argument 5 names different: declaration 'shadingorigin' definition 'returnshadingorigin'. darkplaces/clvm_cmds.c:2451:104: note: Function 'CL_GetTagMatrix' argument 5 names different: declaration 'shadingorigin' definition 'returnshadingorigin'. darkplaces/clvm_cmds.c:803:14: style: Variable 'f' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:1303:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:1850:16: style: Variable 'in' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:1881:40: style: Parameter 'prog' can be declared as pointer to const. However it seems that 'VM_CL_effect' is a callback function, if 'prog' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/clvm_cmds.c:4525:1: note: You might need to cast the function pointer here darkplaces/clvm_cmds.c:1881:40: note: Parameter 'prog' can be declared as pointer to const darkplaces/clvm_cmds.c:2220:18: style: Variable 'tempcolor' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:2354:41: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] darkplaces/clvm_cmds.c:2356:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:2363:48: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] darkplaces/clvm_cmds.c:2366:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:2389:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:2427:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:2456:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:2932:21: style: Variable 'theme' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:3054:21: style: Variable 'theme' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:3362:14: style: Variable 'surf' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:3740:16: style: Variable 'ed' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:3745:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:3793:14: style: Variable 'skeleton' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:3821:14: style: Variable 'skeleton' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:3988:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/clvm_cmds.c:2398:18: style: Variable 'pitchsign' is assigned a value that is never used. [unreadVariable] darkplaces/gl_draw.c:759:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable title [valueFlowBailoutIncompleteVar] darkplaces/gl_backend.c:1112:102: style: Condition 'gl_debug.integer>=3' is always true [knownConditionTrueFalse] darkplaces/gl_backend.c:1111:25: note: Assuming that condition 'gl_debug.integer>=3' is not redundant darkplaces/gl_backend.c:1112:102: note: Condition 'gl_debug.integer>=3' is always true darkplaces/gl_backend.c:1115:115: style: Condition 'gl_debug.integer>=3' is always false [knownConditionTrueFalse] darkplaces/gl_backend.c:1111:25: note: Assuming that condition 'gl_debug.integer>=3' is not redundant darkplaces/gl_backend.c:1115:115: note: Condition 'gl_debug.integer>=3' is always false darkplaces/gl_backend.c:1117:116: style: Condition 'gl_debug.integer>=1' is always true [knownConditionTrueFalse] darkplaces/gl_backend.c:1113:30: note: Assuming that condition 'gl_debug.integer>=1' is not redundant darkplaces/gl_backend.c:1117:116: note: Condition 'gl_debug.integer>=1' is always true darkplaces/gl_backend.c:586:160: style:inconclusive: Function 'R_Viewport_InitOrtho' argument 11 names different: declaration 'zNear' definition 'nearclip'. [funcArgNamesDifferent] darkplaces/gl_backend.h:24:160: note: Function 'R_Viewport_InitOrtho' argument 11 names different: declaration 'zNear' definition 'nearclip'. darkplaces/gl_backend.c:586:160: note: Function 'R_Viewport_InitOrtho' argument 11 names different: declaration 'zNear' definition 'nearclip'. darkplaces/gl_backend.c:586:176: style:inconclusive: Function 'R_Viewport_InitOrtho' argument 12 names different: declaration 'zFar' definition 'farclip'. [funcArgNamesDifferent] darkplaces/gl_backend.h:24:173: note: Function 'R_Viewport_InitOrtho' argument 12 names different: declaration 'zFar' definition 'farclip'. darkplaces/gl_backend.c:586:176: note: Function 'R_Viewport_InitOrtho' argument 12 names different: declaration 'zFar' definition 'farclip'. darkplaces/gl_backend.c:676:158: style:inconclusive: Function 'R_Viewport_InitPerspective' argument 9 names different: declaration 'zNear' definition 'nearclip'. [funcArgNamesDifferent] darkplaces/gl_backend.h:26:158: note: Function 'R_Viewport_InitPerspective' argument 9 names different: declaration 'zNear' definition 'nearclip'. darkplaces/gl_backend.c:676:158: note: Function 'R_Viewport_InitPerspective' argument 9 names different: declaration 'zNear' definition 'nearclip'. darkplaces/gl_backend.c:676:174: style:inconclusive: Function 'R_Viewport_InitPerspective' argument 10 names different: declaration 'zFar' definition 'farclip'. [funcArgNamesDifferent] darkplaces/gl_backend.h:26:171: note: Function 'R_Viewport_InitPerspective' argument 10 names different: declaration 'zFar' definition 'farclip'. darkplaces/gl_backend.c:676:174: note: Function 'R_Viewport_InitPerspective' argument 10 names different: declaration 'zFar' definition 'farclip'. darkplaces/gl_backend.c:718:166: style:inconclusive: Function 'R_Viewport_InitPerspectiveInfinite' argument 9 names different: declaration 'zNear' definition 'nearclip'. [funcArgNamesDifferent] darkplaces/gl_backend.h:27:166: note: Function 'R_Viewport_InitPerspectiveInfinite' argument 9 names different: declaration 'zNear' definition 'nearclip'. darkplaces/gl_backend.c:718:166: note: Function 'R_Viewport_InitPerspectiveInfinite' argument 9 names different: declaration 'zNear' definition 'nearclip'. darkplaces/gl_backend.c:2105:100: style:inconclusive: Function 'R_Mesh_PrepareVertices_Vertex3f' argument 3 names different: declaration 'buffer' definition 'vertexbuffer'. [funcArgNamesDifferent] darkplaces/gl_backend.h:79:100: note: Function 'R_Mesh_PrepareVertices_Vertex3f' argument 3 names different: declaration 'buffer' definition 'vertexbuffer'. darkplaces/gl_backend.c:2105:100: note: Function 'R_Mesh_PrepareVertices_Vertex3f' argument 3 names different: declaration 'buffer' definition 'vertexbuffer'. darkplaces/gl_backend.c:308:18: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:2053:19: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:2124:18: style: Variable 'buffer_vertex3f' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:2125:18: style: Variable 'buffer_color4f' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:2126:18: style: Variable 'buffer_texcoord2f' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:2147:18: style: Variable 'buffer_vertex3f' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:2148:18: style: Variable 'buffer_color4f' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:2149:18: style: Variable 'buffer_texcoordtexture2f' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:2150:18: style: Variable 'buffer_svector3f' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:2151:18: style: Variable 'buffer_tvector3f' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:2152:18: style: Variable 'buffer_normal3f' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:2153:18: style: Variable 'buffer_texcoordlightmap2f' can be declared as pointer to const [constVariablePointer] darkplaces/gl_backend.c:177:9: style: struct member 'gl_state_s::preparevertices_tempdatamaxsize' is never used. [unusedStructMember] darkplaces/gl_backend.c:178:6: style: struct member 'gl_state_s::preparevertices_numvertices' is never used. [unusedStructMember] darkplaces/gl_draw.c:598:11: warning: Either the condition '(c-filelist)>128' is redundant or the array 'mainfont[128]' is accessed at index 128, which is out of bounds. [arrayIndexOutOfBoundsCond] darkplaces/gl_draw.c:593:26: note: Assuming that condition '(c-filelist)>128' is not redundant darkplaces/gl_draw.c:598:11: note: Array index out of bounds darkplaces/gl_draw.c:625:16: warning: Either the condition '(c-filelist)>128' is redundant or the array 'f->fallbacks[3][128]' is accessed at index f->fallbacks[*][128], which is out of bounds. [arrayIndexOutOfBoundsCond] darkplaces/gl_draw.c:618:25: note: Assuming that condition '(c-filelist)>128' is not redundant darkplaces/gl_draw.c:625:16: note: Array index out of bounds darkplaces/gl_draw.c:1156:6: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] darkplaces/gl_draw.c:965:17: style: Checking if unsigned expression 'bytes_left' is less than zero. [unsignedLessThanZero] darkplaces/gl_draw.c:1179:18: style: Checking if unsigned expression 'bytes_left' is less than zero. [unsignedLessThanZero] darkplaces/gl_draw.c:252:84: style:inconclusive: Function 'Draw_NewPic' argument 4 names different: declaration 'pixels' definition 'pixels_bgra'. [funcArgNamesDifferent] darkplaces/draw.h:46:84: note: Function 'Draw_NewPic' argument 4 names different: declaration 'pixels' definition 'pixels_bgra'. darkplaces/gl_draw.c:252:84: note: Function 'Draw_NewPic' argument 4 names different: declaration 'pixels' definition 'pixels_bgra'. darkplaces/gl_draw.c:1080:32: style:inconclusive: Function 'DrawQ_String_Scale' argument 1 names different: declaration 'x' definition 'startx'. [funcArgNamesDifferent] darkplaces/draw.h:160:32: note: Function 'DrawQ_String_Scale' argument 1 names different: declaration 'x' definition 'startx'. darkplaces/gl_draw.c:1080:32: note: Function 'DrawQ_String_Scale' argument 1 names different: declaration 'x' definition 'startx'. darkplaces/gl_draw.c:1080:46: style:inconclusive: Function 'DrawQ_String_Scale' argument 2 names different: declaration 'y' definition 'starty'. [funcArgNamesDifferent] darkplaces/draw.h:160:41: note: Function 'DrawQ_String_Scale' argument 2 names different: declaration 'y' definition 'starty'. darkplaces/gl_draw.c:1080:46: note: Function 'DrawQ_String_Scale' argument 2 names different: declaration 'y' definition 'starty'. darkplaces/gl_draw.c:1080:93: style:inconclusive: Function 'DrawQ_String_Scale' argument 5 names different: declaration 'sizex' definition 'w'. [funcArgNamesDifferent] darkplaces/draw.h:160:83: note: Function 'DrawQ_String_Scale' argument 5 names different: declaration 'sizex' definition 'w'. darkplaces/gl_draw.c:1080:93: note: Function 'DrawQ_String_Scale' argument 5 names different: declaration 'sizex' definition 'w'. darkplaces/gl_draw.c:1080:102: style:inconclusive: Function 'DrawQ_String_Scale' argument 6 names different: declaration 'sizey' definition 'h'. [funcArgNamesDifferent] darkplaces/draw.h:160:96: note: Function 'DrawQ_String_Scale' argument 6 names different: declaration 'sizey' definition 'h'. darkplaces/gl_draw.c:1080:102: note: Function 'DrawQ_String_Scale' argument 6 names different: declaration 'sizey' definition 'h'. darkplaces/gl_draw.c:1080:111: style:inconclusive: Function 'DrawQ_String_Scale' argument 7 names different: declaration 'scalex' definition 'sw'. [funcArgNamesDifferent] darkplaces/draw.h:160:109: note: Function 'DrawQ_String_Scale' argument 7 names different: declaration 'scalex' definition 'sw'. darkplaces/gl_draw.c:1080:111: note: Function 'DrawQ_String_Scale' argument 7 names different: declaration 'scalex' definition 'sw'. darkplaces/gl_draw.c:1080:121: style:inconclusive: Function 'DrawQ_String_Scale' argument 8 names different: declaration 'scaley' definition 'sh'. [funcArgNamesDifferent] darkplaces/draw.h:160:123: note: Function 'DrawQ_String_Scale' argument 8 names different: declaration 'scaley' definition 'sh'. darkplaces/gl_draw.c:1080:121: note: Function 'DrawQ_String_Scale' argument 8 names different: declaration 'scaley' definition 'sh'. darkplaces/gl_draw.c:1348:26: style:inconclusive: Function 'DrawQ_String' argument 1 names different: declaration 'x' definition 'startx'. [funcArgNamesDifferent] darkplaces/draw.h:159:26: note: Function 'DrawQ_String' argument 1 names different: declaration 'x' definition 'startx'. darkplaces/gl_draw.c:1348:26: note: Function 'DrawQ_String' argument 1 names different: declaration 'x' definition 'startx'. darkplaces/gl_draw.c:1348:40: style:inconclusive: Function 'DrawQ_String' argument 2 names different: declaration 'y' definition 'starty'. [funcArgNamesDifferent] darkplaces/draw.h:159:35: note: Function 'DrawQ_String' argument 2 names different: declaration 'y' definition 'starty'. darkplaces/gl_draw.c:1348:40: note: Function 'DrawQ_String' argument 2 names different: declaration 'y' definition 'starty'. darkplaces/gl_draw.c:1348:87: style:inconclusive: Function 'DrawQ_String' argument 5 names different: declaration 'scalex' definition 'w'. [funcArgNamesDifferent] darkplaces/draw.h:159:77: note: Function 'DrawQ_String' argument 5 names different: declaration 'scalex' definition 'w'. darkplaces/gl_draw.c:1348:87: note: Function 'DrawQ_String' argument 5 names different: declaration 'scalex' definition 'w'. darkplaces/gl_draw.c:1348:96: style:inconclusive: Function 'DrawQ_String' argument 6 names different: declaration 'scaley' definition 'h'. [funcArgNamesDifferent] darkplaces/draw.h:159:91: note: Function 'DrawQ_String' argument 6 names different: declaration 'scaley' definition 'h'. darkplaces/gl_draw.c:1348:96: note: Function 'DrawQ_String' argument 6 names different: declaration 'scaley' definition 'h'. darkplaces/gl_draw.c:186:41: style: Parameter 'pic' can be declared as pointer to const [constParameterPointer] darkplaces/gl_draw.c:193:34: style: Parameter 'pic' can be declared as pointer to const [constParameterPointer] darkplaces/gl_draw.c:200:35: style: Parameter 'pic' can be declared as pointer to const [constParameterPointer] darkplaces/gl_draw.c:252:84: style: Parameter 'pixels_bgra' can be declared as pointer to const [constParameterPointer] darkplaces/gl_draw.c:1086:15: style: Variable 'prevch' is assigned a value that is never used. [unreadVariable] darkplaces/gl_rmain.c:2762:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/gl_rmain.c:3996:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/gl_rmain.c:5311:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/gl_rmain.c:6132:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/gl_rmain.c:6167:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:1881:15: style: Condition 'k<16' is always true [knownConditionTrueFalse] darkplaces/cl_particles.c:1873:14: note: Assignment 'k=0', assigned value is 0 darkplaces/cl_particles.c:1881:15: note: Condition 'k<16' is always true darkplaces/gl_rsurf.c:253:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/cl_particles.c:2570:49: style: Unsigned expression '(unsigned int)cl_decals_max.integer' can't be negative so it is unnecessary to test it. [unsignedPositive] darkplaces/cl_particles.c:1682:27: style:inconclusive: Function 'CL_ParticleTrail' argument 1 names different: declaration 'effectindex' definition 'effectnameindex'. [funcArgNamesDifferent] darkplaces/client.h:1733:27: note: Function 'CL_ParticleTrail' argument 1 names different: declaration 'effectindex' definition 'effectnameindex'. darkplaces/cl_particles.c:1682:27: note: Function 'CL_ParticleTrail' argument 1 names different: declaration 'effectindex' definition 'effectnameindex'. darkplaces/cl_particles.c:1687:25: style:inconclusive: Function 'CL_ParticleBox' argument 1 names different: declaration 'effectindex' definition 'effectnameindex'. [funcArgNamesDifferent] darkplaces/client.h:1734:25: note: Function 'CL_ParticleBox' argument 1 names different: declaration 'effectindex' definition 'effectnameindex'. darkplaces/cl_particles.c:1687:25: note: Function 'CL_ParticleBox' argument 1 names different: declaration 'effectindex' definition 'effectnameindex'. darkplaces/cl_particles.c:1693:28: style:inconclusive: Function 'CL_ParticleEffect' argument 1 names different: declaration 'effectindex' definition 'effectnameindex'. [funcArgNamesDifferent] darkplaces/client.h:1732:28: note: Function 'CL_ParticleEffect' argument 1 names different: declaration 'effectindex' definition 'effectnameindex'. darkplaces/cl_particles.c:1693:28: note: Function 'CL_ParticleEffect' argument 1 names different: declaration 'effectindex' definition 'effectnameindex'. darkplaces/cl_particles.c:655:582: style: Parameter 'tint' can be declared as const array [constParameter] darkplaces/cl_particles.c:676:22: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] darkplaces/cl_particles.c:835:19: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] darkplaces/cl_particles.c:894:13: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] darkplaces/cl_particles.c:2020:61: style: Parameter 'light' can be declared as const array [constParameter] darkplaces/cl_particles.c:2062:49: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] darkplaces/cl_particles.c:2489:121: style: Parameter 'surfacelist' can be declared as pointer to const. However it seems that 'R_DrawDecal_TransparentCallback' is a callback function, if 'surfacelist' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/cl_particles.c:2616:69: note: You might need to cast the function pointer here darkplaces/cl_particles.c:2489:121: note: Parameter 'surfacelist' can be declared as pointer to const darkplaces/cl_particles.c:2494:21: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] darkplaces/cl_particles.c:2640:124: style: Parameter 'surfacelist' can be declared as pointer to const. However it seems that 'R_DrawParticle_TransparentCallback' is a callback function, if 'surfacelist' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/cl_particles.c:3143:73: note: You might need to cast the function pointer here darkplaces/cl_particles.c:2640:124: note: Parameter 'surfacelist' can be declared as pointer to const darkplaces/cl_particles.c:2649:21: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] darkplaces/cl_particles.c:3136:16: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] darkplaces/cl_particles.c:2877:13: style: Variable 'batchstart' is assigned a value that is never used. [unreadVariable] darkplaces/cl_particles.c:2878:13: style: Variable 'batchcount' is assigned a value that is never used. [unreadVariable] darkplaces/gl_rsurf.c:1407:108: style:inconclusive: Function 'R_Q1BSP_DrawLight' argument 4 names different: declaration 'trispvs' definition 'lighttrispvs'. [funcArgNamesDifferent] darkplaces/model_shared.h:1214:115: note: Function 'R_Q1BSP_DrawLight' argument 4 names different: declaration 'trispvs' definition 'lighttrispvs'. darkplaces/gl_rsurf.c:1407:108: note: Function 'R_Q1BSP_DrawLight' argument 4 names different: declaration 'trispvs' definition 'lighttrispvs'. darkplaces/gl_rsurf.c:179:24: style: Variable 'endsurface' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rsurf.c:343:111: style: Parameter 'surfacelist' can be declared as pointer to const. However it seems that 'R_DrawPortal_Callback' is a callback function, if 'surfacelist' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/gl_rsurf.c:404:67: note: You might need to cast the function pointer here darkplaces/gl_rsurf.c:343:111: note: Parameter 'surfacelist' can be declared as pointer to const darkplaces/gl_rsurf.c:386:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rsurf.c:652:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rsurf.c:660:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rsurf.c:682:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rsurf.c:725:12: style: Variable 'plane' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rsurf.c:1213:56: style: Parameter 'relativelightorigin' can be declared as const array [constParameter] darkplaces/gl_rsurf.c:1376:127: style: Parameter 'surfacelist' can be declared as pointer to const. However it seems that 'R_Q1BSP_DrawLight_TransparentCallback' is a callback function, if 'surfacelist' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/gl_rsurf.c:1476:240: note: You might need to cast the function pointer here darkplaces/gl_rsurf.c:1376:127: note: Parameter 'surfacelist' can be declared as pointer to const darkplaces/gl_rsurf.c:1409:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rsurf.c:699:17: style: struct member 'r_q1bsp_getlightinfo_s::tempsurfacepvs' is never used. [unusedStructMember] darkplaces/hmac.c:42:5: style: Variable 'k' is assigned a value that is never used. [unreadVariable] darkplaces/host.c:499:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/host.c:603:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host.c:914:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host.c:752:4: warning: Return value of function rand() is not used. [ignoredReturnValue] darkplaces/host.c:201:11: style: Condition 'cl_available' is always true [knownConditionTrueFalse] darkplaces/host.c:636:8: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] darkplaces/host_cmd.c:162:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:220:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:236:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:254:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:284:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:587:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:720:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:1226:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:1290:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:1350:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:1428:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:1617:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:1750:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:1840:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:1912:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:2176:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:2274:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:2301:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:2327:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:2363:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:2390:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/host_cmd.c:2117:20: style: Redundant condition: The condition '*message' is redundant since '*message == ' '' is sufficient. [redundantCondition] darkplaces/host_cmd.c:155:65: style: Pointer expression 'address' converted to bool is always true. [knownPointerToBool] darkplaces/host_cmd.c:161:18: style: Variable 'ed' can be declared as pointer to const [constVariablePointer] darkplaces/host_cmd.c:1370:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/image.c:1825:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/image.c:1106:60: style: Condition 'image_width==image_width_save' is always true [knownConditionTrueFalse] darkplaces/image.c:1103:28: note: image_width_save is assigned 'image_width' here. darkplaces/image.c:1106:60: note: Condition 'image_width==image_width_save' is always true darkplaces/image.c:1106:96: style: Condition 'image_height==image_height_save' is always true [knownConditionTrueFalse] darkplaces/image.c:1104:29: note: image_height_save is assigned 'image_height' here. darkplaces/image.c:1106:96: note: Condition 'image_height==image_height_save' is always true darkplaces/image.c:1899:51: style: Clarify calculation precedence for '^' and '?'. [clarifyCalculation] darkplaces/image.c:24:234: style: Parameter 'outputinputcomponentindices' can be declared as pointer to const [constParameterPointer] darkplaces/image.c:198:21: style: Variable 'b' can be declared as pointer to const [constVariablePointer] darkplaces/image.c:1149:18: style: Variable 'lmpdata' can be declared as pointer to const [constVariablePointer] darkplaces/image.c:1635:7: style: Variable 'inrow' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rmain.c:4807:24: style: Condition 'qualityreduction>=1' is always true [knownConditionTrueFalse] darkplaces/gl_rmain.c:4805:23: note: Assuming that condition 'qualityreduction>0' is not redundant darkplaces/gl_rmain.c:4807:24: note: Condition 'qualityreduction>=1' is always true darkplaces/gl_rmain.c:5044:24: style: Condition 'qualityreduction>=1' is always true [knownConditionTrueFalse] darkplaces/gl_rmain.c:5042:23: note: Assuming that condition 'qualityreduction>0' is not redundant darkplaces/gl_rmain.c:5044:24: note: Condition 'qualityreduction>=1' is always true darkplaces/gl_rmain.c:9889:8: style: Condition 'cullbox' is always false [knownConditionTrueFalse] darkplaces/gl_rmain.c:9881:22: note: Assignment 'cullbox=false', assigned value is 0 darkplaces/gl_rmain.c:9889:8: note: Condition 'cullbox' is always false darkplaces/image.c:182:19: style: struct member 'pcx_s::palette' is never used. [unusedStructMember] darkplaces/image.c:183:10: style: struct member 'pcx_s::reserved' is never used. [unusedStructMember] darkplaces/image.c:184:10: style: struct member 'pcx_s::color_planes' is never used. [unusedStructMember] darkplaces/image.c:187:10: style: struct member 'pcx_s::filler' is never used. [unusedStructMember] darkplaces/gl_rmain.c:9204:28: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/gl_rmain.c:991:9: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] darkplaces/gl_rmain.c:988:17: note: p is initialized darkplaces/gl_rmain.c:991:9: note: p is overwritten darkplaces/image.c:1661:36: style: Variable 'frac' is assigned a value that is never used. [unreadVariable] darkplaces/gl_rmain.c:1576:40: style:inconclusive: Function 'R_SetupShader_Surface' argument 1 names different: declaration 'ambientcolor' definition 'rtlightambient'. [funcArgNamesDifferent] darkplaces/render.h:568:40: note: Function 'R_SetupShader_Surface' argument 1 names different: declaration 'ambientcolor' definition 'rtlightambient'. darkplaces/gl_rmain.c:1576:40: note: Function 'R_SetupShader_Surface' argument 1 names different: declaration 'ambientcolor' definition 'rtlightambient'. darkplaces/gl_rmain.c:1576:71: style:inconclusive: Function 'R_SetupShader_Surface' argument 2 names different: declaration 'diffusecolor' definition 'rtlightdiffuse'. [funcArgNamesDifferent] darkplaces/render.h:568:69: note: Function 'R_SetupShader_Surface' argument 2 names different: declaration 'diffusecolor' definition 'rtlightdiffuse'. darkplaces/gl_rmain.c:1576:71: note: Function 'R_SetupShader_Surface' argument 2 names different: declaration 'diffusecolor' definition 'rtlightdiffuse'. darkplaces/gl_rmain.c:1576:102: style:inconclusive: Function 'R_SetupShader_Surface' argument 3 names different: declaration 'specularcolor' definition 'rtlightspecular'. [funcArgNamesDifferent] darkplaces/render.h:568:98: note: Function 'R_SetupShader_Surface' argument 3 names different: declaration 'specularcolor' definition 'rtlightspecular'. darkplaces/gl_rmain.c:1576:102: note: Function 'R_SetupShader_Surface' argument 3 names different: declaration 'specularcolor' definition 'rtlightspecular'. darkplaces/gl_rmain.c:1576:220: style:inconclusive: Function 'R_SetupShader_Surface' argument 7 names different: declaration 'waterplane' definition 'surfacewaterplane'. [funcArgNamesDifferent] darkplaces/render.h:568:214: note: Function 'R_SetupShader_Surface' argument 7 names different: declaration 'waterplane' definition 'surfacewaterplane'. darkplaces/gl_rmain.c:1576:220: note: Function 'R_SetupShader_Surface' argument 7 names different: declaration 'waterplane' definition 'surfacewaterplane'. darkplaces/gl_rmain.c:2123:46: style:inconclusive: Function 'R_SkinFrame_PurgeSkinFrame' argument 1 names different: declaration 'skinframe' definition 's'. [funcArgNamesDifferent] darkplaces/render.h:226:46: note: Function 'R_SkinFrame_PurgeSkinFrame' argument 1 names different: declaration 'skinframe' definition 's'. darkplaces/gl_rmain.c:2123:46: note: Function 'R_SkinFrame_PurgeSkinFrame' argument 1 names different: declaration 'skinframe' definition 's'. darkplaces/gl_rmain.c:3735:43: style:inconclusive: Function 'R_BufferData_Store' argument 1 names different: declaration 'size' definition 'datasize'. [funcArgNamesDifferent] darkplaces/render.h:288:43: note: Function 'R_BufferData_Store' argument 1 names different: declaration 'size' definition 'datasize'. darkplaces/gl_rmain.c:3735:43: note: Function 'R_BufferData_Store' argument 1 names different: declaration 'size' definition 'datasize'. darkplaces/gl_rmain.c:7387:35: style:inconclusive: Function 'RSurf_FogPoint' argument 1 names different: declaration 'p' definition 'v'. [funcArgNamesDifferent] darkplaces/client.h:1748:35: note: Function 'RSurf_FogPoint' argument 1 names different: declaration 'p' definition 'v'. darkplaces/gl_rmain.c:7387:35: note: Function 'RSurf_FogPoint' argument 1 names different: declaration 'p' definition 'v'. darkplaces/gl_rmain.c:7403:36: style:inconclusive: Function 'RSurf_FogVertex' argument 1 names different: declaration 'p' definition 'v'. [funcArgNamesDifferent] darkplaces/client.h:1747:36: note: Function 'RSurf_FogVertex' argument 1 names different: declaration 'p' definition 'v'. darkplaces/gl_rmain.c:7403:36: note: Function 'RSurf_FogVertex' argument 1 names different: declaration 'p' definition 'v'. darkplaces/gl_rmain.c:9564:47: style:inconclusive: Function 'R_DecalSystem_SplatEntities' argument 1 names different: declaration 'org' definition 'worldorigin'. [funcArgNamesDifferent] darkplaces/render.h:554:47: note: Function 'R_DecalSystem_SplatEntities' argument 1 names different: declaration 'org' definition 'worldorigin'. darkplaces/gl_rmain.c:9564:47: note: Function 'R_DecalSystem_SplatEntities' argument 1 names different: declaration 'org' definition 'worldorigin'. darkplaces/gl_rmain.c:9564:73: style:inconclusive: Function 'R_DecalSystem_SplatEntities' argument 2 names different: declaration 'normal' definition 'worldnormal'. [funcArgNamesDifferent] darkplaces/render.h:554:65: note: Function 'R_DecalSystem_SplatEntities' argument 2 names different: declaration 'normal' definition 'worldnormal'. darkplaces/gl_rmain.c:9564:73: note: Function 'R_DecalSystem_SplatEntities' argument 2 names different: declaration 'normal' definition 'worldnormal'. darkplaces/gl_rmain.c:9564:168: style:inconclusive: Function 'R_DecalSystem_SplatEntities' argument 11 names different: declaration 'size' definition 'worldsize'. [funcArgNamesDifferent] darkplaces/render.h:554:155: note: Function 'R_DecalSystem_SplatEntities' argument 11 names different: declaration 'size' definition 'worldsize'. darkplaces/gl_rmain.c:9564:168: note: Function 'R_DecalSystem_SplatEntities' argument 11 names different: declaration 'size' definition 'worldsize'. darkplaces/gl_rmain.c:1436:8: style: Variable 'text' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rmain.c:2618:17: style: Variable 'skindata' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rmain.c:3409:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rmain.c:3601:44: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] darkplaces/gl_rmain.c:3916:114: style: Parameter 'eye' can be declared as const array [constParameter] darkplaces/gl_rmain.c:3916:126: style: Parameter 'entboxmins' can be declared as const array [constParameter] darkplaces/gl_rmain.c:3916:145: style: Parameter 'entboxmaxs' can be declared as const array [constParameter] darkplaces/gl_rmain.c:6066:35: style: Parameter 'mins' can be declared as const array [constParameter] darkplaces/gl_rmain.c:6066:48: style: Parameter 'maxs' can be declared as const array [constParameter] darkplaces/gl_rmain.c:6118:117: style: Parameter 'surfacelist' can be declared as pointer to const. However it seems that 'R_DrawEntityBBoxes_Callback' is a callback function, if 'surfacelist' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/gl_rmain.c:6172:64: note: You might need to cast the function pointer here darkplaces/gl_rmain.c:6118:117: note: Parameter 'surfacelist' can be declared as pointer to const darkplaces/gl_rmain.c:8881:123: style: Parameter 'surfacelist' can be declared as pointer to const. However it seems that 'R_DrawSurface_TransparentCallback' is a callback function, if 'surfacelist' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/gl_rmain.c:9007:235: note: You might need to cast the function pointer here darkplaces/gl_rmain.c:8881:123: note: Parameter 'surfacelist' can be declared as pointer to const darkplaces/gl_rmain.c:9124:108: style: Parameter 'surfacelist' can be declared as pointer to const. However it seems that 'R_DrawLoc_Callback' is a callback function, if 'surfacelist' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/gl_rmain.c:9176:64: note: You might need to cast the function pointer here darkplaces/gl_rmain.c:9124:108: note: Parameter 'surfacelist' can be declared as pointer to const darkplaces/gl_rmain.c:9190:14: style: Variable 'decals' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rmain.c:9267:224: style: Parameter 'projection' can be declared as pointer to const [constParameterPointer] darkplaces/gl_rmain.c:9383:9: style: Variable 'bih' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rmain.c:10085:10: style: Variable 'list' can be declared as pointer to const [constVariablePointer] darkplaces/gl_rmain.c:10164:25: style: Parameter 'start' can be declared as const array [constParameter] darkplaces/gl_rmain.c:10164:39: style: Parameter 'end' can be declared as const array [constParameter] darkplaces/gl_rmain.c:5091:11: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] darkplaces/gl_rmain.c:8706:26: warning: Uninitialized variable: mins [uninitvar] darkplaces/gl_rmain.c:8688:74: note: Assuming condition is false darkplaces/gl_rmain.c:8706:26: note: Uninitialized variable: mins darkplaces/gl_rmain.c:8706:32: warning: Uninitialized variable: maxs [uninitvar] darkplaces/gl_rmain.c:8688:74: note: Assuming condition is false darkplaces/gl_rmain.c:8706:32: note: Uninitialized variable: maxs darkplaces/gl_rmain.c:995:6: style: Variable 'len' is assigned a value that is never used. [unreadVariable] darkplaces/gl_rmain.c:1346:209: style: Variable 'ubibind' is assigned a value that is never used. [unreadVariable] darkplaces/gl_rmain.c:5111:20: style: Variable 'bloomtexturewidth' is assigned a value that is never used. [unreadVariable] darkplaces/gl_rmain.c:5112:21: style: Variable 'bloomtextureheight' is assigned a value that is never used. [unreadVariable] darkplaces/gl_rmain.c:5193:5: style: Variable 'r' is assigned a value that is never used. [unreadVariable] darkplaces/image_png.c:294:57: style:inconclusive: Function 'PNG_LoadImage_BGRA' argument 1 names different: declaration 'f' definition 'raw'. [funcArgNamesDifferent] darkplaces/image_png.h:29:57: note: Function 'PNG_LoadImage_BGRA' argument 1 names different: declaration 'f' definition 'raw'. darkplaces/image_png.c:294:57: note: Function 'PNG_LoadImage_BGRA' argument 1 names different: declaration 'f' definition 'raw'. darkplaces/image_png.c:275:54: style: Parameter 'data' can be declared as pointer to const. However it seems that 'PNG_fWriteData' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/image_png.c:537:35: note: You might need to cast the function pointer here darkplaces/image_png.c:275:54: note: Parameter 'data' can be declared as pointer to const darkplaces/image_png.c:280:34: style: Parameter 'png' can be declared as pointer to const. However it seems that 'PNG_fFlushData' is a callback function, if 'png' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/image_png.c:537:51: note: You might need to cast the function pointer here darkplaces/image_png.c:280:34: note: Parameter 'png' can be declared as pointer to const darkplaces/jpeg.c:108:10: style: struct member 'jpeg_memory_mgr::_reserve_space_for_alloc_large' is never used. [unusedStructMember] darkplaces/jpeg.c:109:10: style: struct member 'jpeg_memory_mgr::_reserve_space_for_alloc_sarray' is never used. [unusedStructMember] darkplaces/jpeg.c:110:10: style: struct member 'jpeg_memory_mgr::_reserve_space_for_alloc_barray' is never used. [unusedStructMember] darkplaces/jpeg.c:111:10: style: struct member 'jpeg_memory_mgr::_reserve_space_for_request_virt_sarray' is never used. [unusedStructMember] darkplaces/jpeg.c:112:10: style: struct member 'jpeg_memory_mgr::_reserve_space_for_request_virt_barray' is never used. [unusedStructMember] darkplaces/jpeg.c:113:10: style: struct member 'jpeg_memory_mgr::_reserve_space_for_realize_virt_arrays' is never used. [unusedStructMember] darkplaces/jpeg.c:114:10: style: struct member 'jpeg_memory_mgr::_reserve_space_for_access_virt_sarray' is never used. [unusedStructMember] darkplaces/jpeg.c:115:10: style: struct member 'jpeg_memory_mgr::_reserve_space_for_access_virt_barray' is never used. [unusedStructMember] darkplaces/jpeg.c:116:10: style: struct member 'jpeg_memory_mgr::_reserve_space_for_free_pool' is never used. [unusedStructMember] darkplaces/jpeg.c:117:10: style: struct member 'jpeg_memory_mgr::_reserve_space_for_self_destruct' is never used. [unusedStructMember] darkplaces/jpeg.c:119:8: style: struct member 'jpeg_memory_mgr::max_memory_to_use' is never used. [unusedStructMember] darkplaces/jpeg.c:120:8: style: struct member 'jpeg_memory_mgr::max_alloc_chunk' is never used. [unusedStructMember] darkplaces/jpeg.c:126:9: style: struct member 'jpeg_error_mgr::emit_message' is never used. [unusedStructMember] darkplaces/jpeg.c:128:9: style: struct member 'jpeg_error_mgr::format_message' is never used. [unusedStructMember] darkplaces/jpeg.c:129:9: style: struct member 'jpeg_error_mgr::reset_error_mgr' is never used. [unusedStructMember] darkplaces/jpeg.c:130:6: style: struct member 'jpeg_error_mgr::msg_code' is never used. [unusedStructMember] darkplaces/jpeg.c:134:4: style: struct member 'jpeg_error_mgr::msg_parm' is never used. [unusedStructMember] darkplaces/jpeg.c:135:6: style: struct member 'jpeg_error_mgr::trace_level' is never used. [unusedStructMember] darkplaces/jpeg.c:136:7: style: struct member 'jpeg_error_mgr::num_warnings' is never used. [unusedStructMember] darkplaces/jpeg.c:137:23: style: struct member 'jpeg_error_mgr::jpeg_message_table' is never used. [unusedStructMember] darkplaces/jpeg.c:138:6: style: struct member 'jpeg_error_mgr::last_jpeg_message' is never used. [unusedStructMember] darkplaces/jpeg.c:139:23: style: struct member 'jpeg_error_mgr::addon_message_table' is never used. [unusedStructMember] darkplaces/jpeg.c:140:6: style: struct member 'jpeg_error_mgr::first_addon_message' is never used. [unusedStructMember] darkplaces/jpeg.c:141:6: style: struct member 'jpeg_error_mgr::last_addon_message' is never used. [unusedStructMember] darkplaces/jpeg.c:132:7: style: union member 'Anonymous9::i' is never used. [unusedStructMember] darkplaces/jpeg.c:133:8: style: union member 'Anonymous9::s' is never used. [unusedStructMember] darkplaces/jpeg.c:160:7: style: struct member 'jpeg_component_info::component_id' is never used. [unusedStructMember] darkplaces/jpeg.c:161:7: style: struct member 'jpeg_component_info::component_index' is never used. [unusedStructMember] darkplaces/jpeg.c:164:7: style: struct member 'jpeg_component_info::quant_tbl_no' is never used. [unusedStructMember] darkplaces/jpeg.c:169:7: style: struct member 'jpeg_component_info::dc_tbl_no' is never used. [unusedStructMember] darkplaces/jpeg.c:170:7: style: struct member 'jpeg_component_info::ac_tbl_no' is never used. [unusedStructMember] darkplaces/jpeg.c:179:14: style: struct member 'jpeg_component_info::width_in_blocks' is never used. [unusedStructMember] darkplaces/jpeg.c:180:14: style: struct member 'jpeg_component_info::height_in_blocks' is never used. [unusedStructMember] darkplaces/jpeg.c:187:7: style: struct member 'jpeg_component_info::DCT_scaled_size' is never used. [unusedStructMember] darkplaces/jpeg.c:194:14: style: struct member 'jpeg_component_info::downsampled_width' is never used. [unusedStructMember] darkplaces/jpeg.c:195:14: style: struct member 'jpeg_component_info::downsampled_height' is never used. [unusedStructMember] darkplaces/jpeg.c:200:12: style: struct member 'jpeg_component_info::component_needed' is never used. [unusedStructMember] darkplaces/jpeg.c:204:7: style: struct member 'jpeg_component_info::MCU_width' is never used. [unusedStructMember] darkplaces/jpeg.c:205:7: style: struct member 'jpeg_component_info::MCU_height' is never used. [unusedStructMember] darkplaces/jpeg.c:206:7: style: struct member 'jpeg_component_info::MCU_blocks' is never used. [unusedStructMember] darkplaces/jpeg.c:207:7: style: struct member 'jpeg_component_info::MCU_sample_width' is never used. [unusedStructMember] darkplaces/jpeg.c:208:7: style: struct member 'jpeg_component_info::last_col_width' is never used. [unusedStructMember] darkplaces/jpeg.c:209:7: style: struct member 'jpeg_component_info::last_row_height' is never used. [unusedStructMember] darkplaces/jpeg.c:215:9: style: struct member 'jpeg_component_info::quant_table' is never used. [unusedStructMember] darkplaces/jpeg.c:218:10: style: struct member 'jpeg_component_info::dct_table' is never used. [unusedStructMember] darkplaces/keys.c:881:7: style: Condition 'pos' is always true [knownConditionTrueFalse] darkplaces/keys.c:873:19: note: Assuming that condition 'key_linepos<2' is not redundant darkplaces/keys.c:879:21: note: Assignment 'pos=key_linepos-1', assigned value is greater than 0 darkplaces/keys.c:881:7: note: Condition 'pos' is always true darkplaces/keys.c:906:19: style: Condition 'pos-4>0' is always false [knownConditionTrueFalse] darkplaces/keys.c:904:14: note: Assuming that condition 'pos-1>0' is not redundant darkplaces/keys.c:906:19: note: Condition 'pos-4>0' is always false darkplaces/keys.c:985:11: style: Condition 'pos=(int)strlen(key_line)' is not redundant darkplaces/keys.c:982:8: note: pos is assigned 'key_linepos' here. darkplaces/keys.c:981:8: note: len is assigned '(int)strlen(key_line)' here. darkplaces/keys.c:985:11: note: Condition 'posloaded', second condition is always false [identicalConditionAfterEarlyExit] darkplaces/model_shared.c:398:9: note: If condition 'mod->loaded' is true, the function will return/exit darkplaces/model_shared.c:401:10: note: Testing identical condition 'mod->loaded' darkplaces/model_shared.c:771:22: style: The statement 'if (element3s[i]!=element3i[i]) element3s[i]=element3i[i]' is logically equivalent to 'element3s[i]=element3i[i]'. [duplicateConditionalAssign] darkplaces/model_shared.c:772:19: note: Assignment 'element3s[i]=element3i[i]' darkplaces/model_shared.c:771:22: note: Condition 'element3s[i]!=element3i[i]' is redundant darkplaces/model_shared.c:752:25: style: Condition 'invalidshortcount' is always false [knownConditionTrueFalse] darkplaces/model_shared.c:717:26: note: Assignment 'invalidshortcount=0', assigned value is 0 darkplaces/model_shared.c:752:25: note: Condition 'invalidshortcount' is always false darkplaces/model_shared.c:3292:19: style: Condition 'mod->surfmesh.num_triangles' is always true [knownConditionTrueFalse] darkplaces/model_shared.c:955:39: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:956:40: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:957:40: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:958:39: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:959:48: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:960:49: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:962:47: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:1402:12: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_shared.c:3918:34: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:3919:34: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:3920:35: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:3921:35: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:3922:43: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:3923:44: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:3924:41: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_shared.c:425:15: style: Variable 'mod->loaded' is reassigned a value before the old one has been used. [redundantAssignment] darkplaces/model_shared.c:409:15: note: mod->loaded is assigned darkplaces/model_shared.c:425:15: note: mod->loaded is overwritten darkplaces/model_shared.c:1067:51: style:inconclusive: Function 'Mod_ShadowMesh_Finish' argument 1 names different: declaration 'firstmesh' definition 'mesh'. [funcArgNamesDifferent] darkplaces/model_shared.h:1129:51: note: Function 'Mod_ShadowMesh_Finish' argument 1 names different: declaration 'firstmesh' definition 'mesh'. darkplaces/model_shared.c:1067:51: note: Function 'Mod_ShadowMesh_Finish' argument 1 names different: declaration 'firstmesh' definition 'mesh'. darkplaces/model_shared.c:1104:44: style:inconclusive: Function 'Mod_ShadowMesh_CalcBBox' argument 1 names different: declaration 'firstmesh' definition 'mesh'. [funcArgNamesDifferent] darkplaces/model_shared.h:1130:44: note: Function 'Mod_ShadowMesh_CalcBBox' argument 1 names different: declaration 'firstmesh' definition 'mesh'. darkplaces/model_shared.c:1104:44: note: Function 'Mod_ShadowMesh_CalcBBox' argument 1 names different: declaration 'firstmesh' definition 'mesh'. darkplaces/model_shared.c:4401:114: style:inconclusive: Function 'Mod_Mesh_GetTexture' argument 5 names different: declaration 'addmaterialflags' definition 'defaultmaterialflags'. [funcArgNamesDifferent] darkplaces/model_shared.h:1220:114: note: Function 'Mod_Mesh_GetTexture' argument 5 names different: declaration 'addmaterialflags' definition 'defaultmaterialflags'. darkplaces/model_shared.c:4401:114: note: Function 'Mod_Mesh_GetTexture' argument 5 names different: declaration 'addmaterialflags' definition 'defaultmaterialflags'. darkplaces/model_shared.c:232:48: style: Parameter 'ent' can be declared as pointer to const. However it seems that 'R_Model_Null_Draw' is a callback function, if 'ent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/model_shared.c:420:15: note: You might need to cast the function pointer here darkplaces/model_shared.c:232:48: note: Parameter 'ent' can be declared as pointer to const darkplaces/model_shared.c:352:13: style: Variable 'texture' can be declared as pointer to const [constVariablePointer] darkplaces/model_shared.c:1400:20: style: Variable 'start' can be declared as pointer to const [constVariablePointer] darkplaces/model_shared.c:1400:28: style: Variable 'end' can be declared as pointer to const [constVariablePointer] darkplaces/model_shared.c:1400:34: style: Variable 'start2' can be declared as pointer to const [constVariablePointer] darkplaces/model_shared.c:3603:73: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] darkplaces/model_shared.c:4410:14: style: Variable 'oldtextures' can be declared as pointer to const [constVariablePointer] darkplaces/model_shared.c:4576:13: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] darkplaces/model_shared.c:3448:8: style: struct member 'lightmapsample_s::pos' is never used. [unusedStructMember] darkplaces/model_shared.c:3449:8: style: struct member 'lightmapsample_s::sh1' is never used. [unusedStructMember] darkplaces/model_shared.c:3450:9: style: struct member 'lightmapsample_s::vertex_color' is never used. [unusedStructMember] darkplaces/model_shared.c:3451:17: style: struct member 'lightmapsample_s::lm_bgr' is never used. [unusedStructMember] darkplaces/model_shared.c:3452:17: style: struct member 'lightmapsample_s::lm_dir' is never used. [unusedStructMember] darkplaces/model_shared.c:3458:6: style: struct member 'lightmapvertex_s::index' is never used. [unusedStructMember] darkplaces/model_shared.c:3459:8: style: struct member 'lightmapvertex_s::pos' is never used. [unusedStructMember] darkplaces/model_shared.c:3460:8: style: struct member 'lightmapvertex_s::normal' is never used. [unusedStructMember] darkplaces/model_shared.c:3461:8: style: struct member 'lightmapvertex_s::texcoordbase' is never used. [unusedStructMember] darkplaces/model_shared.c:3462:8: style: struct member 'lightmapvertex_s::texcoordlightmap' is never used. [unusedStructMember] darkplaces/model_shared.c:3463:8: style: struct member 'lightmapvertex_s::lightcolor' is never used. [unusedStructMember] darkplaces/model_shared.c:3924:60: style: Variable 'data' is assigned a value that is never used. [unreadVariable] darkplaces/model_sprite.c:176:15: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/mvm_cmds.c:259:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_viewcount [valueFlowBailoutIncompleteVar] darkplaces/mvm_cmds.c:322:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_andmasks [valueFlowBailoutIncompleteVar] darkplaces/mvm_cmds.c:384:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_andmasks [valueFlowBailoutIncompleteVar] darkplaces/mvm_cmds.c:465:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_callbackentry [valueFlowBailoutIncompleteVar] darkplaces/mvm_cmds.c:530:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_callbackentry [valueFlowBailoutIncompleteVar] darkplaces/mvm_cmds.c:587:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_sortbyfield [valueFlowBailoutIncompleteVar] darkplaces/mvm_cmds.c:623:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLIF_CNAME [valueFlowBailoutIncompleteVar] darkplaces/mvm_cmds.c:188:15: style: Variable 'm' can be declared as pointer to const [constVariablePointer] darkplaces/mvm_cmds.c:204:23: style: Variable 'r' can be declared as pointer to const [constVariablePointer] darkplaces/mvm_cmds.c:781:16: style: Variable 'in' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:2528:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/netconn.c:1317:3: style: Variable 'originallength' is assigned an expression that holds the same value. [redundantAssignment] darkplaces/netconn.c:1202:21: note: originallength is assigned '(int)length' here. darkplaces/netconn.c:1206:13: note: Assuming condition is false darkplaces/netconn.c:1317:3: note: Variable 'originallength' is assigned an expression that holds the same value. darkplaces/netconn.c:706:44: style: Parameter 'crypto' can be declared as pointer to const [constParameterPointer] darkplaces/netconn.c:1082:69: style: Parameter 'address' can be declared as pointer to const [constParameterPointer] darkplaces/netconn.c:1091:69: style: Parameter 'address' can be declared as pointer to const [constParameterPointer] darkplaces/netconn.c:1100:66: style: Parameter 'peeraddress' can be declared as pointer to const [constParameterPointer] darkplaces/netconn.c:2582:19: style: Variable 'ed' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:2672:54: style: Parameter 'peeraddress' can be declared as pointer to const [constParameterPointer] darkplaces/netconn.c:2715:41: style: Parameter 'peeraddress' can be declared as pointer to const [constParameterPointer] darkplaces/netconn.c:2758:64: style: Parameter 'peeraddress' can be declared as pointer to const. However it seems that 'hmac_mdfour_challenge_matching' is a callback function, if 'peeraddress' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/netconn.c:3266:68: note: You might need to cast the function pointer here darkplaces/netconn.c:2758:64: note: Parameter 'peeraddress' can be declared as pointer to const darkplaces/netconn.c:2792:52: style: Parameter 'peeraddress' can be declared as pointer to const. However it seems that 'plaintext_matching' is a callback function, if 'peeraddress' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/netconn.c:3580:69: note: You might need to cast the function pointer here darkplaces/netconn.c:2792:52: note: Parameter 'peeraddress' can be declared as pointer to const darkplaces/netconn.c:3238:10: style: Variable 'password' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3239:10: style: Variable 'timeval' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3240:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3241:10: style: Variable 'endpos' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3257:10: style: Variable 'password' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3258:10: style: Variable 'challenge' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3259:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3260:10: style: Variable 'endpos' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3274:10: style: Variable 'endpos' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3380:16: style: Variable 'crypto' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3544:11: style: Variable 'prevCvarName' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3545:13: style: Variable 'var' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3573:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:3574:11: style: Variable 'endpos' can be declared as pointer to const [constVariablePointer] darkplaces/netconn.c:1235:18: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/netconn.c:1236:22: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/netconn.c:1948:25: style: Variable 'rejectreason[length]' is assigned a value that is never used. [unreadVariable] darkplaces/palette.c:229:5: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] darkplaces/palette.c:250:5: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] darkplaces/polygon.c:247:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] darkplaces/model_brush.c:3172:125: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable contents [valueFlowBailoutIncompleteVar] darkplaces/model_brush.c:3425:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clusterindex [valueFlowBailoutIncompleteVar] darkplaces/model_brush.c:8384:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objvertex_t [valueFlowBailoutIncompleteVar] darkplaces/gl_textures.c:2268:7: warning: Either the condition 'glt==((void*)0)' is redundant or there is possible null pointer dereference: glt. [nullPointerRedundantCheck] darkplaces/gl_textures.c:2266:10: note: Assuming that condition 'glt==((void*)0)' is not redundant darkplaces/gl_textures.c:2268:7: note: Null pointer dereference darkplaces/gl_textures.c:325:33: style:inconclusive: Function 'R_PurgeTexture' argument 1 names different: declaration 'prt' definition 'rt'. [funcArgNamesDifferent] darkplaces/r_textures.h:181:33: note: Function 'R_PurgeTexture' argument 1 names different: declaration 'prt' definition 'rt'. darkplaces/gl_textures.c:325:33: note: Function 'R_PurgeTexture' argument 1 names different: declaration 'prt' definition 'rt'. darkplaces/gl_textures.c:665:15: style: Variable 'glt' can be declared as pointer to const [constVariablePointer] darkplaces/gl_textures.c:684:15: style: Variable 'glt' can be declared as pointer to const [constVariablePointer] darkplaces/gl_textures.c:1752:6: warning: Either the condition '(size)<2147483647' is redundant or there is signed integer overflow for expression '128+(size)'. [integerOverflowCond] darkplaces/gl_textures.c:1752:6: note: Assuming that condition '(size)<2147483647' is not redundant darkplaces/gl_textures.c:1752:6: note: Integer overflow darkplaces/gl_textures.c:1778:6: warning: Either the condition '(size)<2147483647' is redundant or there is signed integer overflow for expression '128+(size)'. [integerOverflowCond] darkplaces/gl_textures.c:1778:6: note: Assuming that condition '(size)<2147483647' is not redundant darkplaces/gl_textures.c:1778:6: note: Integer overflow darkplaces/gl_textures.c:1831:6: warning: Either the condition '(size)<2147483647' is redundant or there is signed integer overflow for expression '128+(size)'. [integerOverflowCond] darkplaces/gl_textures.c:1831:6: note: Assuming that condition '(size)<2147483647' is not redundant darkplaces/gl_textures.c:1831:6: note: Integer overflow darkplaces/gl_textures.c:1859:6: warning: Either the condition '(size)<2147483647' is redundant or there is signed integer overflow for expression '128+(size)'. [integerOverflowCond] darkplaces/gl_textures.c:1859:6: note: Assuming that condition '(size)<2147483647' is not redundant darkplaces/gl_textures.c:1859:6: note: Integer overflow darkplaces/gl_textures.c:567:16: style: Variable 'pooltotal' is assigned a value that is never used. [unreadVariable] darkplaces/gl_textures.c:567:32: style: Variable 'pooltotalt' is assigned a value that is never used. [unreadVariable] darkplaces/gl_textures.c:567:48: style: Variable 'pooltotalp' is assigned a value that is never used. [unreadVariable] darkplaces/gl_textures.c:567:64: style: Variable 'poolloaded' is assigned a value that is never used. [unreadVariable] darkplaces/gl_textures.c:567:81: style: Variable 'poolloadedt' is assigned a value that is never used. [unreadVariable] darkplaces/gl_textures.c:567:98: style: Variable 'poolloadedp' is assigned a value that is never used. [unreadVariable] darkplaces/protocol.c:293:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] darkplaces/protocol.c:469:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] darkplaces/protocol.c:719:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] darkplaces/protocol.c:1064:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/protocol.c:1451:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] darkplaces/protocol.c:1941:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] darkplaces/protocol.c:2126:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/protocol.c:1513:17: style: Condition 'cl_message.badread' is always false [knownConditionTrueFalse] darkplaces/protocol.c:1511:77: note: Assuming that condition '!cl_message.badread' is not redundant darkplaces/protocol.c:1513:17: note: Condition 'cl_message.badread' is always false darkplaces/protocol.c:846:36: style: Checking if unsigned expression 's->alpha' is less than zero. [unsignedLessThanZero] darkplaces/protocol.c:852:36: style: Checking if unsigned expression 's->alpha' is less than zero. [unsignedLessThanZero] darkplaces/protocol.c:280:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/protocol.c:284:16: style: Variable 'ed' can be declared as pointer to const [constVariablePointer] darkplaces/protocol.c:1277:50: style: Parameter 'eye' can be declared as const array [constParameter] darkplaces/protocol.c:1309:68: style: Parameter 'eye' can be declared as const array [constParameter] darkplaces/protocol.c:1361:68: style: Parameter 'eye' can be declared as const array [constParameter] darkplaces/protocol.c:1415:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/protocol.c:1487:28: style: Variable 'oldend' can be declared as pointer to const [constVariablePointer] darkplaces/protocol.c:1891:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/protocol.c:2024:18: style: Variable 'oldpriorities' can be declared as pointer to const [constVariablePointer] darkplaces/protocol.c:2025:8: style: Variable 'oldupdateframenum' can be declared as pointer to const [constVariablePointer] darkplaces/protocol.c:2026:19: style: Variable 'oldstates' can be declared as pointer to const [constVariablePointer] darkplaces/protocol.c:2027:18: style: Variable 'oldvisiblebits' can be declared as pointer to const [constVariablePointer] darkplaces/protocol.c:2051:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/protocol.c:2837:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/protocol.c:2034:47: style: Variable 'data' is assigned a value that is never used. [unreadVariable] darkplaces/protocol.c:2119:20: style: Variable 'bits' is assigned a value that is never used. [unreadVariable] darkplaces/prvm_cmds.c:72:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:209:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:335:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:358:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:563:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:1137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:1185:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:1273:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:1629:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:3322:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:3332:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:4349:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:4368:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:5560:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:5627:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:6029:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:6047:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:6921:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:7253:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:7329:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:7353:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:7379:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/prvm_cmds.c:3656:11: warning: Either the condition '(c-filelist)>128' is redundant or the array 'mainfont[128]' is accessed at index 128, which is out of bounds. [arrayIndexOutOfBoundsCond] darkplaces/prvm_cmds.c:3651:26: note: Assuming that condition '(c-filelist)>128' is not redundant darkplaces/prvm_cmds.c:3656:11: note: Array index out of bounds darkplaces/prvm_cmds.c:3684:16: warning: Either the condition '(c-filelist)>128' is redundant or the array 'f->fallbacks[3][128]' is accessed at index f->fallbacks[*][128], which is out of bounds. [arrayIndexOutOfBoundsCond] darkplaces/prvm_cmds.c:3677:25: note: Assuming that condition '(c-filelist)>128' is not redundant darkplaces/prvm_cmds.c:3684:16: note: Array index out of bounds darkplaces/prvm_cmds.c:944:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] darkplaces/prvm_cmds.c:946:8: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] darkplaces/prvm_cmds.c:5389:20: warning: Logical conjunction always evaluates to false: matchrule < 0 && matchrule > 5. [incorrectLogicOperator] darkplaces/prvm_cmds.c:5435:20: warning: Logical conjunction always evaluates to false: matchrule < 0 && matchrule > 5. [incorrectLogicOperator] darkplaces/prvm_cmds.c:6789:74: portability: Casting from double * to signed long long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/prvm_cmds.c:6790:74: portability: Casting from double * to signed long long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/prvm_cmds.c:6791:74: portability: Casting from double * to signed long long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/prvm_cmds.c:6795:85: portability: Casting from double * to signed long long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/prvm_cmds.c:6796:85: portability: Casting from double * to signed long long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/prvm_cmds.c:6797:85: portability: Casting from double * to signed long long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/prvm_cmds.c:2945:13: style: Redundant assignment of 'entchannel' to itself. [selfAssignment] darkplaces/prvm_cmds.c:5860:12: style: Redundant assignment of '*result' to itself. [selfAssignment] darkplaces/prvm_cmds.c:4917:30: style: Checking if unsigned expression 'stringbuffers_sortlength' is less than zero. [unsignedLessThanZero] darkplaces/prvm_cmds.c:5451:8: style: Checking if unsigned expression '((unsigned int)(prog->globals.fp[13]))<(strlen(s)-1)?((unsigned int)(prog->globals.fp[13])):(strlen(s)-1)' is less than zero. [unsignedLessThanZero] darkplaces/prvm_cmds.c:208:15: style: Variable 'skeleton' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:243:8: style: Variable 'outend' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:266:45: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] darkplaces/prvm_cmds.c:465:14: style: Variable 'value1' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:507:14: style: Variable 'value1' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:625:10: style: Variable 'cvar' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:662:10: style: Variable 'cvar' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:929:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:2037:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:2061:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:2086:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:3400:26: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:3741:27: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:3789:14: style: Variable 'size' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:3789:21: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:3789:27: style: Variable 'org' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:3789:33: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:3838:27: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:3838:33: style: Variable 'srcPos' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:3838:42: style: Variable 'srcSize' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:3894:27: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:4214:14: style: Variable 'video' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:4269:36: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] darkplaces/prvm_cmds.c:4280:37: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] darkplaces/prvm_cmds.c:4303:38: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] darkplaces/prvm_cmds.c:4315:35: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] darkplaces/prvm_cmds.c:4382:14: style: Variable 'c1' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:4382:19: style: Variable 'c2' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:4382:24: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:4825:23: style: Variable 'stringbuffer' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:4848:23: style: Variable 'srcstringbuffer' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:4937:23: style: Variable 'stringbuffer' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:4978:23: style: Variable 'stringbuffer' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:5208:23: style: Variable 'stringbuffer' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:5288:15: style: Variable 'qpos' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:5370:23: style: Variable 'stringbuffer' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:6272:25: style: Variable 'stringbuffer' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:6470:15: style: Variable 'func' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:6510:15: style: Variable 'func' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:6861:42: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] darkplaces/prvm_cmds.c:6997:100: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] darkplaces/prvm_cmds.c:6997:116: style: Parameter 'p' can be declared as const array [constParameter] darkplaces/prvm_cmds.c:7034:43: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] darkplaces/prvm_cmds.c:7131:11: style: Variable 'texcoord' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:7140:11: style: Variable 'texcoord' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:7277:20: style: Variable 'surface' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_cmds.c:7297:107: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] darkplaces/prvm_cmds.c:682:21: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/prvm_edict.c:1401:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/prvm_edict.c:2793:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] darkplaces/prvm_edict.c:3203:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/prvm_edict.c:3235:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/prvm_edict.c:3284:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/prvm_edict.c:3338:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/prvm_edict.c:2316:26: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] darkplaces/prvm_edict.c:2344:26: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] darkplaces/prvm_edict.c:2371:23: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] darkplaces/prvm_edict.c:2657:87: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] darkplaces/prvm_edict.c:3203:16: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] darkplaces/prvm_edict.c:3217:17: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] darkplaces/prvm_edict.c:3309:19: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] darkplaces/prvm_edict.c:3338:7: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] darkplaces/prvm_edict.c:1016:14: style: Variable 'val' is reassigned a value before the old one has been used. [redundantAssignment] darkplaces/prvm_edict.c:1015:8: note: val is assigned darkplaces/prvm_edict.c:1016:14: note: val is overwritten darkplaces/prvm_edict.c:2316:26: style: Checking if unsigned expression 'prog->globaldefs[i].ofs' is less than zero. [unsignedLessThanZero] darkplaces/prvm_edict.c:2344:26: style: Checking if unsigned expression 'prog->globaldefs[i].ofs' is less than zero. [unsignedLessThanZero] darkplaces/prvm_edict.c:2371:23: style: Checking if unsigned expression 'prog->globaldefs[i].ofs' is less than zero. [unsignedLessThanZero] darkplaces/prvm_edict.c:2657:87: style: Checking if unsigned expression 'global->ofs' is less than zero. [unsignedLessThanZero] darkplaces/prvm_edict.c:3203:16: style: Checking if unsigned expression 'd->ofs' is less than zero. [unsignedLessThanZero] darkplaces/prvm_edict.c:3217:17: style: Checking if unsigned expression 'd->ofs' is less than zero. [unsignedLessThanZero] darkplaces/prvm_edict.c:3309:19: style: Checking if unsigned expression 'd->ofs' is less than zero. [unsignedLessThanZero] darkplaces/prvm_edict.c:3338:7: style: Checking if unsigned expression 'd->ofs' is less than zero. [unsignedLessThanZero] darkplaces/prvm_edict.c:123:60: style:inconclusive: Function 'PRVM_ED_FindFieldOffset' argument 2 names different: declaration 'name' definition 'field'. [funcArgNamesDifferent] darkplaces/progsvm.h:774:60: note: Function 'PRVM_ED_FindFieldOffset' argument 2 names different: declaration 'name' definition 'field'. darkplaces/prvm_edict.c:123:60: note: Function 'PRVM_ED_FindFieldOffset' argument 2 names different: declaration 'name' definition 'field'. darkplaces/prvm_edict.c:132:61: style:inconclusive: Function 'PRVM_ED_FindGlobalOffset' argument 2 names different: declaration 'name' definition 'global'. [funcArgNamesDifferent] darkplaces/progsvm.h:775:61: note: Function 'PRVM_ED_FindGlobalOffset' argument 2 names different: declaration 'name' definition 'global'. darkplaces/prvm_edict.c:132:61: note: Function 'PRVM_ED_FindGlobalOffset' argument 2 names different: declaration 'name' definition 'global'. darkplaces/prvm_edict.c:141:66: style:inconclusive: Function 'PRVM_ED_FindFunctionOffset' argument 2 names different: declaration 'name' definition 'function'. [funcArgNamesDifferent] darkplaces/progsvm.h:776:66: note: Function 'PRVM_ED_FindFunctionOffset' argument 2 names different: declaration 'name' definition 'function'. darkplaces/prvm_edict.c:141:66: note: Function 'PRVM_ED_FindFunctionOffset' argument 2 names different: declaration 'name' definition 'function'. darkplaces/prvm_edict.c:125:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:134:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:143:15: style: Variable 'f' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:231:40: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] darkplaces/prvm_edict.c:231:60: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] darkplaces/prvm_edict.c:423:10: style: Variable 'def' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:424:15: style: Variable 'f' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:483:10: style: Variable 'def' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:484:15: style: Variable 'f' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:564:10: style: Variable 'def' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:589:10: style: Variable 'def' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:618:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:700:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:954:10: style: Variable 'def' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:956:15: style: Variable 'func' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:1926:8: style: Variable 'instrings' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:2316:20: style: Variable 'val' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:2480:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:2481:15: style: Variable 'val' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:2738:17: style: Variable 'func' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:2759:11: style: Variable 'global' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:2780:11: style: Variable 'field' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:3200:11: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:3209:17: style: Variable 'ed' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:3214:12: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:3292:17: style: Variable 'ed' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:3306:12: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_edict.c:3334:11: style: Variable 'd' can be declared as pointer to const [constVariablePointer] darkplaces/prvm_execprogram.h:39:18: error: syntax error [syntaxError] darkplaces/r_explosion.c:203:125: style: Parameter 'surfacelist' can be declared as pointer to const. However it seems that 'R_DrawExplosion_TransparentCallback' is a callback function, if 'surfacelist' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/r_explosion.c:278:79: note: You might need to cast the function pointer here darkplaces/r_explosion.c:203:125: note: Parameter 'surfacelist' can be declared as pointer to const darkplaces/r_lightning.c:42:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/r_lightning.c:72:15: style: Variable 'intensity' is assigned a value that is never used. [unreadVariable] darkplaces/r_modules.c:40:14: error: Array 'rendermodule[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] darkplaces/r_modules.c:28:15: note: Assuming that condition 'i<20' is not redundant darkplaces/r_modules.c:40:14: note: Array index out of bounds darkplaces/r_modules.c:41:14: error: Array 'rendermodule[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] darkplaces/r_modules.c:28:15: note: Assuming that condition 'i<20' is not redundant darkplaces/r_modules.c:41:14: note: Array index out of bounds darkplaces/r_modules.c:42:14: error: Array 'rendermodule[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] darkplaces/r_modules.c:28:15: note: Assuming that condition 'i<20' is not redundant darkplaces/r_modules.c:42:14: note: Array index out of bounds darkplaces/r_modules.c:43:14: error: Array 'rendermodule[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] darkplaces/r_modules.c:28:15: note: Assuming that condition 'i<20' is not redundant darkplaces/r_modules.c:43:14: note: Array index out of bounds darkplaces/r_modules.c:44:14: error: Array 'rendermodule[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] darkplaces/r_modules.c:28:15: note: Assuming that condition 'i<20' is not redundant darkplaces/r_modules.c:44:14: note: Array index out of bounds darkplaces/r_modules.c:45:14: error: Array 'rendermodule[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] darkplaces/r_modules.c:28:15: note: Assuming that condition 'i<20' is not redundant darkplaces/r_modules.c:45:14: note: Array index out of bounds darkplaces/r_modules.c:46:14: error: Array 'rendermodule[20]' accessed at index 20, which is out of bounds. [arrayIndexOutOfBounds] darkplaces/r_modules.c:28:15: note: Assuming that condition 'i<20' is not redundant darkplaces/r_modules.c:46:14: note: Array index out of bounds darkplaces/r_shadow.c:979:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] darkplaces/r_shadow.c:3137:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] darkplaces/r_shadow.c:4502:79: error: Pointer addition with NULL pointer. [nullPointerArithmetic] darkplaces/r_shadow.c:2532:55: portability:inconclusive: Casting from float * to const unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/r_shadow.c:2534:148: portability:inconclusive: Casting from float * to const unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/r_shadow.c:1832:42: style: Variable 'settings->bounceminimumintensity2' is reassigned a value before the old one has been used. [redundantAssignment] darkplaces/r_shadow.c:1831:42: note: settings->bounceminimumintensity2 is assigned darkplaces/r_shadow.c:1832:42: note: settings->bounceminimumintensity2 is overwritten darkplaces/r_shadow.c:950:46: style:inconclusive: Function 'R_Shadow_CalcSphereSideMask' argument 1 names different: declaration 'p1' definition 'p'. [funcArgNamesDifferent] darkplaces/r_shadow.h:102:46: note: Function 'R_Shadow_CalcSphereSideMask' argument 1 names different: declaration 'p1' definition 'p'. darkplaces/r_shadow.c:950:46: note: Function 'R_Shadow_CalcSphereSideMask' argument 1 names different: declaration 'p1' definition 'p'. darkplaces/r_shadow.c:5391:30: style: Pointer expression 'cubemapname' converted to bool is always true. [knownPointerToBool] darkplaces/r_shadow.c:5926:30: style: Pointer expression 'cubemapname' converted to bool is always true. [knownPointerToBool] darkplaces/r_shadow.c:1428:16: style: Variable 'data' can be declared as const array [constVariable] darkplaces/r_shadow.c:1679:95: style: Parameter 'color' can be declared as const array [constParameter] darkplaces/r_shadow.c:1872:14: style: Variable 'rtlight' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:2144:35: style: Variable 'a' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:2145:35: style: Variable 'b' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:2377:9: style: Variable 'bandpixel' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:2952:70: style: Parameter 'matrix' can be declared as pointer to const [constParameterPointer] darkplaces/r_shadow.c:2952:85: style: Parameter 'color' can be declared as const array [constParameter] darkplaces/r_shadow.c:3375:7: style: Variable 'leaflist' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:3534:15: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:3681:17: style: Variable 'shadowtrispvs' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:3681:33: style: Variable 'lighttrispvs' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:3824:17: style: Variable 'shadowtrispvs' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:3824:33: style: Variable 'lighttrispvs' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:4649:63: style: Parameter 'origin' can be declared as const array [constParameter] darkplaces/r_shadow.c:4649:78: style: Parameter 'angles' can be declared as const array [constParameter] darkplaces/r_shadow.c:4649:93: style: Parameter 'color' can be declared as const array [constParameter] darkplaces/r_shadow.c:4842:37: style: Variable 't' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:5000:37: style: Variable 't' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:5727:12: style: Variable 'light' can be declared as pointer to const [constVariablePointer] darkplaces/r_shadow.c:1213:58: error: Signed integer overflow for expression '(unsigned char)((intensity*256.0f)>=(0)?((intensity*256.0f)<(255)?(intensity*256.0f):255):0)*0x01010101'. [integerOverflow] darkplaces/r_shadow.c:3042:61: style: Variable 'data' is assigned a value that is never used. [unreadVariable] darkplaces/r_shadow.c:3729:15: style: Variable 'lighttrispvs' is assigned a value that is never used. [unreadVariable] darkplaces/r_shadow.c:3850:20: style: Variable 'numshadowentities' is assigned a value that is never used. [unreadVariable] darkplaces/r_shadow.c:3851:33: style: Variable 'numshadowentities_noselfshadow' is assigned a value that is never used. [unreadVariable] darkplaces/r_shadow.c:3855:17: style: Variable 'shadowentities' is assigned a value that is never used. [unreadVariable] darkplaces/r_shadow.c:3856:30: style: Variable 'shadowentities_noselfshadow' is assigned a value that is never used. [unreadVariable] darkplaces/r_shadow.c:3857:16: style: Variable 'shadowtrispvs' is assigned a value that is never used. [unreadVariable] darkplaces/r_shadow.c:3882:37: style: Variable 'shadowmapoffsetnoselfshadow' is assigned a value that is never used. [unreadVariable] darkplaces/r_shadow.c:3887:14: style: Variable 'borderbias' is assigned a value that is never used. [unreadVariable] darkplaces/r_shadow.c:3892:32: style: Variable 'shadowmapoffsetnoselfshadow' is assigned a value that is never used. [unreadVariable] darkplaces/r_shadow.c:5804:250: style: Variable 'y' is assigned a value that is never used. [unreadVariable] darkplaces/r_sprites.c:54:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] darkplaces/r_sprites.c:152:16: style: Variable 'rotation_angles' can be declared as const array [constVariable] darkplaces/r_sprites.c:389:20: style: Variable 'frame' can be declared as pointer to const [constVariablePointer] darkplaces/sbar.c:1824:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maxwidth [valueFlowBailoutIncompleteVar] darkplaces/sbar.c:1909:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maxwidth [valueFlowBailoutIncompleteVar] darkplaces/sbar.c:2126:59: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] darkplaces/sbar.c:757:221: style: Same value in both branches of ternary operator. [duplicateValueTernary] darkplaces/sbar.c:438:50: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] darkplaces/sbar.c:922:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/sbar.c:923:17: style: Variable 'c' can be declared as pointer to const [constVariablePointer] darkplaces/sbar.c:976:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/sbar.c:977:18: style: Variable 'c' can be declared as pointer to const [constVariablePointer] darkplaces/sbar.c:1226:18: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/sbar.c:1236:18: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/sbar.c:906:33: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/sbar.c:905:15: note: Assuming that condition 'i<4' is not redundant darkplaces/sbar.c:906:33: note: Shift darkplaces/sbar.c:2084:10: warning: Uninitialized variables: teamcolorsort.frags, teamcolorsort.colors, teamcolorsort.qw_userid, teamcolorsort.qw_entertime, teamcolorsort.qw_ping, teamcolorsort.qw_packetloss, teamcolorsort.qw_movementloss, teamcolorsort.qw_spectator [uninitvar] darkplaces/sbar.c:2080:17: note: Assuming condition is false darkplaces/sbar.c:2084:10: note: Uninitialized variables: teamcolorsort.frags, teamcolorsort.colors, teamcolorsort.qw_userid, teamcolorsort.qw_entertime, teamcolorsort.qw_ping, teamcolorsort.qw_packetloss, teamcolorsort.qw_movementloss, teamcolorsort.qw_spectator darkplaces/sbar.c:1335:10: style: Variable 'fps_y' is assigned a value that is never used. [unreadVariable] darkplaces/snd_main.c:1737:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/snd_main.c:2009:20: style: Variable 'usesoundtimehack' is reassigned a value before the old one has been used. [redundantAssignment] darkplaces/snd_main.c:2006:19: note: usesoundtimehack is assigned darkplaces/snd_main.c:2009:20: note: usesoundtimehack is overwritten darkplaces/snd_main.c:1132:37: style:inconclusive: Function 'S_PrecacheSound' argument 1 names different: declaration 'sample' definition 'name'. [funcArgNamesDifferent] darkplaces/sound.h:71:37: note: Function 'S_PrecacheSound' argument 1 names different: declaration 'sample' definition 'name'. darkplaces/snd_main.c:1132:37: note: Function 'S_PrecacheSound' argument 1 names different: declaration 'sample' definition 'name'. darkplaces/snd_main.c:2316:36: style:inconclusive: Function 'S_LocalSound' argument 1 names different: declaration 's' definition 'sound'. [funcArgNamesDifferent] darkplaces/sound.h:100:36: note: Function 'S_LocalSound' argument 1 names different: declaration 's' definition 'sound'. darkplaces/snd_main.c:2316:36: note: Function 'S_LocalSound' argument 1 names different: declaration 's' definition 'sound'. darkplaces/snd_main.c:535:8: style: Variable 'env' can be declared as pointer to const [constVariablePointer] darkplaces/snd_main.c:1171:9: style: Variable 'sfx' can be declared as pointer to const [constVariablePointer] darkplaces/snd_main.c:1229:9: style: Variable 'sfx' can be declared as pointer to const [constVariablePointer] darkplaces/snd_main.c:1296:77: style: Parameter 'sfx' can be declared as pointer to const [constParameterPointer] darkplaces/snd_main.c:1318:16: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/snd_main.c:1619:96: style: Parameter 'origin' can be declared as const array [constParameter] darkplaces/snd_main.c:1856:14: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] darkplaces/snd_main.c:1893:13: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] darkplaces/snd_main.c:1946:10: style: Variable 'sfx' can be declared as pointer to const [constVariablePointer] darkplaces/snd_main.c:1482:5: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] darkplaces/snd_main.c:2181:19: style: Variable 'mindist_trans' is assigned a value that is never used. [unreadVariable] darkplaces/snd_mem.c:146:33: style: Variable '((char*)out_data)[i]' is assigned a value that is never used. [unreadVariable] darkplaces/snd_mix.c:263:47: style:inconclusive: Function 'S_MixToBuffer' argument 2 names different: declaration 'frames' definition 'bufferframes'. [funcArgNamesDifferent] darkplaces/snd_main.h:152:47: note: Function 'S_MixToBuffer' argument 2 names different: declaration 'frames' definition 'bufferframes'. darkplaces/snd_mix.c:263:47: note: Function 'S_MixToBuffer' argument 2 names different: declaration 'frames' definition 'bufferframes'. darkplaces/snd_null.c:122:34: style:inconclusive: Function 'S_Update' argument 1 names different: declaration 'listenermatrix' definition 'matrix'. [funcArgNamesDifferent] darkplaces/sound.h:68:34: note: Function 'S_Update' argument 1 names different: declaration 'listenermatrix' definition 'matrix'. darkplaces/snd_null.c:122:34: note: Function 'S_Update' argument 1 names different: declaration 'listenermatrix' definition 'matrix'. darkplaces/snd_null.c:63:28: style: Parameter 'sfx' can be declared as pointer to const [constParameterPointer] darkplaces/snd_null.c:63:40: style: Parameter 'origin' can be declared as const array [constParameter] darkplaces/snd_null.c:67:54: style: Parameter 'sfx' can be declared as pointer to const [constParameterPointer] darkplaces/snd_null.c:67:66: style: Parameter 'origin' can be declared as const array [constParameter] darkplaces/snd_null.c:72:74: style: Parameter 'sfx' can be declared as pointer to const [constParameterPointer] darkplaces/snd_null.c:72:86: style: Parameter 'origin' can be declared as const array [constParameter] darkplaces/portals.c:17:58: style: Parameter 'clipplanes' can be declared as pointer to const [constParameterPointer] darkplaces/portals.c:17:96: style: Parameter 'targpoints' can be declared as pointer to const [constParameterPointer] darkplaces/portals.c:208:59: style: Parameter 'a' can be declared as const array [constParameter] darkplaces/portals.c:208:69: style: Parameter 'b' can be declared as const array [constParameter] darkplaces/portals.c:25:37: warning: Uninitialized variable: targpoints [uninitvar] darkplaces/portals.c:343:106: note: Calling function 'Portal_PortalThroughPortalPlanes', 3rd argument 'v' value is darkplaces/portals.c:25:37: note: Uninitialized variable: targpoints darkplaces/snd_ogg.c:387:30: style: Parameter 'ov_decode' can be declared as pointer to const. However it seems that 'ovcb_close' is a callback function, if 'ov_decode' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/snd_ogg.c:416:62: note: You might need to cast the function pointer here darkplaces/snd_ogg.c:387:30: note: Parameter 'ov_decode' can be declared as pointer to const darkplaces/snd_ogg.c:428:9: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] darkplaces/snd_ogg.c:69:11: style: struct member 'ov_callbacks::read_func' is never used. [unusedStructMember] darkplaces/snd_ogg.c:70:9: style: struct member 'ov_callbacks::seek_func' is never used. [unusedStructMember] darkplaces/snd_ogg.c:71:9: style: struct member 'ov_callbacks::close_func' is never used. [unusedStructMember] darkplaces/snd_ogg.c:72:9: style: struct member 'ov_callbacks::tell_func' is never used. [unusedStructMember] darkplaces/snd_ogg.c:77:17: style: struct member 'ogg_sync_state::data' is never used. [unusedStructMember] darkplaces/snd_ogg.c:78:9: style: struct member 'ogg_sync_state::storage' is never used. [unusedStructMember] darkplaces/snd_ogg.c:79:9: style: struct member 'ogg_sync_state::fill' is never used. [unusedStructMember] darkplaces/snd_ogg.c:80:9: style: struct member 'ogg_sync_state::returned' is never used. [unusedStructMember] darkplaces/snd_ogg.c:81:9: style: struct member 'ogg_sync_state::unsynced' is never used. [unusedStructMember] darkplaces/snd_ogg.c:82:9: style: struct member 'ogg_sync_state::headerbytes' is never used. [unusedStructMember] darkplaces/snd_ogg.c:83:9: style: struct member 'ogg_sync_state::bodybytes' is never used. [unusedStructMember] darkplaces/snd_ogg.c:88:7: style: struct member 'vorbis_info::version' is never used. [unusedStructMember] darkplaces/snd_ogg.c:91:7: style: struct member 'vorbis_info::bitrate_upper' is never used. [unusedStructMember] darkplaces/snd_ogg.c:92:7: style: struct member 'vorbis_info::bitrate_nominal' is never used. [unusedStructMember] darkplaces/snd_ogg.c:93:7: style: struct member 'vorbis_info::bitrate_lower' is never used. [unusedStructMember] darkplaces/snd_ogg.c:94:7: style: struct member 'vorbis_info::bitrate_window' is never used. [unusedStructMember] darkplaces/snd_ogg.c:95:8: style: struct member 'vorbis_info::codec_setup' is never used. [unusedStructMember] darkplaces/snd_ogg.c:100:17: style: struct member 'ogg_stream_state::body_data' is never used. [unusedStructMember] darkplaces/snd_ogg.c:101:9: style: struct member 'ogg_stream_state::body_storage' is never used. [unusedStructMember] darkplaces/snd_ogg.c:102:9: style: struct member 'ogg_stream_state::body_fill' is never used. [unusedStructMember] darkplaces/snd_ogg.c:103:9: style: struct member 'ogg_stream_state::body_returned' is never used. [unusedStructMember] darkplaces/snd_ogg.c:104:10: style: struct member 'ogg_stream_state::lacing_vals' is never used. [unusedStructMember] darkplaces/snd_ogg.c:105:16: style: struct member 'ogg_stream_state::granule_vals' is never used. [unusedStructMember] darkplaces/snd_ogg.c:106:9: style: struct member 'ogg_stream_state::lacing_storage' is never used. [unusedStructMember] darkplaces/snd_ogg.c:107:9: style: struct member 'ogg_stream_state::lacing_fill' is never used. [unusedStructMember] darkplaces/snd_ogg.c:108:9: style: struct member 'ogg_stream_state::lacing_packet' is never used. [unusedStructMember] darkplaces/snd_ogg.c:109:9: style: struct member 'ogg_stream_state::lacing_returned' is never used. [unusedStructMember] darkplaces/snd_ogg.c:110:16: style: struct member 'ogg_stream_state::header' is never used. [unusedStructMember] darkplaces/snd_ogg.c:111:9: style: struct member 'ogg_stream_state::header_fill' is never used. [unusedStructMember] darkplaces/snd_ogg.c:112:9: style: struct member 'ogg_stream_state::e_o_s' is never used. [unusedStructMember] darkplaces/snd_ogg.c:113:9: style: struct member 'ogg_stream_state::b_o_s' is never used. [unusedStructMember] darkplaces/snd_ogg.c:114:9: style: struct member 'ogg_stream_state::serialno' is never used. [unusedStructMember] darkplaces/snd_ogg.c:115:9: style: struct member 'ogg_stream_state::pageno' is never used. [unusedStructMember] darkplaces/snd_ogg.c:116:15: style: struct member 'ogg_stream_state::packetno' is never used. [unusedStructMember] darkplaces/snd_ogg.c:117:15: style: struct member 'ogg_stream_state::granulepos' is never used. [unusedStructMember] darkplaces/snd_ogg.c:122:8: style: struct member 'vorbis_dsp_state::analysisp' is never used. [unusedStructMember] darkplaces/snd_ogg.c:123:15: style: struct member 'vorbis_dsp_state::vi' is never used. [unusedStructMember] darkplaces/snd_ogg.c:124:11: style: struct member 'vorbis_dsp_state::pcm' is never used. [unusedStructMember] darkplaces/snd_ogg.c:125:11: style: struct member 'vorbis_dsp_state::pcmret' is never used. [unusedStructMember] darkplaces/snd_ogg.c:126:8: style: struct member 'vorbis_dsp_state::pcm_storage' is never used. [unusedStructMember] darkplaces/snd_ogg.c:127:8: style: struct member 'vorbis_dsp_state::pcm_current' is never used. [unusedStructMember] darkplaces/snd_ogg.c:128:8: style: struct member 'vorbis_dsp_state::pcm_returned' is never used. [unusedStructMember] darkplaces/snd_ogg.c:129:8: style: struct member 'vorbis_dsp_state::preextrapolate' is never used. [unusedStructMember] darkplaces/snd_ogg.c:130:8: style: struct member 'vorbis_dsp_state::eofflag' is never used. [unusedStructMember] darkplaces/snd_ogg.c:131:8: style: struct member 'vorbis_dsp_state::lW' is never used. [unusedStructMember] darkplaces/snd_ogg.c:132:8: style: struct member 'vorbis_dsp_state::W' is never used. [unusedStructMember] darkplaces/snd_ogg.c:133:8: style: struct member 'vorbis_dsp_state::nW' is never used. [unusedStructMember] darkplaces/snd_ogg.c:134:8: style: struct member 'vorbis_dsp_state::centerW' is never used. [unusedStructMember] darkplaces/snd_ogg.c:135:14: style: struct member 'vorbis_dsp_state::granulepos' is never used. [unusedStructMember] darkplaces/snd_ogg.c:136:14: style: struct member 'vorbis_dsp_state::sequence' is never used. [unusedStructMember] darkplaces/snd_ogg.c:137:14: style: struct member 'vorbis_dsp_state::glue_bits' is never used. [unusedStructMember] darkplaces/snd_ogg.c:138:14: style: struct member 'vorbis_dsp_state::time_bits' is never used. [unusedStructMember] darkplaces/snd_ogg.c:139:14: style: struct member 'vorbis_dsp_state::floor_bits' is never used. [unusedStructMember] darkplaces/snd_ogg.c:140:14: style: struct member 'vorbis_dsp_state::res_bits' is never used. [unusedStructMember] darkplaces/snd_ogg.c:141:9: style: struct member 'vorbis_dsp_state::backend_state' is never used. [unusedStructMember] darkplaces/snd_ogg.c:146:9: style: struct member 'oggpack_buffer::endbyte' is never used. [unusedStructMember] darkplaces/snd_ogg.c:147:9: style: struct member 'oggpack_buffer::endbit' is never used. [unusedStructMember] darkplaces/snd_ogg.c:148:17: style: struct member 'oggpack_buffer::buffer' is never used. [unusedStructMember] darkplaces/snd_ogg.c:149:17: style: struct member 'oggpack_buffer::ptr' is never used. [unusedStructMember] darkplaces/snd_ogg.c:150:9: style: struct member 'oggpack_buffer::storage' is never used. [unusedStructMember] darkplaces/snd_ogg.c:155:13: style: struct member 'vorbis_block::pcm' is never used. [unusedStructMember] darkplaces/snd_ogg.c:156:18: style: struct member 'vorbis_block::opb' is never used. [unusedStructMember] darkplaces/snd_oss.c:76:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] darkplaces/snd_oss.c:190:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCTL_DSP_RESET [valueFlowBailoutIncompleteVar] darkplaces/snd_oss.c:217:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] darkplaces/snd_oss.c:287:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCTL_DSP_GETOPTR [valueFlowBailoutIncompleteVar] darkplaces/snd_ogg.c:157:10: style: struct member 'vorbis_block::lW' is never used. [unusedStructMember] darkplaces/snd_ogg.c:158:10: style: struct member 'vorbis_block::W' is never used. [unusedStructMember] darkplaces/snd_ogg.c:159:10: style: struct member 'vorbis_block::nW' is never used. [unusedStructMember] darkplaces/snd_ogg.c:160:10: style: struct member 'vorbis_block::pcmend' is never used. [unusedStructMember] darkplaces/snd_ogg.c:161:10: style: struct member 'vorbis_block::mode' is never used. [unusedStructMember] darkplaces/snd_ogg.c:162:10: style: struct member 'vorbis_block::eofflag' is never used. [unusedStructMember] darkplaces/snd_ogg.c:163:16: style: struct member 'vorbis_block::granulepos' is never used. [unusedStructMember] darkplaces/snd_ogg.c:164:16: style: struct member 'vorbis_block::sequence' is never used. [unusedStructMember] darkplaces/snd_ogg.c:165:20: style: struct member 'vorbis_block::vd' is never used. [unusedStructMember] darkplaces/snd_ogg.c:166:11: style: struct member 'vorbis_block::localstore' is never used. [unusedStructMember] darkplaces/snd_ogg.c:167:10: style: struct member 'vorbis_block::localtop' is never used. [unusedStructMember] darkplaces/snd_ogg.c:168:10: style: struct member 'vorbis_block::localalloc' is never used. [unusedStructMember] darkplaces/snd_ogg.c:169:10: style: struct member 'vorbis_block::totaluse' is never used. [unusedStructMember] darkplaces/snd_ogg.c:170:11: style: struct member 'vorbis_block::reap' is never used. [unusedStructMember] darkplaces/snd_ogg.c:171:10: style: struct member 'vorbis_block::glue_bits' is never used. [unusedStructMember] darkplaces/snd_ogg.c:172:10: style: struct member 'vorbis_block::time_bits' is never used. [unusedStructMember] darkplaces/snd_ogg.c:173:10: style: struct member 'vorbis_block::floor_bits' is never used. [unusedStructMember] darkplaces/snd_ogg.c:174:10: style: struct member 'vorbis_block::res_bits' is never used. [unusedStructMember] darkplaces/snd_ogg.c:175:11: style: struct member 'vorbis_block::internal' is never used. [unusedStructMember] darkplaces/snd_ogg.c:180:9: style: struct member 'vorbis_comment::user_comments' is never used. [unusedStructMember] darkplaces/snd_ogg.c:181:9: style: struct member 'vorbis_comment::comment_lengths' is never used. [unusedStructMember] darkplaces/snd_ogg.c:182:9: style: struct member 'vorbis_comment::comments' is never used. [unusedStructMember] darkplaces/snd_ogg.c:183:9: style: struct member 'vorbis_comment::vendor' is never used. [unusedStructMember] darkplaces/snd_ogg.c:188:11: style: struct member 'OggVorbis_File::datasource' is never used. [unusedStructMember] darkplaces/snd_ogg.c:189:10: style: struct member 'OggVorbis_File::seekable' is never used. [unusedStructMember] darkplaces/snd_ogg.c:190:16: style: struct member 'OggVorbis_File::offset' is never used. [unusedStructMember] darkplaces/snd_ogg.c:191:16: style: struct member 'OggVorbis_File::end' is never used. [unusedStructMember] darkplaces/snd_ogg.c:192:18: style: struct member 'OggVorbis_File::oy' is never used. [unusedStructMember] darkplaces/snd_ogg.c:193:10: style: struct member 'OggVorbis_File::links' is never used. [unusedStructMember] darkplaces/snd_ogg.c:194:17: style: struct member 'OggVorbis_File::offsets' is never used. [unusedStructMember] darkplaces/snd_ogg.c:195:17: style: struct member 'OggVorbis_File::dataoffsets' is never used. [unusedStructMember] darkplaces/snd_ogg.c:196:11: style: struct member 'OggVorbis_File::serialnos' is never used. [unusedStructMember] darkplaces/snd_ogg.c:197:17: style: struct member 'OggVorbis_File::pcmlengths' is never used. [unusedStructMember] darkplaces/snd_ogg.c:198:17: style: struct member 'OggVorbis_File::vi' is never used. [unusedStructMember] darkplaces/snd_ogg.c:199:19: style: struct member 'OggVorbis_File::vc' is never used. [unusedStructMember] darkplaces/snd_ogg.c:200:16: style: struct member 'OggVorbis_File::pcm_offset' is never used. [unusedStructMember] darkplaces/snd_ogg.c:201:10: style: struct member 'OggVorbis_File::ready_state' is never used. [unusedStructMember] darkplaces/snd_ogg.c:202:10: style: struct member 'OggVorbis_File::current_serialno' is never used. [unusedStructMember] darkplaces/snd_ogg.c:203:10: style: struct member 'OggVorbis_File::current_link' is never used. [unusedStructMember] darkplaces/snd_ogg.c:204:12: style: struct member 'OggVorbis_File::bittrack' is never used. [unusedStructMember] darkplaces/snd_ogg.c:205:12: style: struct member 'OggVorbis_File::samptrack' is never used. [unusedStructMember] darkplaces/snd_ogg.c:206:19: style: struct member 'OggVorbis_File::os' is never used. [unusedStructMember] darkplaces/snd_ogg.c:207:19: style: struct member 'OggVorbis_File::vd' is never used. [unusedStructMember] darkplaces/snd_ogg.c:208:16: style: struct member 'OggVorbis_File::vb' is never used. [unusedStructMember] darkplaces/snd_ogg.c:209:16: style: struct member 'OggVorbis_File::callbacks' is never used. [unusedStructMember] darkplaces/snd_sdl.c:105:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] darkplaces/snd_sdl.c:42:29: style: Condition 'SndSys_LockRenderBuffer()' is always true [knownConditionTrueFalse] darkplaces/snd_sdl.c:42:29: note: Calling function 'SndSys_LockRenderBuffer' returns 1 darkplaces/snd_sdl.c:42:29: note: Condition 'SndSys_LockRenderBuffer()' is always true darkplaces/sv_demo.c:20:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_demo.c:49:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_demo.c:70:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_demo.c:57:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/sv_move.c:44:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_move.c:119:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_move.c:263:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_move.c:298:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_move.c:317:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_move.c:427:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:789:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:983:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:1125:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:1179:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:1533:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:1645:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:1781:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:1862:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:1982:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:2007:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:2508:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:3100:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:3127:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:3248:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:3313:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:3614:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:3664:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:3699:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:3721:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:3783:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable modelindex [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:4048:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_move.c:400:47: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] darkplaces/sv_move.c:400:66: style: Parameter 'goal' can be declared as pointer to const [constParameterPointer] darkplaces/sv_phys.c:56:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:78:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:177:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:326:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:504:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:630:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:674:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:690:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:722:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:799:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:914:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:983:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:1025:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:1071:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:1105:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:1196:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:1428:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:1454:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:1535:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:1583:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:1673:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:1970:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2050:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2084:131: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2112:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2146:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2197:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2303:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2494:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2542:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2598:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2751:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2828:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2900:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:2949:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:3006:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:3025:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:3064:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_phys.c:3152:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/sv_main.c:854:39: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] darkplaces/sv_main.c:2336:25: style: Condition 'sv_maxrate.integer!=maxrate' is always true [knownConditionTrueFalse] darkplaces/sv_main.c:2335:10: note: maxrate is assigned '(1000)>(sv_maxrate.integer)?(1000):(sv_maxrate.integer)' here. darkplaces/sv_main.c:2336:25: note: Condition 'sv_maxrate.integer!=maxrate' is always true darkplaces/sv_main.c:2001:18: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/sv_main.c:3783:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3784:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3785:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3786:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3787:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3788:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3789:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3790:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3791:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3792:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3793:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3794:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3797:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3798:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3799:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3800:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3801:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3802:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3807:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3809:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3810:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3811:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3813:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3814:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3815:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3816:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3817:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3818:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3819:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3820:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3822:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3823:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3824:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3825:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3826:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3827:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3828:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3829:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3830:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3833:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3834:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3835:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3836:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3837:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3838:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3839:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3840:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3841:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3842:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3843:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3846:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3849:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3850:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3853:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3855:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3863:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3864:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3865:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3867:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3868:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3869:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3870:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3871:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3872:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3873:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3874:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3875:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3876:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3877:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3878:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3879:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3880:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3881:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3882:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3883:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3884:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3885:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3886:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3887:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3888:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3889:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3890:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3891:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3892:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3893:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3894:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3895:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3896:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3897:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3898:3: portability: Casting from float * * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3899:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3901:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:3902:3: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/sv_main.c:743:10: style: Redundant assignment of 'channel' to itself. [selfAssignment] darkplaces/sv_main.c:1240:29: style: Checking if unsigned expression 'light[3]' is less than zero. [unsignedLessThanZero] darkplaces/sv_main.c:1238:28: note: Assignment 'specialvisibilityradius=0', assigned value is 0 darkplaces/sv_main.c:1240:29: note: Unsigned less than zero darkplaces/sv_main.c:717:80: style:inconclusive: Function 'SV_StartSound' argument 4 names different: declaration 'volume' definition 'nvolume'. [funcArgNamesDifferent] darkplaces/server.h:519:80: note: Function 'SV_StartSound' argument 4 names different: declaration 'volume' definition 'nvolume'. darkplaces/sv_main.c:717:80: note: Function 'SV_StartSound' argument 4 names different: declaration 'volume' definition 'nvolume'. darkplaces/sv_main.c:809:65: style:inconclusive: Function 'SV_StartPointSound' argument 3 names different: declaration 'volume' definition 'nvolume'. [funcArgNamesDifferent] darkplaces/server.h:520:65: note: Function 'SV_StartPointSound' argument 3 names different: declaration 'volume' definition 'nvolume'. darkplaces/sv_main.c:809:65: note: Function 'SV_StartPointSound' argument 3 names different: declaration 'volume' definition 'nvolume'. darkplaces/sv_main.c:1492:27: style:inconclusive: Function 'SV_CanSeeBox' argument 1 names different: declaration 'numsamples' definition 'numtraces'. [funcArgNamesDifferent] darkplaces/server.h:585:27: note: Function 'SV_CanSeeBox' argument 1 names different: declaration 'numsamples' definition 'numtraces'. darkplaces/sv_main.c:1492:27: note: Function 'SV_CanSeeBox' argument 1 names different: declaration 'numsamples' definition 'numtraces'. darkplaces/sv_main.c:434:16: style: Local variable 'csqc_progname' shadows outer variable [shadowVariable] darkplaces/csprogs.h:76:15: note: Shadowed declaration darkplaces/sv_main.c:434:16: note: Shadow variable darkplaces/sv_main.c:435:16: style: Local variable 'csqc_progcrc' shadows outer variable [shadowVariable] darkplaces/csprogs.h:77:15: note: Shadowed declaration darkplaces/sv_main.c:435:16: note: Shadow variable darkplaces/sv_main.c:436:16: style: Local variable 'csqc_progsize' shadows outer variable [shadowVariable] darkplaces/csprogs.h:78:15: note: Shadowed declaration darkplaces/sv_main.c:436:16: note: Shadow variable darkplaces/sv_main.c:647:31: style: Parameter 'org' can be declared as const array [constParameter] darkplaces/sv_main.c:647:43: style: Parameter 'dir' can be declared as const array [constParameter] darkplaces/sv_main.c:671:29: style: Parameter 'org' can be declared as const array [constParameter] darkplaces/sv_main.c:719:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/sv_main.c:809:33: style: Parameter 'origin' can be declared as const array [constParameter] darkplaces/sv_main.c:1473:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/sv_main.c:1492:97: style: Parameter 'eye' can be declared as const array [constParameter] darkplaces/sv_main.c:1492:109: style: Parameter 'entboxmins' can be declared as const array [constParameter] darkplaces/sv_main.c:1492:128: style: Parameter 'entboxmaxs' can be declared as const array [constParameter] darkplaces/sv_main.c:3689:16: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] darkplaces/sv_main.c:3714:46: style: Parameter 'prog' can be declared as pointer to const. However it seems that 'SVVM_load_edict' is a callback function, if 'prog' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/sv_main.c:3769:32: note: You might need to cast the function pointer here darkplaces/sv_main.c:3714:46: note: Parameter 'prog' can be declared as pointer to const darkplaces/sv_main.c:3714:66: style: Parameter 'ent' can be declared as pointer to const. However it seems that 'SVVM_load_edict' is a callback function, if 'ent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/sv_main.c:3769:32: note: You might need to cast the function pointer here darkplaces/sv_main.c:3714:66: note: Parameter 'ent' can be declared as pointer to const darkplaces/sv_main.c:2250:38: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] darkplaces/sv_main.c:2249:17: note: Assuming that condition 'i<32' is not redundant darkplaces/sv_main.c:2250:38: note: Shift darkplaces/sv_main.c:3931:19: style: Variable 'playing' is assigned a value that is never used. [unreadVariable] darkplaces/sv_user.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:119:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:159:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:181:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:200:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:239:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:292:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:317:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:381:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:602:177: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:725:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:878:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/sv_user.c:465:22: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] darkplaces/sv_user.c:676:15: style: Variable 'move' can be declared as pointer to const [constVariablePointer] darkplaces/sv_user.c:660:55: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] darkplaces/svbsp.c:196:11: style: Variable 'parentnodeplane' can be declared as pointer to const [constVariablePointer] darkplaces/svvm_cmds.c:259:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:275:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:344:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:714:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:802:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:849:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:918:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:1028:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:1086:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:1141:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:1292:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:1398:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:1525:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:1598:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:1806:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:2382:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:2401:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:2419:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:2435:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:2486:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:2614:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:2761:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:3008:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:3033:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:3066:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:3088:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:3110:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:3854:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] darkplaces/svvm_cmds.c:656:6: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/svvm_cmds.c:695:6: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/svvm_cmds.c:577:10: style: Redundant assignment of 'channel' to itself. [selfAssignment] darkplaces/svvm_cmds.c:1750:16: style: Variable 'in' can be declared as pointer to const [constVariablePointer] darkplaces/svvm_cmds.c:2408:48: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] darkplaces/svvm_cmds.c:2411:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/svvm_cmds.c:2450:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/svvm_cmds.c:2477:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/svvm_cmds.c:2911:16: style: Variable 'ed' can be declared as pointer to const [constVariablePointer] darkplaces/svvm_cmds.c:2916:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/svvm_cmds.c:2964:14: style: Variable 'skeleton' can be declared as pointer to const [constVariablePointer] darkplaces/svvm_cmds.c:2992:14: style: Variable 'skeleton' can be declared as pointer to const [constVariablePointer] darkplaces/svvm_cmds.c:3159:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/svvm_cmds.c:2433:18: style: Variable 'pitchsign' is assigned a value that is never used. [unreadVariable] darkplaces/sys_linux.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] darkplaces/sys_linux.c:151:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] darkplaces/sys_sdl.c:42:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] darkplaces/sys_sdl.c:56:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] darkplaces/sys_sdl.c:192:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] darkplaces/sys_sdl.c:114:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] darkplaces/sv_phys.c:73:56: style:inconclusive: Function 'SV_GenericHitSuperContentsMask' argument 1 names different: declaration 'edict' definition 'passedict'. [funcArgNamesDifferent] darkplaces/server.h:578:56: note: Function 'SV_GenericHitSuperContentsMask' argument 1 names different: declaration 'edict' definition 'passedict'. darkplaces/sv_phys.c:73:56: note: Function 'SV_GenericHitSuperContentsMask' argument 1 names different: declaration 'edict' definition 'passedict'. darkplaces/sys_shared.c:38:63: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] darkplaces/sys_shared.c:431:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] darkplaces/sys_shared.c:500:7: style: Condition 'n>0' is always false [knownConditionTrueFalse] darkplaces/sys_shared.c:494:15: note: Assignment 'n=-1', assigned value is -1 darkplaces/sys_shared.c:500:7: note: Condition 'n>0' is always false darkplaces/sv_phys.c:47:34: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] darkplaces/sv_phys.c:49:14: style: Variable 'model' can be declared as pointer to const [constVariablePointer] darkplaces/sv_phys.c:110:16: style: Variable 'traceowner' can be declared as pointer to const [constVariablePointer] darkplaces/sv_phys.c:256:16: style: Variable 'traceowner' can be declared as pointer to const [constVariablePointer] darkplaces/sv_phys.c:411:16: style: Variable 'traceowner' can be declared as pointer to const [constVariablePointer] darkplaces/sv_phys.c:1150:39: style: Parameter 'in' can be declared as const array [constParameter] darkplaces/sv_phys.c:1150:50: style: Parameter 'normal' can be declared as const array [constParameter] darkplaces/sys_win.c:79:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_OK [valueFlowBailoutIncompleteVar] darkplaces/sys_win.c:119:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] darkplaces/sys_win.c:157:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EventType [valueFlowBailoutIncompleteVar] darkplaces/sys_win.c:212:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_TEXT [valueFlowBailoutIncompleteVar] darkplaces/sys_win.c:240:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STD_OUTPUT_HANDLE [valueFlowBailoutIncompleteVar] darkplaces/sys_win.c:317:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEMORYSTATUS [valueFlowBailoutIncompleteVar] darkplaces/sys_win.c:117:16: style: Local variable 'houtput' shadows outer variable [shadowVariable] darkplaces/sys_win.c:36:19: note: Shadowed declaration darkplaces/sys_win.c:117:16: note: Shadow variable darkplaces/sys_win.c:206:8: style: Variable 'cliptext' can be declared as pointer to const [constVariablePointer] darkplaces/thread_null.c:23:33: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] darkplaces/thread_null.c:27:29: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] darkplaces/thread_null.c:32:31: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] darkplaces/thread_null.c:42:32: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] darkplaces/thread_null.c:46:30: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] darkplaces/thread_null.c:51:33: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] darkplaces/thread_null.c:56:28: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] darkplaces/thread_null.c:56:40: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] darkplaces/thread_null.c:61:53: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] darkplaces/thread_null.c:66:30: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] darkplaces/thread_null.c:76:35: style: Parameter 'barrier' can be declared as pointer to const [constParameterPointer] darkplaces/thread_null.c:80:32: style: Parameter 'barrier' can be declared as pointer to const [constParameterPointer] darkplaces/thread_pthread.c:35:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] darkplaces/thread_win.c:48:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] darkplaces/thread_win.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_OBJECT_0 [valueFlowBailoutIncompleteVar] darkplaces/thread_win.c:144:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] darkplaces/thread_win.c:165:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] darkplaces/thread_win.c:187:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] darkplaces/thread_win.c:247:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] darkplaces/thread_win.c:69:2: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] darkplaces/thread_win.c:68:54: note: Assuming allocation function fails darkplaces/thread_win.c:68:26: note: Assignment 's=(struct thread_semaphore_t*)calloc(sizeof(*s),1)', assigned value is 0 darkplaces/thread_win.c:69:2: note: Null pointer dereference darkplaces/thread_win.c:70:2: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] darkplaces/thread_win.c:68:54: note: Assuming allocation function fails darkplaces/thread_win.c:68:26: note: Assignment 's=(struct thread_semaphore_t*)calloc(sizeof(*s),1)', assigned value is 0 darkplaces/thread_win.c:70:2: note: Null pointer dereference darkplaces/thread_win.c:115:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] darkplaces/thread_win.c:114:44: note: Assuming allocation function fails darkplaces/thread_win.c:114:21: note: Assignment 'c=(struct thread_cond_t*)calloc(sizeof(*c),1)', assigned value is 0 darkplaces/thread_win.c:115:2: note: Null pointer dereference darkplaces/thread_win.c:116:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] darkplaces/thread_win.c:114:44: note: Assuming allocation function fails darkplaces/thread_win.c:114:21: note: Assignment 'c=(struct thread_cond_t*)calloc(sizeof(*c),1)', assigned value is 0 darkplaces/thread_win.c:116:2: note: Null pointer dereference darkplaces/thread_win.c:117:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] darkplaces/thread_win.c:114:44: note: Assuming allocation function fails darkplaces/thread_win.c:114:21: note: Assignment 'c=(struct thread_cond_t*)calloc(sizeof(*c),1)', assigned value is 0 darkplaces/thread_win.c:117:2: note: Null pointer dereference darkplaces/thread_win.c:118:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] darkplaces/thread_win.c:114:44: note: Assuming allocation function fails darkplaces/thread_win.c:114:21: note: Assignment 'c=(struct thread_cond_t*)calloc(sizeof(*c),1)', assigned value is 0 darkplaces/thread_win.c:118:2: note: Null pointer dereference darkplaces/thread_win.c:119:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] darkplaces/thread_win.c:114:44: note: Assuming allocation function fails darkplaces/thread_win.c:114:21: note: Assignment 'c=(struct thread_cond_t*)calloc(sizeof(*c),1)', assigned value is 0 darkplaces/thread_win.c:119:2: note: Null pointer dereference darkplaces/thread_win.c:233:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] darkplaces/thread_win.c:229:48: note: Assuming allocation function fails darkplaces/thread_win.c:229:23: note: Assignment 'w=(struct threadwrapper_t*)calloc(sizeof(*w),1)', assigned value is 0 darkplaces/thread_win.c:233:2: note: Null pointer dereference darkplaces/thread_win.c:234:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] darkplaces/thread_win.c:229:48: note: Assuming allocation function fails darkplaces/thread_win.c:229:23: note: Assignment 'w=(struct threadwrapper_t*)calloc(sizeof(*w),1)', assigned value is 0 darkplaces/thread_win.c:234:2: note: Null pointer dereference darkplaces/thread_win.c:235:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] darkplaces/thread_win.c:229:48: note: Assuming allocation function fails darkplaces/thread_win.c:229:23: note: Assignment 'w=(struct threadwrapper_t*)calloc(sizeof(*w),1)', assigned value is 0 darkplaces/thread_win.c:235:2: note: Null pointer dereference darkplaces/thread_win.c:236:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] darkplaces/thread_win.c:229:48: note: Assuming allocation function fails darkplaces/thread_win.c:229:23: note: Assignment 'w=(struct threadwrapper_t*)calloc(sizeof(*w),1)', assigned value is 0 darkplaces/thread_win.c:236:2: note: Null pointer dereference darkplaces/thread_win.c:241:30: style:inconclusive: Function '_Thread_WaitThread' argument 1 names different: declaration 'thread' definition 'd'. [funcArgNamesDifferent] darkplaces/thread.h:37:30: note: Function '_Thread_WaitThread' argument 1 names different: declaration 'thread' definition 'd'. darkplaces/thread_win.c:241:30: note: Function '_Thread_WaitThread' argument 1 names different: declaration 'thread' definition 'd'. darkplaces/utf8lib.c:752:17: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] darkplaces/utf8lib.c:785:41: style:inconclusive: Function 'u8_COM_StringLengthNoColors' argument 1 names different: declaration 's' definition '_s'. [funcArgNamesDifferent] darkplaces/utf8lib.h:43:48: note: Function 'u8_COM_StringLengthNoColors' argument 1 names different: declaration 's' definition '_s'. darkplaces/utf8lib.c:785:41: note: Function 'u8_COM_StringLengthNoColors' argument 1 names different: declaration 's' definition '_s'. darkplaces/vid_null.c:67:38: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] darkplaces/vid_null.c:81:40: style: Parameter 'joystate' can be declared as pointer to const [constParameterPointer] darkplaces/vid_null.c:94:34: style: Parameter 'modes' can be declared as pointer to const [constParameterPointer] darkplaces/vid_shared.c:1133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] darkplaces/vid_sdl.c:205:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KMOD_NUM [valueFlowBailoutIncompleteVar] darkplaces/vid_sdl.c:344:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] darkplaces/vid_sdl.c:381:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] darkplaces/vid_sdl.c:1071:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PRESSED [valueFlowBailoutIncompleteVar] darkplaces/vid_sdl.c:1317:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] darkplaces/vid_sdl.c:1432:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_SHOWN [valueFlowBailoutIncompleteVar] darkplaces/vid_sdl.c:1589:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] darkplaces/vid_sdl.c:1604:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] darkplaces/vid_shared.c:830:76: style:inconclusive: Function 'VID_JoyState_GetAxis' argument 3 names different: declaration 'sensitivity' definition 'fsensitivity'. [funcArgNamesDifferent] darkplaces/vid.h:119:76: note: Function 'VID_JoyState_GetAxis' argument 3 names different: declaration 'sensitivity' definition 'fsensitivity'. darkplaces/vid_shared.c:830:76: note: Function 'VID_JoyState_GetAxis' argument 3 names different: declaration 'sensitivity' definition 'fsensitivity'. darkplaces/vid_shared.c:686:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] darkplaces/vid_shared.c:989:40: style: Parameter 'joystate' can be declared as pointer to const [constParameterPointer] darkplaces/vid_shared.c:1561:14: style: Variable 'a' can be declared as pointer to const [constVariablePointer] darkplaces/vid_shared.c:1562:14: style: Variable 'b' can be declared as pointer to const [constVariablePointer] darkplaces/vid_sdl.c:1546:16: style: Local variable 'gl_info_vendor' shadows outer variable [shadowVariable] darkplaces/vid_sdl.c:1577:15: note: Shadowed declaration darkplaces/vid_sdl.c:1546:16: note: Shadow variable darkplaces/vid_sdl.c:1547:16: style: Local variable 'gl_info_renderer' shadows outer variable [shadowVariable] darkplaces/vid_sdl.c:1578:15: note: Shadowed declaration darkplaces/vid_sdl.c:1547:16: note: Shadow variable darkplaces/vid_sdl.c:1548:16: style: Local variable 'gl_info_version' shadows outer variable [shadowVariable] darkplaces/vid_sdl.c:1579:15: note: Shadowed declaration darkplaces/vid_sdl.c:1548:16: note: Shadow variable darkplaces/vid_sdl.c:1549:16: style: Local variable 'gl_info_platform' shadows outer variable [shadowVariable] darkplaces/vid_sdl.c:1580:15: note: Shadowed declaration darkplaces/vid_sdl.c:1549:16: note: Shadow variable darkplaces/vid_sdl.c:1550:16: style: Local variable 'gl_info_driver' shadows outer variable [shadowVariable] darkplaces/vid_sdl.c:1581:15: note: Shadowed declaration darkplaces/vid_sdl.c:1550:16: note: Shadow variable darkplaces/vid_sdl.c:1475:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] darkplaces/wad.c:228:17: style: Variable 'in' can be declared as pointer to const [constVariablePointer] darkplaces/wad.c:228:35: style: Variable 'pal' can be declared as pointer to const [constVariablePointer] darkplaces/wad.c:277:39: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] darkplaces/view.c:440:29: style: Parameter 'value' can be declared as const array [constParameter] darkplaces/view.c:447:30: style: Parameter 'value' can be declared as const array [constParameter] darkplaces/view.c:454:38: style: Parameter 'value' can be declared as const array [constParameter] darkplaces/view.c:1180:10: style: Variable 'deathfadevec' can be declared as const array [constVariable] darkplaces/world.c:178:54: style:inconclusive: Function 'World_EntitiesInBox' argument 2 names different: declaration 'mins' definition 'requestmins'. [funcArgNamesDifferent] darkplaces/world.h:117:54: note: Function 'World_EntitiesInBox' argument 2 names different: declaration 'mins' definition 'requestmins'. darkplaces/world.c:178:54: note: Function 'World_EntitiesInBox' argument 2 names different: declaration 'mins' definition 'requestmins'. darkplaces/world.c:178:80: style:inconclusive: Function 'World_EntitiesInBox' argument 3 names different: declaration 'maxs' definition 'requestmaxs'. [funcArgNamesDifferent] darkplaces/world.h:117:73: note: Function 'World_EntitiesInBox' argument 3 names different: declaration 'maxs' definition 'requestmaxs'. darkplaces/world.c:178:80: note: Function 'World_EntitiesInBox' argument 3 names different: declaration 'maxs' definition 'requestmaxs'. darkplaces/world.c:312:15: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] darkplaces/world.c:1638:42: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] darkplaces/world.c:1647:40: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] darkplaces/world.c:1727:43: style: Parameter 'ed' can be declared as pointer to const [constParameterPointer] darkplaces/world.c:1727:64: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] darkplaces/world.c:3017:35: style: Parameter 'world' can be declared as pointer to const [constParameterPointer] darkplaces/zone.c:388:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pool [valueFlowBailoutIncompleteVar] darkplaces/zone.c:522:9: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:522:9: note: Null pointer dereference darkplaces/zone.c:523:2: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:523:2: note: Null pointer dereference darkplaces/zone.c:524:2: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:524:2: note: Null pointer dereference darkplaces/zone.c:525:2: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:525:2: note: Null pointer dereference darkplaces/zone.c:526:2: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:526:2: note: Null pointer dereference darkplaces/zone.c:527:2: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:527:2: note: Null pointer dereference darkplaces/zone.c:528:2: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:528:2: note: Null pointer dereference darkplaces/zone.c:529:2: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:529:2: note: Null pointer dereference darkplaces/zone.c:530:2: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:530:2: note: Null pointer dereference darkplaces/zone.c:531:11: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:531:11: note: Null pointer dereference darkplaces/zone.c:532:2: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:532:2: note: Null pointer dereference darkplaces/zone.c:533:2: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:514:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:533:2: note: Null pointer dereference darkplaces/zone.c:591:6: warning: Either the condition 'pool==((void*)0)' is redundant or there is possible null pointer dereference: pool. [nullPointerRedundantCheck] darkplaces/zone.c:589:11: note: Assuming that condition 'pool==((void*)0)' is not redundant darkplaces/zone.c:591:6: note: Null pointer dereference darkplaces/zone.c:616:47: warning: Either the condition 'data==((void*)0)' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] darkplaces/zone.c:613:11: note: Assuming that condition 'data==((void*)0)' is not redundant darkplaces/zone.c:616:47: note: Null pointer subtraction darkplaces/zone.c:379:11: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] darkplaces/zone.c:368:41: style:inconclusive: Function '_Mem_Alloc' argument 2 names different: declaration 'data' definition 'olddata'. [funcArgNamesDifferent] darkplaces/zone.h:91:41: note: Function '_Mem_Alloc' argument 2 names different: declaration 'data' definition 'olddata'. darkplaces/zone.c:368:41: note: Function '_Mem_Alloc' argument 2 names different: declaration 'data' definition 'olddata'. darkplaces/zone.c:538:32: style:inconclusive: Function '_Mem_FreePool' argument 1 names different: declaration 'pool' definition 'poolpointer'. [funcArgNamesDifferent] darkplaces/zone.h:94:32: note: Function '_Mem_FreePool' argument 1 names different: declaration 'pool' definition 'poolpointer'. darkplaces/zone.c:538:32: note: Function '_Mem_FreePool' argument 1 names different: declaration 'pool' definition 'poolpointer'. darkplaces/zone.c:663:15: style: Variable 'target' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:1284:14: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] darkplaces/model_brush.c:1279:13: note: outer condition: dsi>=0 darkplaces/model_brush.c:1284:14: note: opposite inner condition: dsi<0 darkplaces/model_brush.c:1286:14: style: Condition 'dti<0' is always false [knownConditionTrueFalse] darkplaces/model_brush.c:1279:42: note: Assuming that condition 'dti>=0' is not redundant darkplaces/model_brush.c:1286:14: note: Condition 'dti<0' is always false darkplaces/model_brush.c:4619:24: style: Condition 'firstmarksurface>=0' is always true [knownConditionTrueFalse] darkplaces/model_brush.c:4605:22: note: Assignment 'firstmarksurface=(unsigned short)MSG_ReadLittleShort(sb)', assigned value is greater than -1 darkplaces/model_brush.c:4619:24: note: Condition 'firstmarksurface>=0' is always true darkplaces/model_brush.c:4631:22: style: Condition 'firstmarkbrush>=0' is always true [knownConditionTrueFalse] darkplaces/model_brush.c:4607:20: note: Assignment 'firstmarkbrush=(unsigned short)MSG_ReadLittleShort(sb)', assigned value is greater than -1 darkplaces/model_brush.c:4631:22: note: Condition 'firstmarkbrush>=0' is always true darkplaces/model_brush.c:4681:9: style: Condition 'n<0' is always false [knownConditionTrueFalse] darkplaces/model_brush.c:4680:7: note: Assignment 'n=(unsigned short)MSG_ReadLittleShort(sb)', assigned value is greater than -1 darkplaces/model_brush.c:4681:9: note: Condition 'n<0' is always false darkplaces/model_brush.c:5202:18: warning: Either the condition 'data' is redundant or there is possible null pointer dereference: loadmodel->brush.entities. [nullPointerRedundantCheck] darkplaces/model_brush.c:5207:6: note: Assuming that condition 'data' is not redundant darkplaces/model_brush.c:5203:25: note: Assignment to 'data=loadmodel->brush.entities' darkplaces/model_brush.c:5202:18: note: Null pointer dereference darkplaces/model_brush.c:5301:20: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5302:20: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5303:20: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5304:15: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5470:49: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5471:49: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5472:49: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5473:49: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5474:49: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5475:49: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5476:58: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5477:58: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5478:59: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:5479:59: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:6057:44: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:6058:44: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:6059:44: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:6060:44: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:6061:44: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:6062:44: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:6401:19: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:6402:19: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] darkplaces/model_brush.c:8549:38: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_brush.c:8550:39: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_brush.c:8551:39: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_brush.c:8552:38: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_brush.c:8553:47: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] darkplaces/model_brush.c:4500:206: style: Same expression '64' found multiple times in chain of '|' operators. [duplicateExpression] darkplaces/model_brush.c:6223:18: style: Variable 'finalvertices' is reassigned a value before the old one has been used. [redundantAssignment] darkplaces/model_brush.c:6198:18: note: finalvertices is assigned darkplaces/model_brush.c:6223:18: note: finalvertices is overwritten darkplaces/model_brush.c:7034:142: style:inconclusive: Function 'Mod_CollisionBIH_TraceBrush' argument 5 names different: declaration 'start' definition 'thisbrush_start'. [funcArgNamesDifferent] darkplaces/model_shared.h:1231:163: note: Function 'Mod_CollisionBIH_TraceBrush' argument 5 names different: declaration 'start' definition 'thisbrush_start'. darkplaces/model_brush.c:7034:142: note: Function 'Mod_CollisionBIH_TraceBrush' argument 5 names different: declaration 'start' definition 'thisbrush_start'. darkplaces/model_brush.c:7034:172: style:inconclusive: Function 'Mod_CollisionBIH_TraceBrush' argument 6 names different: declaration 'end' definition 'thisbrush_end'. [funcArgNamesDifferent] darkplaces/model_shared.h:1231:190: note: Function 'Mod_CollisionBIH_TraceBrush' argument 6 names different: declaration 'end' definition 'thisbrush_end'. darkplaces/model_brush.c:7034:172: note: Function 'Mod_CollisionBIH_TraceBrush' argument 6 names different: declaration 'end' definition 'thisbrush_end'. darkplaces/model_brush.c:7234:93: style:inconclusive: Function 'Mod_CollisionBIH_PointSuperContents_Mesh' argument 3 names different: declaration 'point' definition 'start'. [funcArgNamesDifferent] darkplaces/model_shared.h:1235:93: note: Function 'Mod_CollisionBIH_PointSuperContents_Mesh' argument 3 names different: declaration 'point' definition 'start'. darkplaces/model_brush.c:7234:93: note: Function 'Mod_CollisionBIH_PointSuperContents_Mesh' argument 3 names different: declaration 'point' definition 'start'. darkplaces/model_brush.c:164:11: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:468:101: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:470:10: style: Variable 'tri' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:1356:164: style: Parameter 'mid' can be declared as const array [constParameter] darkplaces/model_brush.c:1538:125: style: Parameter 'outend' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:1541:17: style: Variable 'outstart' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:1903:22: style: Variable 'pixels' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:2103:17: style: Variable 'in' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:2287:64: style: Parameter 'hullinfo' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:3402:18: style: Variable 'endleaf' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:3603:23: style: Variable 'plane' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:3799:18: style: Variable 'pvs' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:5190:44: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:5257:44: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:5284:42: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:5309:46: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:5337:49: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:5365:43: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:5424:43: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:5453:44: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:5521:45: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:5555:45: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:5555:56: style: Parameter 'faceslump' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:5579:17: style: Variable 'c' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:6382:42: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:6419:47: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:6443:45: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:6467:41: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:6509:41: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:6564:18: style: Variable 'in' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:7234:62: style: Parameter 'model' can be declared as pointer to const. However it seems that 'Mod_CollisionBIH_PointSuperContents_Mesh' is a callback function, if 'model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] darkplaces/model_brush.c:8186:34: note: You might need to cast the function pointer here darkplaces/model_brush.c:7234:62: note: Parameter 'model' can be declared as pointer to const darkplaces/model_brush.c:7380:12: style: Variable 'plane' can be declared as pointer to const [constVariablePointer] darkplaces/model_brush.c:8112:31: style: Parameter 'mod' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:8112:42: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:8112:56: style: Parameter 'bufferend' can be declared as pointer to const [constParameterPointer] darkplaces/model_brush.c:1098:32: style: Variable 'cbox_planes[5].q3surfaceflags' is assigned a value that is never used. [unreadVariable] darkplaces/model_brush.c:1098:75: style: Variable 'cbox_planes[5].texture' is assigned a value that is never used. [unreadVariable] diff: 2.16.0 darkplaces/cap_ogg.c:1072:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head darkplaces/cap_ogg.c:1072:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cap_ogg.c:785:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head darkplaces/cap_ogg.c:785:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cd_shared.c:490:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cd_shared.c:490:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_collision.c:109:33: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/cl_collision.c:109:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_collision.c:125:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/cl_collision.c:125:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_collision.c:180:32: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/cl_collision.c:180:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_collision.c:281:27: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/cl_collision.c:281:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_collision.c:499:27: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/cl_collision.c:499:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_collision.c:744:27: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/cl_collision.c:744:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_collision.c:965:34: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/cl_collision.c:965:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/cl_input.c:1121:94: style: Parameter 'wishdir' can be declared as const array [constParameter] head darkplaces/cl_input.c:1164:90: style: Parameter 'wishdir' can be declared as const array [constParameter] head darkplaces/cl_input.c:1244:93: style: Parameter 'wishdir' can be declared as const array [constParameter] 2.16.0 darkplaces/cl_main.c:1817:93: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_main.c:1817:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_main.c:2246:59: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] 2.16.0 darkplaces/cl_main.c:2796:39: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_main.c:2796:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_main.c:672:23: style: Parameter 'org' can be declared as const array [constParameter] 2.16.0 darkplaces/cl_parse.c:2286:41: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_parse.c:2286:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_parse.c:2355:34: style: Parameter 'start' can be declared as const array [constParameter] head darkplaces/cl_parse.c:2355:48: style: Parameter 'end' can be declared as const array [constParameter] 2.16.0 darkplaces/cl_parse.c:677:132: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable Draw [valueFlowBailoutIncompleteVar] head darkplaces/cl_parse.c:677:132: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Draw [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:1556:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:1556:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:1717:25: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:1717:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:1865:75: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:1865:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:1911:60: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:1911:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:1923:106: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:1923:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:1935:100: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:1935:100: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:1950:90: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:1950:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:1986:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:1986:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:2020:61: style: Parameter 'light' can be declared as const array [constParameter] 2.16.0 darkplaces/cl_particles.c:2077:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:2077:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:3048:214: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:3048:214: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:684:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:684:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:842:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:842:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:913:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:913:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_particles.c:956:90: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/cl_particles.c:956:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_video_jamdecode.c:157:43: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vec3_origin [valueFlowBailoutIncompleteVar] head darkplaces/cl_video_jamdecode.c:157:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec3_origin [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_video_libavw.c:168:45: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vec3_origin [valueFlowBailoutIncompleteVar] head darkplaces/cl_video_libavw.c:168:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec3_origin [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/cl_video_libavw.c:252:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MAX_OSPATH [valueFlowBailoutIncompleteVar] head darkplaces/cl_video_libavw.c:252:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_OSPATH [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:101:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:101:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:1138:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:1138:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:1276:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:1276:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:1335:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:1335:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:1391:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:1391:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:1456:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:1456:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:1504:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:1504:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:1773:53: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:1773:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:218:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:218:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:2335:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:2335:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:2358:51: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:2358:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:2376:56: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:2376:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:2400:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:2400:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:2485:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:2485:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:2593:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:2593:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:2740:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:2740:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:2774:37: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:2774:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:277:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:277:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:2949:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:2949:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:3069:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:3069:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:3204:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:3204:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:3392:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:3392:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:3464:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:3464:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:3590:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:3590:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:362:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:362:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:3674:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:3674:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:36:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:36:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:3837:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:3837:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:3862:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:3862:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:3895:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:3895:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:3917:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:3917:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:3939:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:3939:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:4093:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:4093:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:501:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:501:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:537:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:537:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:602:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:602:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:60:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:60:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:706:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:706:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:759:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:759:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/clvm_cmds.c:75:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/clvm_cmds.c:75:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/cmd.c:282:8: style: Variable 'firstchar' can be declared as pointer to const [constVariablePointer] 2.16.0 darkplaces/conproc.c:110:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable WAIT_OBJECT_0 [valueFlowBailoutIncompleteVar] head darkplaces/conproc.c:110:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_OBJECT_0 [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/conproc.c:162:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable FILE_MAP_READ [valueFlowBailoutIncompleteVar] head darkplaces/conproc.c:162:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_MAP_READ [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/conproc.c:235:19: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable KEY_EVENT [valueFlowBailoutIncompleteVar] head darkplaces/conproc.c:235:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_EVENT [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/conproc.c:80:26: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable STD_OUTPUT_HANDLE [valueFlowBailoutIncompleteVar] head darkplaces/conproc.c:80:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STD_OUTPUT_HANDLE [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/console.c:2048:26: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] head darkplaces/console.c:2048:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] head darkplaces/console.c:2295:45: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] head darkplaces/console.c:2295:54: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] head darkplaces/console.c:2490:12: style: Variable 'b' can be declared as pointer to const [constVariablePointer] head darkplaces/console.c:2549:12: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.16.0 darkplaces/console.c:700:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable mask [valueFlowBailoutIncompleteVar] head darkplaces/console.c:700:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mask [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/console.c:777:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] head darkplaces/console.c:777:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/console.c:819:30: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] head darkplaces/console.c:819:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/crypto-keygen-standalone.c:148:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head darkplaces/crypto-keygen-standalone.c:148:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/crypto-keygen-standalone.c:171:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head darkplaces/crypto-keygen-standalone.c:171:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/crypto-keygen-standalone.c:221:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head darkplaces/crypto-keygen-standalone.c:221:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/crypto-keygen-standalone.c:246:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head darkplaces/crypto-keygen-standalone.c:246:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/crypto-keygen-standalone.c:294:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head darkplaces/crypto-keygen-standalone.c:294:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:1135:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:1135:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:1175:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:1175:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:1201:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:1201:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:1226:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:1226:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:204:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:204:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:217:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:217:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:229:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:229:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:25:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:25:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:265:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:265:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:277:5: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:277:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:327:37: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:327:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:453:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:453:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:482:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:482:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:516:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:516:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:539:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:539:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:622:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:622:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:638:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:638:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:692:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:692:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:710:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:710:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:720:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:720:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:733:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:733:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:779:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:779:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:816:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:816:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/csprogs.c:927:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/csprogs.c:927:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/curves.c:273:64: style: Parameter 'vertex' can be declared as pointer to const [constParameterPointer] 2.16.0 darkplaces/cvar.c:296:5: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/cvar.c:296:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/fractalnoise.c:154:38: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/fractalnoise.c:154:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/fs.c:2227:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] head darkplaces/fs.c:2227:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/fs.c:2320:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head darkplaces/fs.c:2320:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/fs.c:2396:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head darkplaces/fs.c:2396:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/fs.c:2767:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head darkplaces/fs.c:2767:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/fs.c:2789:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head darkplaces/fs.c:2789:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/fs.c:2884:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head darkplaces/fs.c:2884:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/fs.c:3138:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head darkplaces/fs.c:3138:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/fs.c:3154:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head darkplaces/fs.c:3154:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/fs.c:3301:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head darkplaces/fs.c:3301:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head darkplaces/fs.c:569:26: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] 2.16.0 darkplaces/ft2.c:708:50: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable face_flags [valueFlowBailoutIncompleteVar] head darkplaces/ft2.c:708:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face_flags [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/gl_draw.c:759:24: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable title [valueFlowBailoutIncompleteVar] head darkplaces/gl_draw.c:759:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable title [valueFlowBailoutIncompleteVar] head darkplaces/gl_rmain.c:10164:25: style: Parameter 'start' can be declared as const array [constParameter] head darkplaces/gl_rmain.c:10164:39: style: Parameter 'end' can be declared as const array [constParameter] 2.16.0 darkplaces/gl_rmain.c:2762:36: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/gl_rmain.c:2762:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/gl_rmain.c:3916:114: style: Parameter 'eye' can be declared as const array [constParameter] head darkplaces/gl_rmain.c:3916:126: style: Parameter 'entboxmins' can be declared as const array [constParameter] head darkplaces/gl_rmain.c:3916:145: style: Parameter 'entboxmaxs' can be declared as const array [constParameter] 2.16.0 darkplaces/gl_rmain.c:3996:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/gl_rmain.c:3996:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/gl_rmain.c:5311:25: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/gl_rmain.c:5311:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/gl_rmain.c:6066:35: style: Parameter 'mins' can be declared as const array [constParameter] head darkplaces/gl_rmain.c:6066:48: style: Parameter 'maxs' can be declared as const array [constParameter] 2.16.0 darkplaces/gl_rmain.c:6132:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/gl_rmain.c:6132:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/gl_rmain.c:6167:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/gl_rmain.c:6167:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/gl_rmain.c:9889:8: style: Condition 'cullbox' is always false [knownConditionTrueFalse] darkplaces/gl_rmain.c:9881:22: note: Assignment 'cullbox=false', assigned value is 0 darkplaces/gl_rmain.c:9889:8: note: Condition 'cullbox' is always false head darkplaces/gl_rsurf.c:1213:56: style: Parameter 'relativelightorigin' can be declared as const array [constParameter] 2.16.0 darkplaces/gl_rsurf.c:253:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/gl_rsurf.c:253:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host.c:499:18: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/host.c:499:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host.c:603:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host.c:603:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host.c:914:5: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host.c:914:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:1226:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:1226:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:1290:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:1290:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:1350:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:1350:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:1428:44: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:1428:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:1617:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:1617:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:162:43: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:162:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:1750:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:1750:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:1840:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:1840:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:1912:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:1912:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:2176:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:2176:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:220:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:220:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:2274:37: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:2274:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:2301:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:2301:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:2327:30: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:2327:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:2363:30: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:2363:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:236:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:236:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:2390:30: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:2390:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:254:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:254:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:284:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:284:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:587:87: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:587:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/host_cmd.c:720:56: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/host_cmd.c:720:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/image.c:1825:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/image.c:1825:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/image.c:198:21: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.16.0 darkplaces/lhnet.c:1149:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head darkplaces/lhnet.c:1149:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/lhnet.c:1221:147: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] head darkplaces/lhnet.c:1221:147: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/lhnet.c:142:33: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head darkplaces/lhnet.c:142:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/lhnet.c:171:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] head darkplaces/lhnet.c:171:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/lhnet.c:214:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] head darkplaces/lhnet.c:214:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/lhnet.c:839:18: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head darkplaces/lhnet.c:839:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/lhnet.c:942:47: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] head darkplaces/lhnet.c:942:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:1011:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:1011:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:1043:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_transfusion_episode [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:1043:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_transfusion_episode [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:1101:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_transfusion_skill [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:1101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_transfusion_skill [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:1203:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_multiplayer [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:1203:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_multiplayer [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:1292:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_setup [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:1292:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_setup [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:1582:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_options [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:1582:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_options [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:1738:14: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:1738:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:1818:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_options_effects [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:1818:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_options_effects [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:1981:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_options_graphics [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:1981:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_options_graphics [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:2035:20: style: Argument '(32+20*8)>=(200)?((32+20*8)<(vid_conheight.integer)?(32+20*8):(vid_conheight.integer)):200' to function M_Background is always 200. It does not matter what value 'vid_conheight.integer' has. [knownArgument] 2.16.0 darkplaces/menu.c:2114:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_options_colorcontrol [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:2114:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_options_colorcontrol [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:2560:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_keys [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:2560:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_keys [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:2743:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_reset [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:2743:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_reset [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:2760:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_options [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:2760:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_options [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:283:75: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_main [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:283:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_main [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:2876:37: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:2876:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:2907:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_video [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:2907:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_video [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:2942:118: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:2942:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:3010:54: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:3010:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:3055:84: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:3055:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:3102:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_help [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:3102:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_help [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:3148:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_credits [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:3148:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_credits [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:317:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_demo [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:317:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_demo [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:3258:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_quit [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:3258:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_quit [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:3287:14: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:3287:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:3338:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_lanconfig [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:3338:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_lanconfig [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:333:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:333:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:3962:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_gameoptions [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:3962:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_gameoptions [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:429:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_main [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:429:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_main [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:4396:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_slist [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:4396:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_slist [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:4427:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable serverlist_viewcount [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:4427:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_viewcount [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:4480:19: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable serverlist_viewcount [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:4480:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_viewcount [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:4605:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_modlist [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:4605:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_modlist [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:4769:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:4769:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:508:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:508:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:5209:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:5209:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:5285:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:5285:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:5298:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:5298:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:5328:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:5328:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:5336:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:5336:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:5344:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:5344:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:5361:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:5361:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:5374:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:5374:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MVM_prog [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:5492:25: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:5492:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:743:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_singleplayer [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:743:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_singleplayer [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:789:14: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_main [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:789:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_main [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:893:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_load [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:893:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_load [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:914:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_save [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:914:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_save [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/menu.c:972:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] head darkplaces/menu.c:972:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_none [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/model_brush.c:3172:125: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable contents [valueFlowBailoutIncompleteVar] head darkplaces/model_brush.c:3172:125: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable contents [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/model_brush.c:3425:84: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable clusterindex [valueFlowBailoutIncompleteVar] head darkplaces/model_brush.c:3425:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clusterindex [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/model_brush.c:8384:32: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable objvertex_t [valueFlowBailoutIncompleteVar] head darkplaces/model_brush.c:8384:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable objvertex_t [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/model_shared.c:3860:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/model_shared.c:3860:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/mvm_cmds.c:259:33: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable serverlist_viewcount [valueFlowBailoutIncompleteVar] head darkplaces/mvm_cmds.c:259:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_viewcount [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/mvm_cmds.c:322:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable serverlist_andmasks [valueFlowBailoutIncompleteVar] head darkplaces/mvm_cmds.c:322:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_andmasks [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/mvm_cmds.c:384:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable serverlist_andmasks [valueFlowBailoutIncompleteVar] head darkplaces/mvm_cmds.c:384:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_andmasks [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/mvm_cmds.c:465:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable serverlist_callbackentry [valueFlowBailoutIncompleteVar] head darkplaces/mvm_cmds.c:465:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_callbackentry [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/mvm_cmds.c:530:21: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable serverlist_callbackentry [valueFlowBailoutIncompleteVar] head darkplaces/mvm_cmds.c:530:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_callbackentry [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/mvm_cmds.c:587:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable serverlist_sortbyfield [valueFlowBailoutIncompleteVar] head darkplaces/mvm_cmds.c:587:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serverlist_sortbyfield [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/mvm_cmds.c:623:32: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SLIF_CNAME [valueFlowBailoutIncompleteVar] head darkplaces/mvm_cmds.c:623:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLIF_CNAME [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/netconn.c:2528:40: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/netconn.c:2528:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/netconn.c:3240:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] head darkplaces/netconn.c:3259:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] head darkplaces/portals.c:208:59: style: Parameter 'a' can be declared as const array [constParameter] head darkplaces/portals.c:208:69: style: Parameter 'b' can be declared as const array [constParameter] 2.16.0 darkplaces/protocol.c:1064:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/protocol.c:1064:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/protocol.c:1277:50: style: Parameter 'eye' can be declared as const array [constParameter] head darkplaces/protocol.c:1309:68: style: Parameter 'eye' can be declared as const array [constParameter] head darkplaces/protocol.c:1361:68: style: Parameter 'eye' can be declared as const array [constParameter] 2.16.0 darkplaces/protocol.c:1451:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] head darkplaces/protocol.c:1451:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/protocol.c:1941:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] head darkplaces/protocol.c:1941:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/protocol.c:2126:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/protocol.c:2126:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/protocol.c:293:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] head darkplaces/protocol.c:293:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/protocol.c:469:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] head darkplaces/protocol.c:469:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/protocol.c:719:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] head darkplaces/protocol.c:719:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:1137:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:1137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:1185:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:1185:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:1273:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:1273:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:1629:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:1629:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:209:24: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:209:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:3322:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:3322:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:3332:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:3332:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:335:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:335:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:358:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:358:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:4349:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:4349:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:4368:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:4368:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:5560:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:5560:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:5627:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:5627:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:563:29: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:563:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:6029:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:6029:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:6047:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:6047:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:6921:105: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:6921:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:6997:116: style: Parameter 'p' can be declared as const array [constParameter] 2.16.0 darkplaces/prvm_cmds.c:7253:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:7253:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:72:35: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:72:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:7329:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:7329:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:7353:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:7353:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_cmds.c:7379:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_cmds.c:7379:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_edict.c:1401:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_edict.c:1401:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_edict.c:2793:43: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] head darkplaces/prvm_edict.c:2793:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_edict.c:3203:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/prvm_edict.c:3203:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_edict.c:3235:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/prvm_edict.c:3235:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_edict.c:3284:37: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/prvm_edict.c:3284:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/prvm_edict.c:3338:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/prvm_edict.c:3338:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/r_lightning.c:42:25: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/r_lightning.c:42:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/r_shadow.c:1679:95: style: Parameter 'color' can be declared as const array [constParameter] head darkplaces/r_shadow.c:2952:85: style: Parameter 'color' can be declared as const array [constParameter] 2.16.0 darkplaces/r_shadow.c:3137:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] head darkplaces/r_shadow.c:3137:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] head darkplaces/r_shadow.c:4649:63: style: Parameter 'origin' can be declared as const array [constParameter] head darkplaces/r_shadow.c:4649:78: style: Parameter 'angles' can be declared as const array [constParameter] head darkplaces/r_shadow.c:4649:93: style: Parameter 'color' can be declared as const array [constParameter] head darkplaces/r_shadow.c:4842:37: style: Variable 't' can be declared as pointer to const [constVariablePointer] 2.16.0 darkplaces/r_shadow.c:979:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] head darkplaces/r_shadow.c:979:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/r_sprites.c:54:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] head darkplaces/r_sprites.c:54:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sbar.c:1824:35: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable maxwidth [valueFlowBailoutIncompleteVar] head darkplaces/sbar.c:1824:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maxwidth [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sbar.c:1909:67: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable maxwidth [valueFlowBailoutIncompleteVar] head darkplaces/sbar.c:1909:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maxwidth [valueFlowBailoutIncompleteVar] head darkplaces/snd_main.c:1619:96: style: Parameter 'origin' can be declared as const array [constParameter] 2.16.0 darkplaces/snd_main.c:1737:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/snd_main.c:1737:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/snd_null.c:63:40: style: Parameter 'origin' can be declared as const array [constParameter] head darkplaces/snd_null.c:67:66: style: Parameter 'origin' can be declared as const array [constParameter] head darkplaces/snd_null.c:72:86: style: Parameter 'origin' can be declared as const array [constParameter] 2.16.0 darkplaces/snd_oss.c:190:19: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SNDCTL_DSP_RESET [valueFlowBailoutIncompleteVar] head darkplaces/snd_oss.c:190:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCTL_DSP_RESET [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/snd_oss.c:217:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head darkplaces/snd_oss.c:217:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/snd_oss.c:287:23: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SNDCTL_DSP_GETOPTR [valueFlowBailoutIncompleteVar] head darkplaces/snd_oss.c:287:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCTL_DSP_GETOPTR [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/snd_oss.c:76:33: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] head darkplaces/snd_oss.c:76:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/snd_sdl.c:105:25: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] head darkplaces/snd_sdl.c:105:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] head darkplaces/snd_sdl.c:42:29: style: Condition 'SndSys_LockRenderBuffer()' is always true [knownConditionTrueFalse] darkplaces/snd_sdl.c:42:29: note: Calling function 'SndSys_LockRenderBuffer' returns 1 darkplaces/snd_sdl.c:42:29: note: Condition 'SndSys_LockRenderBuffer()' is always true 2.16.0 darkplaces/sv_demo.c:20:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_demo.c:20:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_demo.c:49:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_demo.c:49:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_demo.c:70:51: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_demo.c:70:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:1125:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:1125:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:1179:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:1179:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:1492:109: style: Parameter 'entboxmins' can be declared as const array [constParameter] head darkplaces/sv_main.c:1492:128: style: Parameter 'entboxmaxs' can be declared as const array [constParameter] head darkplaces/sv_main.c:1492:97: style: Parameter 'eye' can be declared as const array [constParameter] 2.16.0 darkplaces/sv_main.c:1533:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:1533:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:1645:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:1645:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:1781:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:1781:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable function [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:1862:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:1862:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:1982:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:1982:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:2007:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:2007:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:2508:31: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:2508:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:3100:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:3100:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:3127:35: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:3127:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:3248:25: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:3248:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:3313:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:3313:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:3614:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:3614:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:3664:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:3664:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:3699:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:3699:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:3721:14: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:3721:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:3783:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable modelindex [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:3783:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable modelindex [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_main.c:4048:5: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:4048:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:647:31: style: Parameter 'org' can be declared as const array [constParameter] head darkplaces/sv_main.c:647:43: style: Parameter 'dir' can be declared as const array [constParameter] head darkplaces/sv_main.c:671:29: style: Parameter 'org' can be declared as const array [constParameter] 2.16.0 darkplaces/sv_main.c:789:25: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:789:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:809:33: style: Parameter 'origin' can be declared as const array [constParameter] 2.16.0 darkplaces/sv_main.c:983:28: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/sv_main.c:983:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_move.c:119:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_move.c:119:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_move.c:263:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_move.c:263:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_move.c:298:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_move.c:298:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_move.c:317:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_move.c:317:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_move.c:427:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/sv_move.c:427:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_move.c:44:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_move.c:44:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:1025:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:1025:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:1071:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:1071:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:1105:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:1105:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:1150:39: style: Parameter 'in' can be declared as const array [constParameter] head darkplaces/sv_phys.c:1150:50: style: Parameter 'normal' can be declared as const array [constParameter] 2.16.0 darkplaces/sv_phys.c:1196:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:1196:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:1428:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:1428:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:1454:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:1454:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:1535:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:1535:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:1583:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:1583:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:1673:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:1673:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:177:27: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:177:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:1970:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:1970:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2050:23: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2050:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2084:131: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2084:131: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2112:4: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2112:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2146:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2146:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2197:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2197:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2303:41: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2303:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2494:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2494:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2542:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2542:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2598:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2598:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2751:19: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2751:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2828:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2828:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2900:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2900:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:2949:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:2949:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:3006:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:3006:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:3025:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:3025:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:3064:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:3064:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:3152:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:3152:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:326:27: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:326:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:504:27: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:504:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:56:22: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:56:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:630:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:630:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:674:36: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:674:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:690:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:690:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:722:6: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:722:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:78:32: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:78:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:799:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:799:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:914:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:914:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_phys.c:983:5: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_phys.c:983:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:119:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:119:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:159:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:159:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:181:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:181:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:200:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:200:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:239:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:239:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:292:16: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:292:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:317:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:317:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:381:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:381:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:45:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:602:177: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:602:177: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:725:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:725:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sv_user.c:878:5: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/sv_user.c:878:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:1028:7: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:1028:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:1086:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:1086:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:1141:8: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:1141:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:1292:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:1292:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:1398:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:1398:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:1525:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:1525:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edict [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:1598:5: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:1598:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:1806:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:1806:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:2382:56: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:2382:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:2401:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:2401:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:2419:56: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:2419:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:2435:10: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:2435:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:2486:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:2486:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:259:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:259:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:2614:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:2614:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:275:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:275:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:2761:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:2761:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:3008:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:3008:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:3033:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:3033:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:3066:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:3066:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:3088:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:3088:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:3110:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:3110:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:344:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:344:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:3854:3: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:3854:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:714:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:714:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:802:48: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:802:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:849:32: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:849:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/svvm_cmds.c:918:2: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] head darkplaces/svvm_cmds.c:918:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sys_linux.c:151:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head darkplaces/sys_linux.c:151:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sys_linux.c:25:9: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head darkplaces/sys_linux.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sys_sdl.c:192:17: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head darkplaces/sys_sdl.c:192:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sys_sdl.c:42:31: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] head darkplaces/sys_sdl.c:42:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sys_sdl.c:56:31: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] head darkplaces/sys_sdl.c:56:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sys_win.c:119:36: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] head darkplaces/sys_win.c:119:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sys_win.c:157:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable EventType [valueFlowBailoutIncompleteVar] head darkplaces/sys_win.c:157:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EventType [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sys_win.c:212:43: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable CF_TEXT [valueFlowBailoutIncompleteVar] head darkplaces/sys_win.c:212:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_TEXT [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sys_win.c:240:26: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable STD_OUTPUT_HANDLE [valueFlowBailoutIncompleteVar] head darkplaces/sys_win.c:240:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STD_OUTPUT_HANDLE [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sys_win.c:317:29: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MEMORYSTATUS [valueFlowBailoutIncompleteVar] head darkplaces/sys_win.c:317:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEMORYSTATUS [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/sys_win.c:79:41: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable MB_OK [valueFlowBailoutIncompleteVar] head darkplaces/sys_win.c:79:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_OK [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/thread_pthread.c:35:35: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] head darkplaces/thread_pthread.c:35:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] head darkplaces/thread_win.c:115:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] darkplaces/thread_win.c:114:44: note: Assuming allocation function fails darkplaces/thread_win.c:114:21: note: Assignment 'c=(struct thread_cond_t*)calloc(sizeof(*c),1)', assigned value is 0 darkplaces/thread_win.c:115:2: note: Null pointer dereference head darkplaces/thread_win.c:116:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] darkplaces/thread_win.c:114:44: note: Assuming allocation function fails darkplaces/thread_win.c:114:21: note: Assignment 'c=(struct thread_cond_t*)calloc(sizeof(*c),1)', assigned value is 0 darkplaces/thread_win.c:116:2: note: Null pointer dereference head darkplaces/thread_win.c:117:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] darkplaces/thread_win.c:114:44: note: Assuming allocation function fails darkplaces/thread_win.c:114:21: note: Assignment 'c=(struct thread_cond_t*)calloc(sizeof(*c),1)', assigned value is 0 darkplaces/thread_win.c:117:2: note: Null pointer dereference head darkplaces/thread_win.c:118:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] darkplaces/thread_win.c:114:44: note: Assuming allocation function fails darkplaces/thread_win.c:114:21: note: Assignment 'c=(struct thread_cond_t*)calloc(sizeof(*c),1)', assigned value is 0 darkplaces/thread_win.c:118:2: note: Null pointer dereference head darkplaces/thread_win.c:119:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] darkplaces/thread_win.c:114:44: note: Assuming allocation function fails darkplaces/thread_win.c:114:21: note: Assignment 'c=(struct thread_cond_t*)calloc(sizeof(*c),1)', assigned value is 0 darkplaces/thread_win.c:119:2: note: Null pointer dereference 2.16.0 darkplaces/thread_win.c:144:32: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] head darkplaces/thread_win.c:144:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/thread_win.c:165:32: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] head darkplaces/thread_win.c:165:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/thread_win.c:187:32: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] head darkplaces/thread_win.c:187:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] head darkplaces/thread_win.c:233:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] darkplaces/thread_win.c:229:48: note: Assuming allocation function fails darkplaces/thread_win.c:229:23: note: Assignment 'w=(struct threadwrapper_t*)calloc(sizeof(*w),1)', assigned value is 0 darkplaces/thread_win.c:233:2: note: Null pointer dereference head darkplaces/thread_win.c:234:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] darkplaces/thread_win.c:229:48: note: Assuming allocation function fails darkplaces/thread_win.c:229:23: note: Assignment 'w=(struct threadwrapper_t*)calloc(sizeof(*w),1)', assigned value is 0 darkplaces/thread_win.c:234:2: note: Null pointer dereference head darkplaces/thread_win.c:235:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] darkplaces/thread_win.c:229:48: note: Assuming allocation function fails darkplaces/thread_win.c:229:23: note: Assignment 'w=(struct threadwrapper_t*)calloc(sizeof(*w),1)', assigned value is 0 darkplaces/thread_win.c:235:2: note: Null pointer dereference head darkplaces/thread_win.c:236:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] darkplaces/thread_win.c:229:48: note: Assuming allocation function fails darkplaces/thread_win.c:229:23: note: Assignment 'w=(struct threadwrapper_t*)calloc(sizeof(*w),1)', assigned value is 0 darkplaces/thread_win.c:236:2: note: Null pointer dereference 2.16.0 darkplaces/thread_win.c:247:33: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] head darkplaces/thread_win.c:247:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/thread_win.c:48:37: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] head darkplaces/thread_win.c:48:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] head darkplaces/thread_win.c:69:2: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] darkplaces/thread_win.c:68:54: note: Assuming allocation function fails darkplaces/thread_win.c:68:26: note: Assignment 's=(struct thread_semaphore_t*)calloc(sizeof(*s),1)', assigned value is 0 darkplaces/thread_win.c:69:2: note: Null pointer dereference head darkplaces/thread_win.c:70:2: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] darkplaces/thread_win.c:68:54: note: Assuming allocation function fails darkplaces/thread_win.c:68:26: note: Assignment 's=(struct thread_semaphore_t*)calloc(sizeof(*s),1)', assigned value is 0 darkplaces/thread_win.c:70:2: note: Null pointer dereference 2.16.0 darkplaces/thread_win.c:83:11: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable WAIT_OBJECT_0 [valueFlowBailoutIncompleteVar] head darkplaces/thread_win.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_OBJECT_0 [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/vid_sdl.c:1071:34: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SDL_PRESSED [valueFlowBailoutIncompleteVar] head darkplaces/vid_sdl.c:1071:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PRESSED [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/vid_sdl.c:1317:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] head darkplaces/vid_sdl.c:1317:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/vid_sdl.c:1432:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_SHOWN [valueFlowBailoutIncompleteVar] head darkplaces/vid_sdl.c:1432:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_SHOWN [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/vid_sdl.c:1589:19: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] head darkplaces/vid_sdl.c:1589:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/vid_sdl.c:1604:20: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] head darkplaces/vid_sdl.c:1604:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/vid_sdl.c:205:61: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable KMOD_NUM [valueFlowBailoutIncompleteVar] head darkplaces/vid_sdl.c:205:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KMOD_NUM [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/vid_sdl.c:344:43: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] head darkplaces/vid_sdl.c:344:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/vid_sdl.c:381:81: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] head darkplaces/vid_sdl.c:381:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] 2.16.0 darkplaces/vid_shared.c:1133:12: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/vid_shared.c:1133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head darkplaces/view.c:440:29: style: Parameter 'value' can be declared as const array [constParameter] head darkplaces/view.c:447:30: style: Parameter 'value' can be declared as const array [constParameter] head darkplaces/view.c:454:38: style: Parameter 'value' can be declared as const array [constParameter] 2.16.0 darkplaces/zone.c:388:79: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable pool [valueFlowBailoutIncompleteVar] head darkplaces/zone.c:388:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pool [valueFlowBailoutIncompleteVar] DONE