2025-11-19 01:50 ftp://ftp.de.debian.org/debian/pool/main/q/quakespasm/quakespasm_0.96.3+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-87-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 1ca1246 (2025-11-18 18:56:39 +0100) count: 620 605 elapsed-time: 60.4 68.0 head-timing-info: old-timing-info: head results: quakespasm-0.96.3/Misc/mk_header.c:23:23: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Misc/systest.c:199:120: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Misc/systest.c:173:19: style: Condition '*(char*)&i==0x12' is always false [knownConditionTrueFalse] quakespasm-0.96.3/Misc/systest.c:159:10: note: Assignment 'i=0x12345678', assigned value is 305419896 quakespasm-0.96.3/Misc/systest.c:173:19: note: Condition '*(char*)&i==0x12' is always false quakespasm-0.96.3/Misc/systest.c:175:24: style: Condition '*(char*)&i==0x78' is always false [knownConditionTrueFalse] quakespasm-0.96.3/Misc/systest.c:159:10: note: Assignment 'i=0x12345678', assigned value is 305419896 quakespasm-0.96.3/Misc/systest.c:175:24: note: Condition '*(char*)&i==0x78' is always false quakespasm-0.96.3/Misc/systest.c:177:24: style: Condition '*(char*)&i==0x34' is always false [knownConditionTrueFalse] quakespasm-0.96.3/Misc/systest.c:159:10: note: Assignment 'i=0x12345678', assigned value is 305419896 quakespasm-0.96.3/Misc/systest.c:177:24: note: Condition '*(char*)&i==0x34' is always false quakespasm-0.96.3/Misc/systest.c:197:58: style: Condition 'tmp<0' is always true [knownConditionTrueFalse] quakespasm-0.96.3/Misc/systest.c:195:13: note: Assignment 'tmp=(char)-1', assigned value is -1 quakespasm-0.96.3/Misc/systest.c:197:58: note: Condition 'tmp<0' is always true quakespasm-0.96.3/Misc/systest.c:197:84: style: Condition 'tmp<0' is always true [knownConditionTrueFalse] quakespasm-0.96.3/Misc/systest.c:195:13: note: Assignment 'tmp=(char)-1', assigned value is -1 quakespasm-0.96.3/Misc/systest.c:197:84: note: Condition 'tmp<0' is always true quakespasm-0.96.3/Misc/systest.c:183:32: style: struct member 'align_test_char::dummy' is never used. [unusedStructMember] quakespasm-0.96.3/Misc/systest.c:184:33: style: struct member 'align_test_short::dummy' is never used. [unusedStructMember] quakespasm-0.96.3/Misc/systest.c:185:31: style: struct member 'align_test_int::dummy' is never used. [unusedStructMember] quakespasm-0.96.3/Misc/systest.c:186:32: style: struct member 'align_test_long::dummy' is never used. [unusedStructMember] quakespasm-0.96.3/Misc/systest.c:187:35: style: struct member 'align_test_longlong::dummy' is never used. [unusedStructMember] quakespasm-0.96.3/Misc/systest.c:188:33: style: struct member 'align_test_float::dummy' is never used. [unusedStructMember] quakespasm-0.96.3/Misc/systest.c:189:33: style: struct member 'align_test_double::dummy' is never used. [unusedStructMember] quakespasm-0.96.3/Misc/systest.c:190:37: style: struct member 'align_test_longdouble::dummy' is never used. [unusedStructMember] quakespasm-0.96.3/Misc/systest.c:191:34: style: struct member 'align_test_voidptr::dummy' is never used. [unusedStructMember] quakespasm-0.96.3/Quake/bgmusic.c:418:14: style: Variable 'fileBytes' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/cfgfile.c:40:20: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/cl_demo.c:187:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/cl_demo.c:141:4: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] quakespasm-0.96.3/Quake/cl_demo.c:134:5: note: r is assigned quakespasm-0.96.3/Quake/cl_demo.c:141:4: note: r is overwritten quakespasm-0.96.3/Quake/cl_input.c:195:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] quakespasm-0.96.3/Quake/cl_input.c:197:3: note: Found duplicate branches for 'if' and 'else'. quakespasm-0.96.3/Quake/cl_input.c:195:3: note: Found duplicate branches for 'if' and 'else'. quakespasm-0.96.3/Quake/cl_main.c:234: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] quakespasm-0.96.3/Quake/cl_main.c:234:48: note: Assuming that condition 'cls.demonum==8' is not redundant quakespasm-0.96.3/Quake/cl_main.c:234:16: note: Array index out of bounds quakespasm-0.96.3/Quake/cl_main.c:640:11: style: Condition 'ret' is always true [knownConditionTrueFalse] quakespasm-0.96.3/Quake/cl_parse.c:752:16: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] quakespasm-0.96.3/Quake/cl_parse.c:751:17: note: Assuming that condition 'j<32' is not redundant quakespasm-0.96.3/Quake/cl_parse.c:752:16: note: Shift quakespasm-0.96.3/Quake/cl_tent.c:80:5: style: Variable 'b->entity' is assigned an expression that holds the same value. [redundantAssignment] quakespasm-0.96.3/Quake/cl_tent.c:78:17: note: Assuming that condition 'b->entity==ent' is not redundant quakespasm-0.96.3/Quake/cl_tent.c:80:5: note: Variable 'b->entity' is assigned an expression that holds the same value. quakespasm-0.96.3/Quake/cmd.c:537:18: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/cmd.c:734:18: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/cmd.c:781:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/cmd.c:649:8: style: Variable 'text' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/common.c:191:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:198:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:2388:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:2424:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:2464:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:2473:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:2490:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:2501:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:2510:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:2538:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:2586:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RW_SEEK_SET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:2602:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RW_SEEK_END [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/common.c:362:4: style: Consider using memcpy instead of loop. [useStandardLibrary] quakespasm-0.96.3/Quake/common.c:2879:48: style: Redundant condition: The condition '!*key' is redundant since '*key != '$'' is sufficient. [redundantCondition] quakespasm-0.96.3/Quake/common.c:1471:19: style: Condition '*(char*)&i==0x12' is always false [knownConditionTrueFalse] quakespasm-0.96.3/Quake/common.c:1458:10: note: Assignment 'i=0x12345678', assigned value is 305419896 quakespasm-0.96.3/Quake/common.c:1471:19: note: Condition '*(char*)&i==0x12' is always false quakespasm-0.96.3/Quake/common.c:1473:24: style: Condition '*(char*)&i==0x78' is always false [knownConditionTrueFalse] quakespasm-0.96.3/Quake/common.c:1458:10: note: Assignment 'i=0x12345678', assigned value is 305419896 quakespasm-0.96.3/Quake/common.c:1473:24: note: Condition '*(char*)&i==0x78' is always false quakespasm-0.96.3/Quake/common.c:183:2: error: Memory leak: new_buffer [memleak] quakespasm-0.96.3/Quake/common.c:1517:14: style: Variable 'va_buffers' can be declared as const array [constVariable] quakespasm-0.96.3/Quake/common.c:1816:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/common.c:2470:27: style: Parameter 'fh' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/common.c:2487:25: style: Parameter 'fh' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/common.c:2535:33: style: Parameter 'fh' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/common.c:2823:15: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/common.c:1517:14: style: Variable 'va_buffers' is not assigned a value. [unassignedVariable] quakespasm-0.96.3/Quake/console.c:478:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/console.c:1297:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/console.c:1292:59: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] quakespasm-0.96.3/Quake/console.c:325:16: style: Variable 'con_linewidth' is reassigned a value before the old one has been used. [redundantAssignment] quakespasm-0.96.3/Quake/console.c:322:16: note: con_linewidth is assigned quakespasm-0.96.3/Quake/console.c:325:16: note: con_linewidth is overwritten quakespasm-0.96.3/Quake/console.c:844:20: style: Variable 'i_name' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/console.c:899:15: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/console.c:900:12: style: Variable 'cvar' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/console.c:901:19: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/console.c:733:14: style: struct member 'cmd_function_s::function' is never used. [unusedStructMember] quakespasm-0.96.3/Quake/console.c:741:8: style: struct member 'cmdalias_s::value' is never used. [unusedStructMember] quakespasm-0.96.3/Quake/console.c:1143:5: style: Variable 'v' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/cvar.c:195:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/cvar.c:208:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/cvar.c:321:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/cvar.c:337:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/cvar.c:644:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_draw.c:469:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_draw.c:487:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_draw.c:513:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_draw.c:570:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_draw.c:605:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_draw.c:628:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_draw.c:655:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_draw.c:691:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_draw.c:767:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_draw.c:262:11: error: Buffer is accessed out of bounds: p->data [bufferAccessOutOfBounds] quakespasm-0.96.3/Quake/gl_draw.c:312:18: error: Buffer is accessed out of bounds: pic->pic.data [bufferAccessOutOfBounds] quakespasm-0.96.3/Quake/gl_draw.c:337:13: error: Buffer is accessed out of bounds: pic->data [bufferAccessOutOfBounds] quakespasm-0.96.3/Quake/gl_draw.c:626:8: style: Variable 'pal' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_fog.c:321:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FOG [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_fog.c:334:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FOG [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_fog.c:349:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FOG_COLOR [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_mesh.c:484:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ELEMENT_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_mesh.c:490:9: warning: If memory allocation fails, then there is a possible null pointer dereference: vbodata [nullPointerOutOfMemory] quakespasm-0.96.3/Quake/gl_mesh.c:489:27: note: Assuming allocation function fails quakespasm-0.96.3/Quake/gl_mesh.c:489:12: note: Assignment 'vbodata=(unsigned char*)malloc(totalvbosize)', assigned value is 0 quakespasm-0.96.3/Quake/gl_mesh.c:490:9: note: Null pointer dereference quakespasm-0.96.3/Quake/gl_mesh.c:496:43: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] quakespasm-0.96.3/Quake/gl_mesh.c:489:27: note: Assuming allocation function fails quakespasm-0.96.3/Quake/gl_mesh.c:489:12: note: Assignment 'vbodata=(unsigned char*)malloc(totalvbosize)', assigned value is 0 quakespasm-0.96.3/Quake/gl_mesh.c:496:43: note: Null pointer addition quakespasm-0.96.3/Quake/gl_mesh.c:528:30: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] quakespasm-0.96.3/Quake/gl_mesh.c:489:27: note: Assuming allocation function fails quakespasm-0.96.3/Quake/gl_mesh.c:489:12: note: Assignment 'vbodata=(unsigned char*)malloc(totalvbosize)', assigned value is 0 quakespasm-0.96.3/Quake/gl_mesh.c:528:30: note: Null pointer addition quakespasm-0.96.3/Quake/gl_mesh.c:330:5: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] quakespasm-0.96.3/Quake/gl_mesh.c:330:34: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] quakespasm-0.96.3/Quake/gl_mesh.c:331:5: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] quakespasm-0.96.3/Quake/gl_mesh.c:331:34: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] quakespasm-0.96.3/Quake/gl_model.c:590:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_GenerateMipmap [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_model.c:1089:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_model.c:1191:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_model.c:2637:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_model.c:2701:13: style: Redundant condition: The condition '*s' is redundant since '*s == ','' is sufficient. [redundantCondition] quakespasm-0.96.3/Quake/gl_model.c:1529:11: style: Condition 'p>=0' is always true [knownConditionTrueFalse] quakespasm-0.96.3/Quake/gl_model.c:1524:10: note: Assuming that condition 'p>0' is not redundant quakespasm-0.96.3/Quake/gl_model.c:1528:20: note: Assignment 'p=0xffffffff-p', assigned value is greater than 4294967294 quakespasm-0.96.3/Quake/gl_model.c:1529:11: note: Condition 'p>=0' is always true quakespasm-0.96.3/Quake/gl_model.c:2471:18: style: The comparison 'filledcolor == -1' is always true. [knownConditionTrueFalse] quakespasm-0.96.3/Quake/gl_model.c:2468:23: note: 'filledcolor' is assigned value '-1' here. quakespasm-0.96.3/Quake/gl_model.c:2471:18: note: The comparison 'filledcolor == -1' is always true. quakespasm-0.96.3/Quake/gl_model.c:106:34: style: Parameter 'p' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/gl_model.c:141:8: style: Variable 'outend' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_model.c:200:31: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:416:45: style: Parameter 'pixels' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:435:57: style: Parameter 'anims' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/gl_model.c:864:41: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:882:39: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:946:39: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:974:36: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:1024:38: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:1155:10: style: Variable 'vec' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_model.c:1223:36: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:1382:38: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:1438:39: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:1490:39: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:1691:36: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:1708:40: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:1818:17: style: Variable 'child' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_model.c:1853:43: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:1911:40: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:1935:37: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:1973:39: style: Parameter 'mins' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/gl_model.c:1973:52: style: Parameter 'maxs' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/gl_model.c:1991:40: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_model.c:2628:46: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_refrag.c:209:19: error: Uninitialized variable: *ppefrag [uninitvar] quakespasm-0.96.3/Quake/gl_rlight.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_FAN [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rlight.c:134:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:200:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:357:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_POLYGON_OFFSET_FILL [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:467:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:512:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_BUFFER_BIT [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:679:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINES [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:696:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUAD_STRIP [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:727:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:781:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:866:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_STENCIL_BUFFER_BIT [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:980:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:1083:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_BUFFER_BIT [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmain.c:719:19: style: Local variable 'sv_player' shadows outer variable [shadowVariable] quakespasm-0.96.3/Quake/server.h:203:18: note: Shadowed declaration quakespasm-0.96.3/Quake/gl_rmain.c:719:19: note: Shadow variable quakespasm-0.96.3/Quake/gl_rmain.c:272:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_rmain.c:380:33: style: Parameter 'out' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_rmisc.c:297:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable source_file [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmisc.c:450:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_STATUS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmisc.c:469:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINK_STATUS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmisc.c:521:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VERTEX_SHADER [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmisc.c:643:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_rmisc.c:61:38: style: Parameter 'var' can be declared as pointer to const. However it seems that 'GL_Overbright_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_rmisc.c:213:36: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_rmisc.c:61:38: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_rmisc.c:71:39: style: Parameter 'var' can be declared as pointer to const. However it seems that 'GL_Fullbrights_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_rmisc.c:212:37: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_rmisc.c:71:39: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_rmisc.c:81:40: style: Parameter 'var' can be declared as pointer to const. However it seems that 'R_SetClearColor_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_rmisc.c:199:35: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_rmisc.c:81:40: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_rmisc.c:83:8: style: Variable 'rgb' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_rmisc.c:108:40: style: Parameter 'var' can be declared as pointer to const. However it seems that 'R_SetWateralpha_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_rmisc.c:178:35: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_rmisc.c:108:40: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_rmisc.c:118:39: style: Parameter 'var' can be declared as pointer to const. However it seems that 'R_SetLavaalpha_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_rmisc.c:230:34: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_rmisc.c:118:39: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_rmisc.c:128:39: style: Parameter 'var' can be declared as pointer to const. However it seems that 'R_SetTelealpha_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_rmisc.c:231:34: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_rmisc.c:128:39: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_rmisc.c:138:40: style: Parameter 'var' can be declared as pointer to const. However it seems that 'R_SetSlimealpha_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_rmisc.c:232:35: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_rmisc.c:138:40: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_rmisc.c:148:44: style: Parameter 'fa' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_screen.c:814:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PACK_ALIGNMENT [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_screen.c:166:8: style: Variable 'start' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_screen.c:359:42: style: Parameter 'var' can be declared as pointer to const. However it seems that 'SCR_Callback_refdef' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_screen.c:414:35: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_screen.c:359:42: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_screen.c:369:30: style: Parameter 'var' can be declared as pointer to const. However it seems that 'SCR_Conwidth_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_screen.c:404:36: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_screen.c:369:30: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_sky.c:815:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_sky.c:923:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_sky.c:1098:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_sky.c:772:12: warning: Either the condition 'k<0' is redundant or the array 'b[3]' is accessed at index -1, which is out of bounds. [negativeIndex] quakespasm-0.96.3/Quake/gl_sky.c:769:9: note: Assuming that condition 'k<0' is not redundant quakespasm-0.96.3/Quake/gl_sky.c:772:12: note: Negative array index quakespasm-0.96.3/Quake/gl_sky.c:876:12: warning: Either the condition 'k<0' is redundant or the array 'b[3]' is accessed at index -1, which is out of bounds. [negativeIndex] quakespasm-0.96.3/Quake/gl_sky.c:873:9: note: Assuming that condition 'k<0' is not redundant quakespasm-0.96.3/Quake/gl_sky.c:876:12: note: Negative array index quakespasm-0.96.3/Quake/gl_sky.c:517:68: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] quakespasm-0.96.3/Quake/gl_sky.c:518:72: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] quakespasm-0.96.3/Quake/gl_sky.c:555:75: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] quakespasm-0.96.3/Quake/gl_sky.c:556:75: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] quakespasm-0.96.3/Quake/gl_sky.c:624:6: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] quakespasm-0.96.3/Quake/gl_sky.c:95:33: style:inconclusive: Function 'Sky_LoadTexture' argument 1 names different: declaration 'm' definition 'mod'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/glquake.h:418:33: note: Function 'Sky_LoadTexture' argument 1 names different: declaration 'm' definition 'mod'. quakespasm-0.96.3/Quake/gl_sky.c:95:33: note: Function 'Sky_LoadTexture' argument 1 names different: declaration 'm' definition 'mod'. quakespasm-0.96.3/Quake/gl_sky.c:158:36: style:inconclusive: Function 'Sky_LoadTextureQ64' argument 1 names different: declaration 'm' definition 'mod'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/glquake.h:419:36: note: Function 'Sky_LoadTextureQ64' argument 1 names different: declaration 'm' definition 'mod'. quakespasm-0.96.3/Quake/gl_sky.c:158:36: note: Function 'Sky_LoadTextureQ64' argument 1 names different: declaration 'm' definition 'mod'. quakespasm-0.96.3/Quake/gl_sky.c:162:9: style: Variable 'front' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_sky.c:376:36: style: Parameter 'var' can be declared as pointer to const. However it seems that 'R_SetSkyfog_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_sky.c:395:31: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_sky.c:376:36: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_sky.c:645:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_sky.c:886:30: style: Parameter 'v' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/gl_texmgr.c:109:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_texmgr.c:189:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_texmgr.c:245:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PACK_ALIGNMENT [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_texmgr.c:585:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_texmgr.c:629:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MAX_TEXTURE_SIZE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_texmgr.c:1047:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_texmgr.c:1180:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_UNSIGNED_BYTE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_texmgr.c:1477:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_texmgr.c:1492:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE1_ARB [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_texmgr.c:1508:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE0_ARB [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_texmgr.c:423:10: warning: Either the condition 'glt' is redundant or there is possible null pointer dereference: glt. [nullPointerRedundantCheck] quakespasm-0.96.3/Quake/gl_texmgr.c:424:7: note: Assuming that condition 'glt' is not redundant quakespasm-0.96.3/Quake/gl_texmgr.c:423:10: note: Null pointer dereference quakespasm-0.96.3/Quake/gl_texmgr.c:274:15: style: Variable 'glt' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_texmgr.c:304:44: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_texmgr.c:417:45: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_texmgr.c:459:14: style: Variable 'src' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_texmgr.c:754:15: style: Variable 'nepx' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_texmgr.c:754:29: style: Variable 'sepx' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_texmgr.c:941:38: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_texmgr.c:941:68: style: Parameter 'usepal' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/gl_texmgr.c:1281:8: style: Variable 'src' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_vidsdl.c:412:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FULLSCREEN [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:443:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GL_SWAP_CONTROL [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:475:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_APPMOUSEFOCUS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:490:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_APPACTIVE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:551:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_OPENGL [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:606:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GL_DEPTH_SIZE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:1038:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MAX_TEXTURE_UNITS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:1333:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BACK [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:1358:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VENDOR [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:1442:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:1574:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_OPENGL [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:1668:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_vidsdl.c:944:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] quakespasm-0.96.3/Quake/gl_vidsdl.c:944:49: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] quakespasm-0.96.3/Quake/gl_vidsdl.c:1888:7: style: Condition '!VID_GetDesktopFullscreen()' is always true [knownConditionTrueFalse] quakespasm-0.96.3/Quake/gl_vidsdl.c:1888:32: note: Calling function 'VID_GetDesktopFullscreen' returns 0 quakespasm-0.96.3/Quake/gl_vidsdl.c:1888:7: note: Condition '!VID_GetDesktopFullscreen()' is always true quakespasm-0.96.3/Quake/gl_vidsdl.c:273:34: style: Parameter 'var' can be declared as pointer to const. However it seems that 'VID_Gamma_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_vidsdl.c:302:35: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_vidsdl.c:273:34: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_vidsdl.c:769:36: style: Parameter 'var' can be declared as pointer to const. However it seems that 'VID_Changed_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/gl_vidsdl.c:1658:37: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/gl_vidsdl.c:769:36: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/gl_vidsdl.c:928:15: style: Variable 'token' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/gl_warp.c:56:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_warp.c:187:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_POLYGON [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/gl_warp.c:248:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_STRIP [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/host.c:690:2: warning: Return value of function rand() is not used. [ignoredReturnValue] quakespasm-0.96.3/Quake/host.c:98:35: style: Parameter 'var' can be declared as pointer to const. However it seems that 'Max_Edicts_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/host.c:267:33: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/host.c:98:35: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/host.c:110:32: style: Parameter 'var' can be declared as pointer to const. However it seems that 'Max_Fps_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/host.c:263:34: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/host.c:110:32: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/host.c:633:11: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/host_cmd.c:1072:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable health [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/host_cmd.c:1825:20: style: Redundant condition: The condition '*message' is redundant since '*message == ' '' is sufficient. [redundantCondition] quakespasm-0.96.3/Quake/host_cmd.c:121:17: style: Variable 'dir_t' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/host_cmd.c:127:11: style: Variable 'pak' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/host_cmd.c:308:17: style: Variable 'dir_t' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/host_cmd.c:314:11: style: Variable 'pak' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/host_cmd.c:2125:12: style: Variable 'm' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/image.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/image.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] quakespasm-0.96.3/Quake/lodepng.c:123:29: style: Consider using memcpy instead of loop. [useStandardLibrary] quakespasm-0.96.3/Quake/image.c:49:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] quakespasm-0.96.3/Quake/image.c:48:49: note: Assuming allocation function fails quakespasm-0.96.3/Quake/image.c:48:24: note: Assignment 'buf=(struct stdio_buffer_t*)calloc(1,sizeof(struct stdio_buffer_t))', assigned value is 0 quakespasm-0.96.3/Quake/image.c:49:2: note: Null pointer dereference quakespasm-0.96.3/Quake/lodepng.c:2416:45: style:inconclusive: Function 'lodepng_crc32' argument 1 names different: declaration 'buf' definition 'data'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/lodepng.h:1006:45: note: Function 'lodepng_crc32' argument 1 names different: declaration 'buf' definition 'data'. quakespasm-0.96.3/Quake/lodepng.c:2416:45: note: Function 'lodepng_crc32' argument 1 names different: declaration 'buf' definition 'data'. quakespasm-0.96.3/Quake/lodepng.c:2416:58: style:inconclusive: Function 'lodepng_crc32' argument 2 names different: declaration 'len' definition 'length'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/lodepng.h:1006:57: note: Function 'lodepng_crc32' argument 2 names different: declaration 'len' definition 'length'. quakespasm-0.96.3/Quake/lodepng.c:2416:58: note: Function 'lodepng_crc32' argument 2 names different: declaration 'len' definition 'length'. quakespasm-0.96.3/Quake/lodepng.c:3696:59: style:inconclusive: Function 'lodepng_compute_color_stats' argument 2 names different: declaration 'image' definition 'in'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/lodepng.h:811:59: note: Function 'lodepng_compute_color_stats' argument 2 names different: declaration 'image' definition 'in'. quakespasm-0.96.3/Quake/lodepng.c:3696:59: note: Function 'lodepng_compute_color_stats' argument 2 names different: declaration 'image' definition 'in'. quakespasm-0.96.3/Quake/image.c:189:28: style:inconclusive: Function 'Image_LoadTGA' argument 1 names different: declaration 'f' definition 'fin'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/image.h:29:28: note: Function 'Image_LoadTGA' argument 1 names different: declaration 'f' definition 'fin'. quakespasm-0.96.3/Quake/image.c:189:28: note: Function 'Image_LoadTGA' argument 1 names different: declaration 'f' definition 'fin'. quakespasm-0.96.3/Quake/stb_image_write.h:221:52: style: Parameter 'data' can be declared as pointer to const. However it seems that 'stbi__stdio_write' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/stb_image_write.h:229:35: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/stb_image_write.h:221:52: note: Parameter 'data' can be declared as pointer to const quakespasm-0.96.3/Quake/stb_image_write.h:334:102: style: Parameter 'fdtbl' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/lodepng.c:901:14: style: Variable 'a' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/lodepng.c:980:14: style: Variable 'node' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/lodepng.c:5260:56: style: Parameter 'zlibsettings' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/image.c:428:20: style: struct member 'pcxheader_t::hdpi' is never used. [unusedStructMember] quakespasm-0.96.3/Quake/image.c:428:25: style: struct member 'pcxheader_t::vdpi' is never used. [unusedStructMember] quakespasm-0.96.3/Quake/image.c:429:12: style: struct member 'pcxheader_t::colortable' is never used. [unusedStructMember] quakespasm-0.96.3/Quake/image.c:430:12: style: struct member 'pcxheader_t::reserved' is never used. [unusedStructMember] quakespasm-0.96.3/Quake/image.c:433:20: style: struct member 'pcxheader_t::palette_type' is never used. [unusedStructMember] quakespasm-0.96.3/Quake/image.c:434:12: style: struct member 'pcxheader_t::filler' is never used. [unusedStructMember] quakespasm-0.96.3/Quake/lodepng.c:3791:22: style: Variable 'alpha_done' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/lodepng.c:3861:22: style: Variable 'alpha_done' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/in_sdl.c:233:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GRAB_QUERY [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/in_sdl.c:269:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GRAB_QUERY [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/in_sdl.c:786:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_DELETE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/in_sdl.c:991:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PRESSED [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/in_sdl.c:1032:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_APPINPUTFOCUS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/in_sdl.c:641:29: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/keys.c:788:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/keys.c:1061:26: style: Condition 'down' is always true [knownConditionTrueFalse] quakespasm-0.96.3/Quake/keys.c:308:10: style: Variable 'line' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/keys.c:973:8: style: Variable 'kb' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/lodepng.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] quakespasm-0.96.3/Quake/lodepng.c:565:59: style: Parameter 'reader' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/lodepng.c:4244:18: style: Variable 'prevline' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/lodepng.c:5293:56: style: Parameter 'zlibsettings' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/lodepng.c:5321:102: style: Parameter 'zlibsettings' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/lodepng.c:5438:96: style: Parameter 'zlibsettings' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/lodepng.c:4848:20: style: Variable 'unknown' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/mathlib.c:111:59: style:inconclusive: Function 'BoxOnPlaneSide' argument 3 names different: declaration 'plane' definition 'p'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/mathlib.h:102:66: note: Function 'BoxOnPlaneSide' argument 3 names different: declaration 'plane' definition 'p'. quakespasm-0.96.3/Quake/mathlib.c:111:59: note: Function 'BoxOnPlaneSide' argument 3 names different: declaration 'plane' definition 'p'. quakespasm-0.96.3/Quake/mathlib.c:198:27: style: Parameter 'angles' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:224:27: style: Parameter 'v1' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:224:38: style: Parameter 'v2' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:235:23: style: Parameter 'veca' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:235:49: style: Parameter 'vecb' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:243:27: style: Parameter 'v1' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:243:38: style: Parameter 'v2' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:248:30: style: Parameter 'veca' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:248:43: style: Parameter 'vecb' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:255:25: style: Parameter 'veca' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:255:38: style: Parameter 'vecb' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:262:26: style: Parameter 'in' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:269:27: style: Parameter 'v1' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:269:38: style: Parameter 'v2' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:276:27: style: Parameter 'v' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:305:26: style: Parameter 'in' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:327:31: style: Parameter 'in1' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:327:48: style: Parameter 'in2' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:355:32: style: Parameter 'in1' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:355:49: style: Parameter 'in2' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/mathlib.c:471:9: warning: Undefined behaviour: float (4.29497e+09) to integer conversion overflow. [floatConversionOverflow] quakespasm-0.96.3/Quake/mathlib.c:468:10: note: Assuming that condition 'val<256' is not redundant quakespasm-0.96.3/Quake/mathlib.c:471:9: note: float to integer conversion quakespasm-0.96.3/Quake/menu.c:443:7: warning:inconclusive: Width 79 given in format string (no. 1) is smaller than destination buffer 'name[1024]'. [invalidScanfFormatWidth_smaller] quakespasm-0.96.3/Quake/menu.c:1744:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] quakespasm-0.96.3/Quake/menu.c:1899:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] quakespasm-0.96.3/Quake/menu.c:520:22: style:inconclusive: Function 'M_Load_Key' argument 1 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/menu.c:68:24: note: Function 'M_Load_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:520:22: note: Function 'M_Load_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:565:22: style:inconclusive: Function 'M_Save_Key' argument 1 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/menu.c:69:24: note: Function 'M_Save_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:565:22: note: Function 'M_Save_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:746:23: style:inconclusive: Function 'M_Setup_Key' argument 1 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/menu.c:71:25: note: Function 'M_Setup_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:746:23: note: Function 'M_Setup_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:938:21: style:inconclusive: Function 'M_Net_Key' argument 1 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/menu.c:72:23: note: Function 'M_Net_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:938:21: note: Function 'M_Net_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:1268:25: style:inconclusive: Function 'M_Options_Key' argument 1 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/menu.c:77:26: note: Function 'M_Options_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:1268:25: note: Function 'M_Options_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:1480:22: style:inconclusive: Function 'M_Keys_Key' argument 1 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/menu.c:78:24: note: Function 'M_Keys_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:1480:22: note: Function 'M_Keys_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:2492:28: style:inconclusive: Function 'M_ServerList_Key' argument 1 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/menu.c:76:30: note: Function 'M_ServerList_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:2492:28: note: Function 'M_ServerList_Key' argument 1 names different: declaration 'key' definition 'k'. quakespasm-0.96.3/Quake/menu.c:1384:8: style: Variable 'b' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/menu.c:1409:8: style: Variable 'b' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/menu.c:1896:5: style: Variable 'l' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/miniz.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] quakespasm-0.96.3/Quake/miniz.c:1364:21: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] quakespasm-0.96.3/Quake/miniz.c:1362:50: note: 'extra_size_remaining' is assigned value 'ext_data_size' here. quakespasm-0.96.3/Quake/miniz.c:1358:18: note: outer condition: ext_data_size quakespasm-0.96.3/Quake/miniz.c:1364:21: note: identical inner condition: extra_size_remaining quakespasm-0.96.3/Quake/miniz.c:1797:127: style:inconclusive: Function 'mz_zip_reader_locate_file_v2' argument 5 names different: declaration 'file_index' definition 'pIndex'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/miniz.h:698:140: note: Function 'mz_zip_reader_locate_file_v2' argument 5 names different: declaration 'file_index' definition 'pIndex'. quakespasm-0.96.3/Quake/miniz.c:1797:127: note: Function 'mz_zip_reader_locate_file_v2' argument 5 names different: declaration 'file_index' definition 'pIndex'. quakespasm-0.96.3/Quake/miniz.c:354:52: style: Variable 'pOut_buf_end' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/miniz.c:484:27: style: Variable 'pCode_size' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/miniz.c:1753:16: style: Variable 'pIndices' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/miniz.c:1223:44: style: Variable 'zip64_end_of_central_dir_ofs' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/miniz.c:1704:37: style: Variable 'pField_data' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/miniz.c:1705:46: style: Variable 'field_data_remaining' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/net_dgrm.c:101:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_dgrm.c:630:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_dgrm.c:764:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_dgrm.c:788:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_dgrm.c:872:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_dgrm.c:1253:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_dgrm.c:62:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/net_dgrm.c:132:55: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_dgrm.c:254:56: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_dgrm.c:260:65: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_dgrm.c:958:13: style: Variable 'var' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/net_loop.c:158:51: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_loop.c:192:61: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_loop.c:224:42: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_loop.c:232:52: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_main.c:157:45: style:inconclusive: Function 'NET_QSocketGetTime' argument 1 names different: declaration 'sock' definition 's'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/net.h:58:52: note: Function 'NET_QSocketGetTime' argument 1 names different: declaration 'sock' definition 's'. quakespasm-0.96.3/Quake/net_main.c:157:45: note: Function 'NET_QSocketGetTime' argument 1 names different: declaration 'sock' definition 's'. quakespasm-0.96.3/Quake/net_main.c:163:59: style:inconclusive: Function 'NET_QSocketGetAddressString' argument 1 names different: declaration 'sock' definition 's'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/net.h:59:66: note: Function 'NET_QSocketGetAddressString' argument 1 names different: declaration 'sock' definition 's'. quakespasm-0.96.3/Quake/net_main.c:163:59: note: Function 'NET_QSocketGetAddressString' argument 1 names different: declaration 'sock' definition 's'. quakespasm-0.96.3/Quake/net_main.c:331:39: style:inconclusive: Function 'NET_SlistPrintServer' argument 1 names different: declaration 'n' definition 'idx'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/net.h:103:39: note: Function 'NET_SlistPrintServer' argument 1 names different: declaration 'n' definition 'idx'. quakespasm-0.96.3/Quake/net_main.c:331:39: note: Function 'NET_SlistPrintServer' argument 1 names different: declaration 'n' definition 'idx'. quakespasm-0.96.3/Quake/net_main.c:354:43: style:inconclusive: Function 'NET_SlistPrintServerName' argument 1 names different: declaration 'n' definition 'idx'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/net.h:104:43: note: Function 'NET_SlistPrintServerName' argument 1 names different: declaration 'n' definition 'idx'. quakespasm-0.96.3/Quake/net_main.c:354:43: note: Function 'NET_SlistPrintServerName' argument 1 names different: declaration 'n' definition 'idx'. quakespasm-0.96.3/Quake/net_main.c:884:43: style:inconclusive: Function 'SchedulePollProcedure' argument 1 names different: declaration 'pp' definition 'proc'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/net_defs.h:257:43: note: Function 'SchedulePollProcedure' argument 1 names different: declaration 'pp' definition 'proc'. quakespasm-0.96.3/Quake/net_main.c:884:43: note: Function 'SchedulePollProcedure' argument 1 names different: declaration 'pp' definition 'proc'. quakespasm-0.96.3/Quake/net_udp.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_udp.c:142:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_udp.c:165:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_udp.c:246:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_udp.c:270:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_udp.c:293:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_udp.c:311:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_udp.c:351:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_udp.c:384:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_udp.c:415:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_udp.c:439:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_udp.c:73:17: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] quakespasm-0.96.3/Quake/net_udp.c:414:14: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] quakespasm-0.96.3/Quake/net_udp.c:435:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] quakespasm-0.96.3/Quake/net_udp.c:233:17: style: Condition '*b<'0'||*b>'9'' is always true [knownConditionTrueFalse] quakespasm-0.96.3/Quake/net_udp.c:227:10: note: Assuming that condition '!(*b<'0'||*b>'9')' is not redundant quakespasm-0.96.3/Quake/net_udp.c:233:17: note: Condition '*b<'0'||*b>'9'' is always true quakespasm-0.96.3/Quake/net_udp.c:169:3: error: Resource leak: newsocket [resourceLeak] quakespasm-0.96.3/Quake/net_udp.c:256:59: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_udp.c:345:45: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_udp.c:345:77: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_udp.c:363:49: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_udp.c:412:18: style: Variable 'hostentry' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/net_udp.c:467:42: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_wins.c:54:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:80:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:130:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:202:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:226:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:317:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:338:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:357:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:375:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:416:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:449:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:479:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:503:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wins.c:96:10: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] quakespasm-0.96.3/Quake/net_wins.c:478:14: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] quakespasm-0.96.3/Quake/net_wins.c:499:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] quakespasm-0.96.3/Quake/net_wins.c:304:17: style: Condition '*b<'0'||*b>'9'' is always true [knownConditionTrueFalse] quakespasm-0.96.3/Quake/net_wins.c:298:10: note: Assuming that condition '!(*b<'0'||*b>'9')' is not redundant quakespasm-0.96.3/Quake/net_wins.c:304:17: note: Condition '*b<'0'||*b>'9'' is always true quakespasm-0.96.3/Quake/net_wins.c:111:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] quakespasm-0.96.3/Quake/net_wins.c:111:2: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] quakespasm-0.96.3/Quake/net_wins.c:111:2: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] quakespasm-0.96.3/Quake/net_wins.c:111:2: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] quakespasm-0.96.3/Quake/net_wins.c:230:3: error: Resource leak: newsocket [resourceLeak] quakespasm-0.96.3/Quake/net_wins.c:327:60: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_wins.c:410:46: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_wins.c:410:78: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_wins.c:428:50: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_wins.c:476:18: style: Variable 'hostentry' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/net_wins.c:531:43: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_wins.c:144:28: style: Variable 'buff[256-1]' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/net_wipx.c:57:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wipx.c:128:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wipx.c:159:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wipx.c:227:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wipx.c:251:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wipx.c:290:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wipx.c:332:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_IPX [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wipx.c:370:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKETERRNO [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/net_wipx.c:342:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] quakespasm-0.96.3/Quake/net_wipx.c:343:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] quakespasm-0.96.3/Quake/net_wipx.c:344:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] quakespasm-0.96.3/Quake/net_wipx.c:345:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] quakespasm-0.96.3/Quake/net_wipx.c:346:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] quakespasm-0.96.3/Quake/net_wipx.c:347:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] quakespasm-0.96.3/Quake/net_wipx.c:348:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] quakespasm-0.96.3/Quake/net_wipx.c:349:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] quakespasm-0.96.3/Quake/net_wipx.c:350:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] quakespasm-0.96.3/Quake/net_wipx.c:351:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] quakespasm-0.96.3/Quake/net_wipx.c:354:2: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] quakespasm-0.96.3/Quake/net_wipx.c:397:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] quakespasm-0.96.3/Quake/net_wipx.c:402:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] quakespasm-0.96.3/Quake/net_wipx.c:204:36: style:inconclusive: Function 'WIPX_CloseSocket' argument 1 names different: declaration 'socketid' definition 'handle'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/net_wipx.h:29:37: note: Function 'WIPX_CloseSocket' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:204:36: note: Function 'WIPX_CloseSocket' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:216:32: style:inconclusive: Function 'WIPX_Connect' argument 1 names different: declaration 'socketid' definition 'handle'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/net_wipx.h:30:33: note: Function 'WIPX_Connect' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:216:32: note: Function 'WIPX_Connect' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:244:29: style:inconclusive: Function 'WIPX_Read' argument 1 names different: declaration 'socketid' definition 'handle'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/net_wipx.h:32:30: note: Function 'WIPX_Read' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:244:29: note: Function 'WIPX_Read' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:271:34: style:inconclusive: Function 'WIPX_Broadcast' argument 1 names different: declaration 'socketid' definition 'handle'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/net_wipx.h:34:35: note: Function 'WIPX_Broadcast' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:271:34: note: Function 'WIPX_Broadcast' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:278:30: style:inconclusive: Function 'WIPX_Write' argument 1 names different: declaration 'socketid' definition 'handle'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/net_wipx.h:33:31: note: Function 'WIPX_Write' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:278:30: note: Function 'WIPX_Write' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:362:38: style:inconclusive: Function 'WIPX_GetSocketAddr' argument 1 names different: declaration 'socketid' definition 'handle'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/net_wipx.h:37:39: note: Function 'WIPX_GetSocketAddr' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:362:38: note: Function 'WIPX_GetSocketAddr' argument 1 names different: declaration 'socketid' definition 'handle'. quakespasm-0.96.3/Quake/net_wipx.c:216:58: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_wipx.c:278:44: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_wipx.c:278:76: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_wipx.c:303:50: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_wipx.c:435:43: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/net_wipx.c:83:28: style: Variable 'buff[256-1]' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/pl_linux.c:59:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCCOLORKEY [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/pl_linux.c:92:34: style:inconclusive: Function 'PL_ErrorDialog' argument 1 names different: declaration 'text' definition 'errorMsg'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/platform.h:41:33: note: Function 'PL_ErrorDialog' argument 1 names different: declaration 'text' definition 'errorMsg'. quakespasm-0.96.3/Quake/pl_linux.c:92:34: note: Function 'PL_ErrorDialog' argument 1 names different: declaration 'text' definition 'errorMsg'. quakespasm-0.96.3/Quake/pl_win.c:69:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCL_HICON [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/pl_win.c:88:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_TEXT [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/pl_win.c:112:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_OK [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/pl_win.c:109:33: style:inconclusive: Function 'PL_ErrorDialog' argument 1 names different: declaration 'text' definition 'errorMsg'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/platform.h:41:33: note: Function 'PL_ErrorDialog' argument 1 names different: declaration 'text' definition 'errorMsg'. quakespasm-0.96.3/Quake/pl_win.c:109:33: note: Function 'PL_ErrorDialog' argument 1 names different: declaration 'text' definition 'errorMsg'. quakespasm-0.96.3/Quake/pl_win.c:82:8: style: Variable 'cliptext' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_cmds.c:680:10: error: syntax error: 4 = [syntaxError] quakespasm-0.96.3/Quake/pr_edict.c:1185:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROGHEADER_CRC [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/pr_edict.c:770:13: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] quakespasm-0.96.3/Quake/pr_edict.c:854:15: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] quakespasm-0.96.3/Quake/pr_edict.c:1252:4: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] quakespasm-0.96.3/Quake/pr_edict.c:1252:41: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] quakespasm-0.96.3/Quake/pr_edict.c:1379:25: style:inconclusive: Function 'PR_AllocString' argument 1 names different: declaration 'bufferlength' definition 'size'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/progs.h:81:25: note: Function 'PR_AllocString' argument 1 names different: declaration 'bufferlength' definition 'size'. quakespasm-0.96.3/Quake/pr_edict.c:1379:25: note: Function 'PR_AllocString' argument 1 names different: declaration 'bufferlength' definition 'size'. quakespasm-0.96.3/Quake/pr_edict.c:315:11: style: Variable 'def' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:316:15: style: Variable 'f' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:368:11: style: Variable 'def' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:369:15: style: Variable 'f' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:420:11: style: Variable 'def' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:450:11: style: Variable 'def' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:480:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:534:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:640:11: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:794:52: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/pr_edict.c:798:10: style: Variable 'def' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:799:12: style: Variable 'w' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:800:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:802:15: style: Variable 'func' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:996:15: style: Variable 'func' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:1076:10: style: Variable 'g' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/pr_edict.c:828:20: style: Variable '((float*)d)[i]' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/pr_edict.c:837:21: style: Variable '((float*)d)[i]' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/pr_exec.c:398:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _float [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/pr_exec.c:299:38: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] quakespasm-0.96.3/Quake/pr_exec.c:308:5: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] quakespasm-0.96.3/Quake/pr_exec.c:308:30: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] quakespasm-0.96.3/Quake/pr_exec.c:336:4: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] quakespasm-0.96.3/Quake/pr_exec.c:186:15: style: Variable 'f' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/r_alias.c:96:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xyz [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_alias.c:110:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable normal [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_alias.c:240:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_alias.c:340:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_FAN [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_alias.c:670:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SMOOTH [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_alias.c:960:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_alias.c:347:9: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] quakespasm-0.96.3/Quake/r_alias.c:348:9: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] quakespasm-0.96.3/Quake/r_alias.c:94:46: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/r_alias.c:108:49: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/r_brush.c:87:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_POLYGON [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_brush.c:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_FAN [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_brush.c:549:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGBA [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_brush.c:689:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_brush.c:955:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_UNSIGNED_BYTE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_brush.c:996:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_UNSIGNED_BYTE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_brush.c:357:4: error: Common realloc mistake: 'lightmaps' nulled but not freed upon failure [memleakOnRealloc] quakespasm-0.96.3/Quake/r_brush.c:517:17: style: Variable 'poly->numverts' is reassigned a value before the old one has been used. [redundantAssignment] quakespasm-0.96.3/Quake/r_brush.c:449:17: note: poly->numverts is assigned quakespasm-0.96.3/Quake/r_brush.c:517:17: note: poly->numverts is overwritten quakespasm-0.96.3/Quake/r_brush.c:435:10: style: Variable 'vec' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/r_brush.c:798:9: style: Variable 'lightmap' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/r_part.c:846:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_part.c:964:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_FAN [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_part.c:832:16: style: Local variable 'r_particles' shadows outer variable [shadowVariable] quakespasm-0.96.3/Quake/r_part.c:42:8: note: Shadowed declaration quakespasm-0.96.3/Quake/r_part.c:832:16: note: Shadow variable quakespasm-0.96.3/Quake/r_part.c:952:16: style: Local variable 'r_particles' shadows outer variable [shadowVariable] quakespasm-0.96.3/Quake/r_part.c:42:8: note: Shadowed declaration quakespasm-0.96.3/Quake/r_part.c:952:16: note: Shadow variable quakespasm-0.96.3/Quake/r_part.c:123:45: style: Parameter 'var' can be declared as pointer to const. However it seems that 'R_SetParticleTexture_f' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/r_part.c:170:34: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/r_part.c:123:45: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/r_part.c:347:34: style: Parameter 'org' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/r_part.c:390:35: style: Parameter 'org' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/r_part.c:423:30: style: Parameter 'org' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/r_part.c:467:34: style: Parameter 'org' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/r_part.c:467:46: style: Parameter 'dir' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/r_part.c:524:27: style: Parameter 'org' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/r_part.c:565:31: style: Parameter 'org' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/r_part.c:612:42: style: Parameter 'end' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/r_part.c:831:23: style: Variable 'c' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/r_part.c:216:9: style: Variable 'angle' is assigned a value that is never used. [unreadVariable] quakespasm-0.96.3/Quake/r_sprite.c:167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA_TEST [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_sprite.c:120:16: style: Variable '(v_forward)[2]' is reassigned a value before the old one has been used. [redundantAssignment] quakespasm-0.96.3/Quake/r_sprite.c:119:3: note: (v_forward)[2] is assigned quakespasm-0.96.3/Quake/r_sprite.c:120:16: note: (v_forward)[2] is overwritten quakespasm-0.96.3/Quake/r_sprite.c:37:11: style: Variable 'pintervals' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/r_sprite.c:98:14: style: Variable 'psprite' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/r_world.c:178:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_world.c:194:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRUE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_world.c:372:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLES [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_world.c:430:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA_TEST [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_world.c:518:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA_TEST [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_world.c:628:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_world.c:764:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_world.c:800:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_POLYGON [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_world.c:930:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FALSE [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_world.c:1044:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_world.c:1128:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/r_world.c:84:16: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] quakespasm-0.96.3/Quake/r_world.c:636:115: error: Pointer addition with NULL pointer. [nullPointerArithmetic] quakespasm-0.96.3/Quake/r_world.c:637:115: error: Pointer addition with NULL pointer. [nullPointerArithmetic] quakespasm-0.96.3/Quake/r_world.c:945:114: error: Pointer addition with NULL pointer. [nullPointerArithmetic] quakespasm-0.96.3/Quake/r_world.c:946:114: error: Pointer addition with NULL pointer. [nullPointerArithmetic] quakespasm-0.96.3/Quake/r_world.c:1052:112: error: Pointer addition with NULL pointer. [nullPointerArithmetic] quakespasm-0.96.3/Quake/r_world.c:1053:111: error: Pointer addition with NULL pointer. [nullPointerArithmetic] quakespasm-0.96.3/Quake/r_world.c:97:9: style: Variable 'vis' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/r_world.c:210:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/r_world.c:246:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/r_world.c:286:59: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/r_world.c:322:53: style: Parameter 's' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/r_world.c:335:51: style: Parameter 's' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/r_world.c:407:67: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/r_world.c:495:66: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/r_world.c:538:48: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/r_world.c:762:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/r_world.c:913:59: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/r_world.c:1038:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sbar.c:284:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA_TEST [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sbar.c:330:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SCISSOR_TEST [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sbar.c:660:38: style: Condition 'flashon' is always false [knownConditionTrueFalse] quakespasm-0.96.3/Quake/sbar.c:653:12: note: Assignment 'flashon=0', assigned value is 0 quakespasm-0.96.3/Quake/sbar.c:660:38: note: Condition 'flashon' is always false quakespasm-0.96.3/Quake/sbar.c:1116:8: style: Condition 'pic' is always true [knownConditionTrueFalse] quakespasm-0.96.3/Quake/sbar.c:455:25: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] quakespasm-0.96.3/Quake/sbar.c:752:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sbar.c:809:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sbar.c:1132:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sbar.c:1211:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sbar.c:725:21: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] quakespasm-0.96.3/Quake/sbar.c:723:17: note: Assuming that condition 'i<4' is not redundant quakespasm-0.96.3/Quake/sbar.c:725:21: note: Shift quakespasm-0.96.3/Quake/snd_dma.c:306:32: style:inconclusive: Function 'S_TouchSound' argument 1 names different: declaration 'sample' definition 'name'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/q_sound.h:107:32: note: Function 'S_TouchSound' argument 1 names different: declaration 'sample' definition 'name'. quakespasm-0.96.3/Quake/snd_dma.c:306:32: note: Function 'S_TouchSound' argument 1 names different: declaration 'sample' definition 'name'. quakespasm-0.96.3/Quake/snd_dma.c:323:37: style:inconclusive: Function 'S_PrecacheSound' argument 1 names different: declaration 'sample' definition 'name'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/q_sound.h:106:37: note: Function 'S_PrecacheSound' argument 1 names different: declaration 'sample' definition 'name'. quakespasm-0.96.3/Quake/snd_dma.c:323:37: note: Function 'S_PrecacheSound' argument 1 names different: declaration 'sample' definition 'name'. quakespasm-0.96.3/Quake/snd_dma.c:117:45: style: Parameter 'var' can be declared as pointer to const. However it seems that 'SND_Callback_sfxvolume' is a callback function, if 'var' is declared with const you might also need to cast function pointer(s). [constParameterCallback] quakespasm-0.96.3/Quake/snd_dma.c:213:31: note: You might need to cast the function pointer here quakespasm-0.96.3/Quake/snd_dma.c:117:45: note: Parameter 'var' can be declared as pointer to const quakespasm-0.96.3/Quake/snd_dma.c:443:67: style: Parameter 'origin' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/snd_dma.c:446:14: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/snd_dma.c:586:40: style: Parameter 'origin' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/snd_dma.c:589:15: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/snd_dma.c:771:23: style: Parameter 'origin' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/snd_dma.c:771:38: style: Parameter 'forward' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/snd_dma.c:771:54: style: Parameter 'right' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/snd_dma.c:771:68: style: Parameter 'up' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/snd_dma.c:1015:14: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/snd_mix.c:250:9: warning: If memory allocation fails, then there is a possible null pointer dereference: input [nullPointerOutOfMemory] quakespasm-0.96.3/Quake/snd_mix.c:246:26: note: Assuming allocation function fails quakespasm-0.96.3/Quake/snd_mix.c:246:10: note: Assignment 'input=(float*)malloc(sizeof(float)*(filter->kernelsize+count))', assigned value is 0 quakespasm-0.96.3/Quake/snd_mix.c:250:9: note: Null pointer dereference quakespasm-0.96.3/Quake/snd_mix.c:254:3: warning: If memory allocation fails, then there is a possible null pointer dereference: input [nullPointerOutOfMemory] quakespasm-0.96.3/Quake/snd_mix.c:246:26: note: Assuming allocation function fails quakespasm-0.96.3/Quake/snd_mix.c:246:10: note: Assignment 'input=(float*)malloc(sizeof(float)*(filter->kernelsize+count))', assigned value is 0 quakespasm-0.96.3/Quake/snd_mix.c:254:3: note: Null pointer dereference quakespasm-0.96.3/Quake/snd_mix.c:258:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] quakespasm-0.96.3/Quake/snd_mix.c:246:26: note: Assuming allocation function fails quakespasm-0.96.3/Quake/snd_mix.c:246:10: note: Assignment 'input=(float*)malloc(sizeof(float)*(filter->kernelsize+count))', assigned value is 0 quakespasm-0.96.3/Quake/snd_mix.c:258:31: note: Null pointer addition quakespasm-0.96.3/Quake/snd_mix.c:472:71: style:inconclusive: Function 'SND_PaintChannelFrom8' argument 3 names different: declaration 'endtime' definition 'count'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/snd_mix.c:333:71: note: Function 'SND_PaintChannelFrom8' argument 3 names different: declaration 'endtime' definition 'count'. quakespasm-0.96.3/Quake/snd_mix.c:472:71: note: Function 'SND_PaintChannelFrom8' argument 3 names different: declaration 'endtime' definition 'count'. quakespasm-0.96.3/Quake/snd_mix.c:498:72: style:inconclusive: Function 'SND_PaintChannelFrom16' argument 3 names different: declaration 'endtime' definition 'count'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/snd_mix.c:334:72: note: Function 'SND_PaintChannelFrom16' argument 3 names different: declaration 'endtime' definition 'count'. quakespasm-0.96.3/Quake/snd_mix.c:498:72: note: Function 'SND_PaintChannelFrom16' argument 3 names different: declaration 'endtime' definition 'count'. quakespasm-0.96.3/Quake/snd_mix.c:475:8: style: Variable 'lscale' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/snd_mix.c:475:17: style: Variable 'rscale' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/snd_mix.c:476:17: style: Variable 'sfx' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/snd_mix.c:503:16: style: Variable 'sfx' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/snd_sdl.c:87:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/snd_sdl.c:185:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/strlcat.c:33:47: style:inconclusive: Function 'q_strlcat' argument 3 names different: declaration 'size' definition 'siz'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/strl_fn.h:11:61: note: Function 'q_strlcat' argument 3 names different: declaration 'size' definition 'siz'. quakespasm-0.96.3/Quake/strlcat.c:33:47: note: Function 'q_strlcat' argument 3 names different: declaration 'size' definition 'siz'. quakespasm-0.96.3/Quake/strlcpy.c:31:47: style:inconclusive: Function 'q_strlcpy' argument 3 names different: declaration 'size' definition 'siz'. [funcArgNamesDifferent] quakespasm-0.96.3/Quake/strl_fn.h:10:61: note: Function 'q_strlcpy' argument 3 names different: declaration 'size' definition 'siz'. quakespasm-0.96.3/Quake/strlcpy.c:31:47: note: Function 'q_strlcpy' argument 3 names different: declaration 'size' definition 'siz'. quakespasm-0.96.3/Quake/sv_main.c:151:31: style: Parameter 'org' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/sv_main.c:151:43: style: Parameter 'dir' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/sv_main.c:318:45: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/sv_main.c:516:8: style: Variable 'pvs' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sv_main.c:579:56: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/sv_main.c:581:8: style: Variable 'pvs' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sv_main.c:607:8: style: Variable 'pvs' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sv_main.c:834:11: style: Variable 'other' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sv_main.c:836:10: style: Variable 'val' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sv_main.c:1151:17: style: Variable 'signon' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sv_main.c:1460:14: style: Variable 'dummy' can be declared as const array [constVariable] quakespasm-0.96.3/Quake/sv_main.c:976:34: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] quakespasm-0.96.3/Quake/sv_main.c:974:12: note: Assuming that condition 'i<32' is not redundant quakespasm-0.96.3/Quake/sv_main.c:976:34: note: Shift quakespasm-0.96.3/Quake/sv_move.c:134:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sv_move.c:112:44: style: Parameter 'move' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/sv_move.c:118:12: style: Variable 'enemy' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sv_move.c:373:35: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/sv_move.c:373:49: style: Parameter 'goal' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/sv_phys.c:546:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sv_phys.c:836:12: style: Variable '(upmove)[2]' is reassigned a value before the old one has been used. [redundantAssignment] quakespasm-0.96.3/Quake/sv_phys.c:834:2: note: (upmove)[2] is assigned quakespasm-0.96.3/Quake/sv_phys.c:836:12: note: (upmove)[2] is overwritten quakespasm-0.96.3/Quake/sv_phys.c:837:14: style: Variable '(downmove)[2]' is reassigned a value before the old one has been used. [redundantAssignment] quakespasm-0.96.3/Quake/sv_phys.c:835:2: note: (downmove)[2] is assigned quakespasm-0.96.3/Quake/sv_phys.c:837:14: note: (downmove)[2] is overwritten quakespasm-0.96.3/Quake/sv_phys.c:192:26: style: Parameter 'in' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/sv_phys.c:192:37: style: Parameter 'normal' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/sv_phys.c:376:10: style: Variable 'val' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sv_phys.c:403:45: style: Parameter 'push' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/sv_phys.c:436:20: style: Variable 'block' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/sv_phys.c:734:41: style: Parameter 'oldvel' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/sys_sdl_unix.c:116:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sys_sdl_unix.c:402:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sys_sdl_unix.c:429:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sys_sdl_win.c:115:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sys_sdl_win.c:149:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sys_sdl_win.c:186:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setDPIAwareness [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sys_sdl_win.c:241:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VER_PLATFORM_WIN32s [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sys_sdl_win.c:288:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_ALREADY_EXISTS [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sys_sdl_win.c:311:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sys_sdl_win.c:347:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/sys_sdl_win.c:388:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EventType [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/view.c:537:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA_TEST [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/view.c:79:41: style: Parameter 'velocity' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/wad.c:134:14: style: Variable 'lump' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/wad.c:145:14: style: Variable 'lump' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/world.c:295:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable area [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/world.c:799:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable area [valueFlowBailoutIncompleteVar] quakespasm-0.96.3/Quake/world.c:108:31: style: Parameter 'mins' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:108:44: style: Parameter 'maxs' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:132:48: style: Parameter 'mins' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:132:61: style: Parameter 'maxs' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:207:50: style: Parameter 'mins' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:207:63: style: Parameter 'maxs' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:391:12: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/world.c:521:35: style: Parameter 'hull' can be declared as pointer to const [constParameterPointer] quakespasm-0.96.3/Quake/world.c:521:57: style: Parameter 'p' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:608:15: style: Variable 'node' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/world.c:747:51: style: Parameter 'start' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:747:91: style: Parameter 'end' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:868:28: style: Parameter 'start' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:868:42: style: Parameter 'mins' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:868:55: style: Parameter 'maxs' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/world.c:868:68: style: Parameter 'end' can be declared as const array [constParameter] quakespasm-0.96.3/Quake/zone.c:115:14: style: Variable 'start' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/zone.c:115:22: style: Variable 'rover' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/zone.c:220:14: style: Variable 'block' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/zone.c:337:21: style: Variable 'endlow' can be declared as pointer to const [constVariablePointer] quakespasm-0.96.3/Quake/zone.c:337:42: style: Variable 'endhigh' can be declared as pointer to const [constVariablePointer] diff: head quakespasm-0.96.3/Quake/cmd.c:537:18: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/cmd.c:734:18: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/cmd.c:781:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/common.c:1816:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/console.c:899:15: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/console.c:900:12: style: Variable 'cvar' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/console.c:901:19: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/cvar.c:195:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/cvar.c:208:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/cvar.c:644:10: style: Variable 'var' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/gl_texmgr.c:274:15: style: Variable 'glt' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/gl_vidsdl.c:928:15: style: Variable 'token' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/lodepng.c:980:14: style: Variable 'node' can be declared as pointer to const [constVariablePointer] head quakespasm-0.96.3/Quake/sv_main.c:1460:14: style: Variable 'dummy' can be declared as const array [constVariable] head quakespasm-0.96.3/Quake/zone.c:115:22: style: Variable 'rover' can be declared as pointer to const [constVariablePointer] DONE