2025-05-10 16:27 ftp://ftp.de.debian.org/debian/pool/main/f/foobillardplus/foobillardplus_3.43~svn170+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=opengl --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: beb3362 (2025-05-10 14:33:23 +0200) count: 502 438 elapsed-time: 798.3 830.7 head-timing-info: old-timing-info: head results: foobillardplus-3.43~svn170/contrib/blutooth.c:35:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IREQ_CACHE_FLUSH [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/contrib/double.c.c:62:13: warning: %f in format string (no. 2) requires 'double' but the argument type is 'unsigned long long'. [invalidPrintfArgType_float] foobillardplus-3.43~svn170/contrib/double.c.c:16:26: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/double.c.c:36:26: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/double.c.c:16:20: style: Variable 'src' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/contrib/double.c.c:35:20: style: Variable 'src' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/contrib/double.c.c:50:25: style: Parameter 'argv' can be declared as const array [constParameter] foobillardplus-3.43~svn170/contrib/collision.c:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/contrib/collision.c:45:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/contrib/collision.c:123:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLUT_DOUBLE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/contrib/fastmath.c:195:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath.c:195:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath.c:214:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath.c:214:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath.c:171:25: style: Parameter 'argv' can be declared as const array [constParameter] foobillardplus-3.43~svn170/contrib/fastexp.c:1509:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/contrib/fastexp.c:68:9: error: Memory leak: p [memleak] foobillardplus-3.43~svn170/contrib/fastexp.c:1435:9: error: Common realloc mistake: 'values' nulled but not freed upon failure [memleakOnRealloc] foobillardplus-3.43~svn170/contrib/fastexp.c:1443:43: style: Parameter 'values' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/contrib/fastmath2.c:357:16: warning: Invalid sqrt() argument nr 1. The value is -5000000 but the valid values are '0.0:'. [invalidFunctionArg] foobillardplus-3.43~svn170/contrib/fastmath2.c:354:13: note: Assignment 'i=-(iMaxTests/2)', assigned value is -5000000 foobillardplus-3.43~svn170/contrib/fastmath2.c:356:9: note: f is assigned '(float)i' here. foobillardplus-3.43~svn170/contrib/fastmath2.c:357:16: note: Invalid argument foobillardplus-3.43~svn170/contrib/fastmath2.c:228:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:228:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:247:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:247:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:266:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:266:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:284:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:284:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:301:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:301:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:317:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:317:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:334:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:334:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:350:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:350:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:369:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:369:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:385:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:385:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:401:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:401:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:416:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:416:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:434:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:434:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:450:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:450:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/fastmath2.c:53:11: portability: Casting from const float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/fastmath2.c:54:11: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/fastmath2.c:58:15: portability: Casting from const float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/fastmath2.c:116:7: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/fastmath2.c:119:3: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/fastmath2.c:119:33: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/fastmath2.c:119:66: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/fastmath2.c:129:22: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/fastmath2.c:58:24: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] foobillardplus-3.43~svn170/contrib/fastmath2.c:24:13: style: struct member 'Anonymous1::j' is never used. [unusedStructMember] foobillardplus-3.43~svn170/contrib/float.c:54:13: warning: %f in format string (no. 2) requires 'double' but the argument type is 'unsigned long'. [invalidPrintfArgType_float] foobillardplus-3.43~svn170/contrib/float.c:16:26: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/float.c:32:26: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/contrib/float.c:37:12: style: Variable 'dst[2]' is reassigned a value before the old one has been used. [redundantAssignment] foobillardplus-3.43~svn170/contrib/float.c:36:12: note: dst[2] is assigned foobillardplus-3.43~svn170/contrib/float.c:37:12: note: dst[2] is overwritten foobillardplus-3.43~svn170/contrib/float.c:16:20: style: Variable 'src' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/contrib/float.c:31:20: style: Variable 'src' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/contrib/float.c:42:25: style: Parameter 'argv' can be declared as const array [constParameter] foobillardplus-3.43~svn170/contrib/collision.c:130:5: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:5: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:130:20: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:20: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:130:33: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:33: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:130:47: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:47: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:130:59: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:59: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:130:73: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:73: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:130:85: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:85: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:131:5: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:5: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:131:18: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:18: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:131:32: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:32: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:131:46: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:46: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:131:58: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:58: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:131:73: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:73: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:131:85: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:85: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:132:5: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:5: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:132:18: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:18: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:132:31: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:31: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:132:45: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:45: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:132:57: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:57: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:132:72: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:72: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:132:84: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:84: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:133:5: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:5: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:133:18: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:18: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:133:32: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:32: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:133:46: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:46: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:133:58: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:58: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:133:72: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:72: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:133:84: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:84: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:134:5: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:5: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:134:19: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:19: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:134:32: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:32: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:134:46: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:46: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:134:58: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:58: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:134:73: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:73: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:134:85: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:85: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:135:5: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:5: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:135:19: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:19: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:135:34: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:34: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:135:48: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:48: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:135:60: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:60: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:135:75: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:75: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:135:87: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:87: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:136:5: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:5: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:136:20: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:20: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:136:36: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:36: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:136:50: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:50: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:136:62: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:62: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:136:77: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:77: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/collision.c:136:89: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:89: note: Null pointer dereference foobillardplus-3.43~svn170/contrib/ip1.c:26:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/contrib/ip1.c:60:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_UP [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/contrib/ip.c:25:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/contrib/ip1.c:21:23: style: Variable 's4' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/contrib/ip1.c:22:24: style: Variable 's6' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/contrib/ip.c:36:5: error: Resource leak: s [resourceLeak] foobillardplus-3.43~svn170/contrib/ip.c:43:25: style: Variable 's_in' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/contrib/ip.c:58:26: style: Parameter 'argv' can be declared as const array [constParameter] foobillardplus-3.43~svn170/contrib/utf8.c:37:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/contrib/utf8.c:62:1: portability: %i in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] foobillardplus-3.43~svn170/contrib/utf8.c:26:6: style: Variable 'versuch' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/aiplayer.c:62:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/ball.c:329:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/ball.c:430:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/ball.c:758:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/ball.c:784:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/ball.c:810:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/ball.c:896:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_CULL_FACE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/ball.c:1200:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLOAT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard.c:696:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard.c:779:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard.c:980:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard.c:100:12: style: Condition '!ok' is always false [knownConditionTrueFalse] foobillardplus-3.43~svn170/src/billard.c:76:12: note: Assignment 'ok=1', assigned value is 1 foobillardplus-3.43~svn170/src/billard.c:100:12: note: Condition '!ok' is always false foobillardplus-3.43~svn170/src/billard.c:779:14: style: Variable 'ang' is reassigned a value before the old one has been used. [redundantAssignment] foobillardplus-3.43~svn170/src/billard.c:778:14: note: ang is assigned foobillardplus-3.43~svn170/src/billard.c:779:14: note: ang is overwritten foobillardplus-3.43~svn170/src/billard.c:85:21: style: Local variable 'ok' shadows outer variable [shadowVariable] foobillardplus-3.43~svn170/src/billard.c:76:9: note: Shadowed declaration foobillardplus-3.43~svn170/src/billard.c:85:21: note: Shadow variable foobillardplus-3.43~svn170/src/billard.c:862:33: style: Parameter 'balls' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billard.c:996:32: style: Parameter 'balls' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/ball.c:260:21: style: Expression is always true because 'else if' condition is opposite to previous condition at line 255. [multiCondition] foobillardplus-3.43~svn170/src/ball.c:255:21: note: first condition foobillardplus-3.43~svn170/src/ball.c:260:21: note: else if condition is opposite to first condition foobillardplus-3.43~svn170/src/ball.c:190:9: warning: Either the condition 'array==NULL' is redundant or there is possible null pointer dereference: array. [nullPointerRedundantCheck] foobillardplus-3.43~svn170/src/ball.c:186:17: note: Assuming that condition 'array==NULL' is not redundant foobillardplus-3.43~svn170/src/ball.c:190:9: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:190:26: warning: Either the condition 'array==NULL' is redundant or there is possible null pointer dereference: array. [nullPointerRedundantCheck] foobillardplus-3.43~svn170/src/ball.c:186:17: note: Assuming that condition 'array==NULL' is not redundant foobillardplus-3.43~svn170/src/ball.c:190:26: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:191:10: warning: Either the condition 'array==NULL' is redundant or there is possible null pointer dereference: array. [nullPointerRedundantCheck] foobillardplus-3.43~svn170/src/ball.c:186:17: note: Assuming that condition 'array==NULL' is not redundant foobillardplus-3.43~svn170/src/ball.c:191:10: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:271:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:271:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:272:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:272:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:273:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:273:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:274:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:274:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:275:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:275:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:276:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:276:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:278:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:278:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:279:5: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:279:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:298:19: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:298:19: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:299:23: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:299:23: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:301:24: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:301:24: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:301:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:301:36: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:302:24: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:302:24: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:302:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:302:36: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:303:24: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:303:24: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:303:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:303:36: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:305:24: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:305:24: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:305:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:305:36: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:306:24: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:306:24: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:306:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:306:36: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:307:24: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:307:24: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:307:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:307:36: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:309:24: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:309:24: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:309:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:309:36: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:310:24: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:310:24: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:310:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:310:36: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:311:24: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:311:24: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:311:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:311:36: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:500:14: warning: If memory allocation fails, then there is a possible null pointer dereference: *data [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:495:17: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:495:17: note: Assignment '*data=malloc((*w)*(*h)*3)', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:500:14: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:613:14: warning: If memory allocation fails, then there is a possible null pointer dereference: *data [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:608:17: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:608:17: note: Assignment '*data=malloc((*w)*(*h)*3)', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:613:14: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:677:14: warning: If memory allocation fails, then there is a possible null pointer dereference: *data [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:672:17: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:672:17: note: Assignment '*data=malloc((*w)*(*h)*3)', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:677:14: note: Null pointer dereference foobillardplus-3.43~svn170/src/ball.c:92:34: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/ball.c:92:51: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/ball.c:120:43: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/ball.c:161:37: style: Parameter 'v1' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/ball.c:161:50: style: Parameter 'v2' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/ball.c:161:63: style: Parameter 'v3' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/ball.c:448:31: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/ball.c:845:34: style: Parameter 'balls' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/ball.c:863:110: style: Parameter 'lightpos' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/ball.c:863:148: style: Parameter 'cuberef_binds' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/ball.c:473:16: style: Variable 'sx2' is assigned a value that is never used. [unreadVariable] foobillardplus-3.43~svn170/src/ball.c:474:16: style: Variable 'sy2' is assigned a value that is never used. [unreadVariable] foobillardplus-3.43~svn170/src/aiplayer.c:333:56: warning: Logical disjunction always evaluates to true: i >= 2 || i <= 7. [incorrectLogicOperator] foobillardplus-3.43~svn170/src/aiplayer.c:388:15: style: Redundant initialization for 'r_hit'. The initialized value is overwritten before it is read. [redundantInitialization] foobillardplus-3.43~svn170/src/aiplayer.c:290:18: note: r_hit is initialized foobillardplus-3.43~svn170/src/aiplayer.c:388:15: note: r_hit is overwritten foobillardplus-3.43~svn170/src/aiplayer.c:67:34: style: Parameter 'bcue' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/aiplayer.c:67:51: style: Parameter 'bhit' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/aiplayer.c:67:68: style: Parameter 'hole' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/aiplayer.c:80:54: style: Parameter 'balls' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/aiplayer.c:106:38: style: Parameter 'balls' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/aiplayer.c:117:37: style: Parameter 'balls' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/aiplayer.c:136:89: style: Parameter 'pplayer' can be declared as pointer to const. However it seems that 'ai_get_stroke_dir_8ball' is a callback function, if 'pplayer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] foobillardplus-3.43~svn170/src/aiplayer.c:32:97: note: You might need to cast the function pointer here foobillardplus-3.43~svn170/src/aiplayer.c:136:89: note: Parameter 'pplayer' can be declared as pointer to const foobillardplus-3.43~svn170/src/aiplayer.c:142:15: style: Variable 'bhit' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/aiplayer.c:142:22: style: Variable 'bcue' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/aiplayer.c:143:15: style: Variable 'hole' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/aiplayer.c:224:15: style: Variable 'bhit' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/aiplayer.c:224:22: style: Variable 'bcue' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/aiplayer.c:225:15: style: Variable 'hole' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/aiplayer.c:272:48: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/aiplayer.c:295:15: style: Variable 'bhit' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/aiplayer.c:295:22: style: Variable 'bcue' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/aiplayer.c:296:15: style: Variable 'hole' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/aiplayer.c:409:48: style: Parameter 'balls' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/aiplayer.c:409:69: style: Parameter 'walls' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/aiplayer.c:409:92: style: Parameter 'pplayer' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/aiplayer.c:291:21: style: Variable 'hole_aim' is assigned a value that is never used. [unreadVariable] foobillardplus-3.43~svn170/src/aiplayer.c:387:14: style: Variable 'hole' is assigned a value that is never used. [unreadVariable] foobillardplus-3.43~svn170/src/billmove.c:722:37: style: Redundant condition: The condition 'balls->ball[i].nr != 0' is redundant since 'balls->ball[i].nr > 8' is sufficient. [redundantCondition] foobillardplus-3.43~svn170/src/billmove.c:1010:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/billmove.c:1009:21: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/billmove.c:1009:21: note: Assignment 'newpath=malloc((pball->pathsize+plussize)*sizeof(struct VMvect))', assigned value is 0 foobillardplus-3.43~svn170/src/billmove.c:1010:13: note: Null pointer dereference foobillardplus-3.43~svn170/src/billmove.c:422:34: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:422:49: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:525:53: style: Parameter 'b1' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:525:68: style: Parameter 'b2' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:545:40: style: Parameter 'ball' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:545:59: style: Parameter 'wall' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:553:42: style: Parameter 'ball' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:560:66: style: Parameter 'wall' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:685:35: style: Parameter 'ball' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:685:54: style: Parameter 'borders' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:749:36: style: Parameter 'ball' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:749:55: style: Parameter 'wall' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:771:36: style: Parameter 'b1' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:771:51: style: Parameter 'b2' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:854:35: style: Parameter 'ball' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billmove.c:863:12: style: Variable 'j' is assigned a value that is never used. [unreadVariable] foobillardplus-3.43~svn170/src/bumpref.c:174:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ddata [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/bumpref.c:171:19: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/bumpref.c:171:19: note: Assignment 'ddata=malloc(sizeof(VMfloat)*w*h)', assigned value is 0 foobillardplus-3.43~svn170/src/bumpref.c:174:9: note: Null pointer dereference foobillardplus-3.43~svn170/src/bumpref.c:185:22: warning: If memory allocation fails, then there is a possible null pointer dereference: ddata [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/bumpref.c:171:19: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/bumpref.c:171:19: note: Assignment 'ddata=malloc(sizeof(VMfloat)*w*h)', assigned value is 0 foobillardplus-3.43~svn170/src/bumpref.c:185:22: note: Null pointer dereference foobillardplus-3.43~svn170/src/bumpref.c:186:22: warning: If memory allocation fails, then there is a possible null pointer dereference: ddata [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/bumpref.c:171:19: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/bumpref.c:171:19: note: Assignment 'ddata=malloc(sizeof(VMfloat)*w*h)', assigned value is 0 foobillardplus-3.43~svn170/src/bumpref.c:186:22: note: Null pointer dereference foobillardplus-3.43~svn170/src/bumpref.c:187:22: warning: If memory allocation fails, then there is a possible null pointer dereference: ddata [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/bumpref.c:171:19: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/bumpref.c:171:19: note: Assignment 'ddata=malloc(sizeof(VMfloat)*w*h)', assigned value is 0 foobillardplus-3.43~svn170/src/bumpref.c:187:22: note: Null pointer dereference foobillardplus-3.43~svn170/src/bumpref.c:859:30: style:inconclusive: Function 'bump_use' argument 1 names different: declaration 'bump' definition 'bumpref'. [funcArgNamesDifferent] foobillardplus-3.43~svn170/src/bumpref.h:71:34: note: Function 'bump_use' argument 1 names different: declaration 'bump' definition 'bumpref'. foobillardplus-3.43~svn170/src/bumpref.c:859:30: note: Function 'bump_use' argument 1 names different: declaration 'bump' definition 'bumpref'. foobillardplus-3.43~svn170/src/bumpref.c:65:36: style: Parameter 'posx_name' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bumpref.c:66:35: style: Parameter 'posy_name' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bumpref.c:67:35: style: Parameter 'posz_name' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bumpref.c:68:35: style: Parameter 'negx_name' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bumpref.c:69:35: style: Parameter 'negy_name' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bumpref.c:70:35: style: Parameter 'negz_name' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bumpref.c:265:36: style: Parameter 'map_name' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bumpref.c:340:32: style: Parameter 'bumpref' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bumpref.c:812:36: style: Parameter 'bumpref' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bumpref.c:827:35: style: Parameter 'bumpref' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bumpref.c:843:35: style: Parameter 'bumpref' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bumpref.c:859:30: style: Parameter 'bumpref' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/bottle.c:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/bottle.c:2794:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_COORD_ARRAY [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:1322:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:1851:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:2630:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable roster_player1 [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:2659:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable winner [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:2694:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable winner [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:2717:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable roster_player1 [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:3637:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:3665:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_ARRAY [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:3728:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:3783:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:3872:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:3971:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:4447:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FOG_START [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:5851:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:6747:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:7206:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MULTISAMPLE_ARB [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:7878:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_EXTENSIONS [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:7929:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DITHER [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:8083:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/cartoonguy.c:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/cartoonguy.c:8557:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_NORMAL_ARRAY [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/billard3d.c:1319:12: warning:inconclusive: The buffer 'options_language' may not be null-terminated after the call to strncpy(). [terminateStrncpy] foobillardplus-3.43~svn170/src/billard3d.c:3589:20: style: Condition 'place_cue_ball' is always true [knownConditionTrueFalse] foobillardplus-3.43~svn170/src/billard3d.c:1707:12: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] foobillardplus-3.43~svn170/src/billard3d.c:1732:14: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] foobillardplus-3.43~svn170/src/billard3d.c:1873:10: warning: If memory allocation fails, then there is a possible null pointer dereference: *confv [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/billard3d.c:1870:24: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/billard3d.c:1870:24: note: Assignment '*confv=malloc((argc+*confc)*sizeof(char*))', assigned value is 0 foobillardplus-3.43~svn170/src/billard3d.c:1873:10: note: Null pointer dereference foobillardplus-3.43~svn170/src/billard3d.c:3540:17: style: Variable 'start_x' is reassigned a value before the old one has been used. [redundantAssignment] foobillardplus-3.43~svn170/src/billard3d.c:3520:23: note: start_x is assigned foobillardplus-3.43~svn170/src/billard3d.c:3540:17: note: start_x is overwritten foobillardplus-3.43~svn170/src/billard3d.c:3541:17: style: Variable 'start_y' is reassigned a value before the old one has been used. [redundantAssignment] foobillardplus-3.43~svn170/src/billard3d.c:3521:23: note: start_y is assigned foobillardplus-3.43~svn170/src/billard3d.c:3541:17: note: start_y is overwritten foobillardplus-3.43~svn170/src/billard3d.c:5844:24: style:inconclusive: Function 'ResizeWindow' argument 1 names different: declaration 'w' definition 'width'. [funcArgNamesDifferent] foobillardplus-3.43~svn170/src/billard3d.h:86:23: note: Function 'ResizeWindow' argument 1 names different: declaration 'w' definition 'width'. foobillardplus-3.43~svn170/src/billard3d.c:5844:24: note: Function 'ResizeWindow' argument 1 names different: declaration 'w' definition 'width'. foobillardplus-3.43~svn170/src/billard3d.c:5844:35: style:inconclusive: Function 'ResizeWindow' argument 2 names different: declaration 'h' definition 'height'. [funcArgNamesDifferent] foobillardplus-3.43~svn170/src/billard3d.h:86:29: note: Function 'ResizeWindow' argument 2 names different: declaration 'h' definition 'height'. foobillardplus-3.43~svn170/src/billard3d.c:5844:35: note: Function 'ResizeWindow' argument 2 names different: declaration 'h' definition 'height'. foobillardplus-3.43~svn170/src/billard3d.c:1288:51: style: Parameter 'param' can be declared as pointer to const. However it seems that 'notshow_disc' is a callback function, if 'param' is declared with const you might also need to cast function pointer(s). [constParameterCallback] foobillardplus-3.43~svn170/src/billard3d.c:6412:32: note: You might need to cast the function pointer here foobillardplus-3.43~svn170/src/billard3d.c:1288:51: note: Parameter 'param' can be declared as pointer to const foobillardplus-3.43~svn170/src/billard3d.c:1782:33: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billard3d.c:1782:44: style: Parameter 'appname' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billard3d.c:1785:11: style: Variable 'helptext' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/billard3d.c:2535:11: style: Variable 'playername' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/billard3d.c:2536:11: style: Variable 'player_error' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/billard3d.c:2715:67: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billard3d.c:7720:24: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/billard3d.c:7855:24: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billard3d.c:7855:34: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/billard3d.c:6117:32: error: Uninitialized variable: posoffs.z [uninitvar] foobillardplus-3.43~svn170/src/billard3d.c:6117:32: error: Uninitialized struct member: posoffs.z [uninitStructMember] foobillardplus-3.43~svn170/src/billard3d.c:2319:15: style: Unused variable: cue_start [unusedVariable] foobillardplus-3.43~svn170/src/billard3d.c:2319:41: style: Unused variable: cue_start_ball [unusedVariable] foobillardplus-3.43~svn170/src/chess.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/chess.c:12181:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_COORD_ARRAY [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/ceilinglamp_high.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/ceilinglamp_high.c:18281:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_COORD_ARRAY [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/evaluate_move.c:88:62: style:inconclusive: Function 'evaluate_last_move_8ball' argument 2 names different: declaration 'actual_player' definition 'pact_player'. [funcArgNamesDifferent] foobillardplus-3.43~svn170/src/evaluate_move.h:35:66: note: Function 'evaluate_last_move_8ball' argument 2 names different: declaration 'actual_player' definition 'pact_player'. foobillardplus-3.43~svn170/src/evaluate_move.c:88:62: note: Function 'evaluate_last_move_8ball' argument 2 names different: declaration 'actual_player' definition 'pact_player'. foobillardplus-3.43~svn170/src/evaluate_move.c:283:62: style:inconclusive: Function 'evaluate_last_move_9ball' argument 2 names different: declaration 'actual_player' definition 'pact_player'. [funcArgNamesDifferent] foobillardplus-3.43~svn170/src/evaluate_move.h:36:66: note: Function 'evaluate_last_move_9ball' argument 2 names different: declaration 'actual_player' definition 'pact_player'. foobillardplus-3.43~svn170/src/evaluate_move.c:283:62: note: Function 'evaluate_last_move_9ball' argument 2 names different: declaration 'actual_player' definition 'pact_player'. foobillardplus-3.43~svn170/src/evaluate_move.c:400:65: style:inconclusive: Function 'evaluate_last_move_carambol' argument 2 names different: declaration 'actual_player' definition 'pact_player'. [funcArgNamesDifferent] foobillardplus-3.43~svn170/src/evaluate_move.h:37:66: note: Function 'evaluate_last_move_carambol' argument 2 names different: declaration 'actual_player' definition 'pact_player'. foobillardplus-3.43~svn170/src/evaluate_move.c:400:65: note: Function 'evaluate_last_move_carambol' argument 2 names different: declaration 'actual_player' definition 'pact_player'. foobillardplus-3.43~svn170/src/evaluate_move.c:517:64: style:inconclusive: Function 'evaluate_last_move_snooker' argument 2 names different: declaration 'actual_player' definition 'pact_player'. [funcArgNamesDifferent] foobillardplus-3.43~svn170/src/evaluate_move.h:38:66: note: Function 'evaluate_last_move_snooker' argument 2 names different: declaration 'actual_player' definition 'pact_player'. foobillardplus-3.43~svn170/src/evaluate_move.c:517:64: note: Function 'evaluate_last_move_snooker' argument 2 names different: declaration 'actual_player' definition 'pact_player'. foobillardplus-3.43~svn170/src/evaluate_move.c:818:31: style: Parameter 'concattext' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/evaluate_move.c:571:21: style: Variable 'color_to_pot' is assigned a value that is never used. [unreadVariable] foobillardplus-3.43~svn170/src/fire.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/fireplace_high.c:61:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/fireplace_high.c:110:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/fireplace_high.c:12056:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_NORMAL_ARRAY [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/flower.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/flower.c:2623:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_COORD_ARRAY [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/font.c:297:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_Err_Unknown_File_Format [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/font.c:415:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/font.c:446:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_NORMAL_ARRAY [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/font.c:616:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLU_TESS_BEGIN [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/font.c:716:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_Err_Unknown_File_Format [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/font.c:125:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tessdata [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:124:20: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:124:20: note: Assignment 'tessdata=malloc(sizeof(struct TessData))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:125:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/font.c:126:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tessdata [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:124:20: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:124:20: note: Assignment 'tessdata=malloc(sizeof(struct TessData))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:126:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/font.c:127:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tessdata [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:124:20: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:124:20: note: Assignment 'tessdata=malloc(sizeof(struct TessData))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:127:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/font.c:128:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tessdata [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:124:20: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:124:20: note: Assignment 'tessdata=malloc(sizeof(struct TessData))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:128:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/font.c:474:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tdv [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:473:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:473:15: note: Assignment 'tdv=malloc(sizeof(struct TessDataVec))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:474:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/font.c:475:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tdv [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:473:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:473:15: note: Assignment 'tdv=malloc(sizeof(struct TessDataVec))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:475:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/font.c:476:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tdv [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:473:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:473:15: note: Assignment 'tdv=malloc(sizeof(struct TessDataVec))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:476:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/font.c:477:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tdv [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:473:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:473:15: note: Assignment 'tdv=malloc(sizeof(struct TessDataVec))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:477:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/font.c:478:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tdv [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:473:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:473:15: note: Assignment 'tdv=malloc(sizeof(struct TessDataVec))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:478:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/font.c:488:31: warning: If memory allocation fails, then there is a possible null pointer dereference: tdv [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:473:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:473:15: note: Assignment 'tdv=malloc(sizeof(struct TessDataVec))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:488:31: note: Null pointer dereference foobillardplus-3.43~svn170/src/font.c:488:39: warning: If memory allocation fails, then there is a possible null pointer dereference: tdv [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:473:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:473:15: note: Assignment 'tdv=malloc(sizeof(struct TessDataVec))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:488:39: note: Null pointer dereference foobillardplus-3.43~svn170/src/font.c:367:11: style: Variable 'error' is reassigned a value before the old one has been used. [redundantAssignment] foobillardplus-3.43~svn170/src/font.c:308:11: note: error is assigned foobillardplus-3.43~svn170/src/font.c:367:11: note: error is overwritten foobillardplus-3.43~svn170/src/font.c:757:11: style: Variable 'error' is reassigned a value before the old one has been used. [redundantAssignment] foobillardplus-3.43~svn170/src/font.c:724:11: note: error is assigned foobillardplus-3.43~svn170/src/font.c:757:11: note: error is overwritten foobillardplus-3.43~svn170/src/font.c:246:7: style: Statements following 'return' will never be executed. [unreachableCode] foobillardplus-3.43~svn170/src/font.c:610:13: style: Local variable 'NormalData' shadows outer variable [shadowVariable] foobillardplus-3.43~svn170/src/font.c:100:16: note: Shadowed declaration foobillardplus-3.43~svn170/src/font.c:610:13: note: Shadow variable foobillardplus-3.43~svn170/src/font.c:218:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/font.c:266:29: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/font.c:390:21: style: Variable 'd' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/font.c:493:34: style: Parameter 'to' can be declared as pointer to const. However it seems that 'cb_tess_move_to' is a callback function, if 'to' is declared with const you might also need to cast function pointer(s). [constParameterCallback] foobillardplus-3.43~svn170/src/font.c:621:45: note: You might need to cast the function pointer here foobillardplus-3.43~svn170/src/font.c:493:34: note: Parameter 'to' can be declared as pointer to const foobillardplus-3.43~svn170/src/font.c:515:34: style: Parameter 'to' can be declared as pointer to const. However it seems that 'cb_tess_line_to' is a callback function, if 'to' is declared with const you might also need to cast function pointer(s). [constParameterCallback] foobillardplus-3.43~svn170/src/font.c:622:45: note: You might need to cast the function pointer here foobillardplus-3.43~svn170/src/font.c:515:34: note: Parameter 'to' can be declared as pointer to const foobillardplus-3.43~svn170/src/font.c:554:35: style: Parameter 'ctrl' can be declared as pointer to const. However it seems that 'cb_tess_conic_to' is a callback function, if 'ctrl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] foobillardplus-3.43~svn170/src/font.c:623:46: note: You might need to cast the function pointer here foobillardplus-3.43~svn170/src/font.c:554:35: note: Parameter 'ctrl' can be declared as pointer to const foobillardplus-3.43~svn170/src/font.c:554:53: style: Parameter 'to' can be declared as pointer to const. However it seems that 'cb_tess_conic_to' is a callback function, if 'to' is declared with const you might also need to cast function pointer(s). [constParameterCallback] foobillardplus-3.43~svn170/src/font.c:623:46: note: You might need to cast the function pointer here foobillardplus-3.43~svn170/src/font.c:554:53: note: Parameter 'to' can be declared as pointer to const foobillardplus-3.43~svn170/src/font.c:577:35: style: Parameter 'ctrl1' can be declared as pointer to const. However it seems that 'cb_tess_cubic_to' is a callback function, if 'ctrl1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] foobillardplus-3.43~svn170/src/font.c:624:46: note: You might need to cast the function pointer here foobillardplus-3.43~svn170/src/font.c:577:35: note: Parameter 'ctrl1' can be declared as pointer to const foobillardplus-3.43~svn170/src/font.c:577:54: style: Parameter 'ctrl2' can be declared as pointer to const. However it seems that 'cb_tess_cubic_to' is a callback function, if 'ctrl2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] foobillardplus-3.43~svn170/src/font.c:624:46: note: You might need to cast the function pointer here foobillardplus-3.43~svn170/src/font.c:577:54: note: Parameter 'ctrl2' can be declared as pointer to const foobillardplus-3.43~svn170/src/font.c:577:73: style: Parameter 'to' can be declared as pointer to const. However it seems that 'cb_tess_cubic_to' is a callback function, if 'to' is declared with const you might also need to cast function pointer(s). [constParameterCallback] foobillardplus-3.43~svn170/src/font.c:624:46: note: You might need to cast the function pointer here foobillardplus-3.43~svn170/src/font.c:577:73: note: Parameter 'to' can be declared as pointer to const foobillardplus-3.43~svn170/src/font.c:668:19: style: Variable 'tdv_p' is assigned a value that is never used. [unreadVariable] foobillardplus-3.43~svn170/src/getopt_long.c:43:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/helpscreen.c:98:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/history.c:135:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/history.c:139:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] foobillardplus-3.43~svn170/src/history.c:201:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] foobillardplus-3.43~svn170/src/history.c:81:21: style: Parameter 'filecheck' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/history.c:93:26: style: Parameter 'historyfile' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/history.c:119:57: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/history.c:119:67: style: Parameter 'winner' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/history.c:131:16: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/history.c:187:25: style: Parameter 'player1' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/history.c:187:40: style: Parameter 'player2' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/history.c:187:55: style: Parameter 'winner' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/history.c:198:16: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/history.c:234:26: style: Parameter 'inputfile' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/history.c:234:43: style: Parameter 'outputfile' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/history.c:244:10: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/language.c:54:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/language.c:171:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/language.c:129:29: style: Array index 'index' is used before limits check. [arrayIndexThenCheck] foobillardplus-3.43~svn170/src/language.c:50:6: warning:inconclusive: The buffer 'charlang' may not be null-terminated after the call to strncpy(). [terminateStrncpy] foobillardplus-3.43~svn170/src/language.c:79:5: warning:inconclusive: The buffer 'options_language' may not be null-terminated after the call to strncpy(). [terminateStrncpy] foobillardplus-3.43~svn170/src/language.c:89:10: style: Variable 'exe_path' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/language.c:117:11: style: Variable 'language_file' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/language.c:168:11: style: Variable 'manual_file' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/menu.c:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/menu.c:157:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/menu.c:181:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/menu.c:206:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/menu.c:235:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/menu.c:259:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/menu.c:578:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_CURRENT_BIT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/menu.c:94:5: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assignment 'menu=malloc(sizeof(struct menuType))', assigned value is 0 foobillardplus-3.43~svn170/src/menu.c:94:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/menu.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assignment 'menu=malloc(sizeof(struct menuType))', assigned value is 0 foobillardplus-3.43~svn170/src/menu.c:95:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/menu.c:96:5: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assignment 'menu=malloc(sizeof(struct menuType))', assigned value is 0 foobillardplus-3.43~svn170/src/menu.c:96:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/menu.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assignment 'menu=malloc(sizeof(struct menuType))', assigned value is 0 foobillardplus-3.43~svn170/src/menu.c:97:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/menu.c:98:5: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assignment 'menu=malloc(sizeof(struct menuType))', assigned value is 0 foobillardplus-3.43~svn170/src/menu.c:98:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/menu.c:99:5: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assignment 'menu=malloc(sizeof(struct menuType))', assigned value is 0 foobillardplus-3.43~svn170/src/menu.c:99:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/menu.c:100:5: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/menu.c:93:18: note: Assignment 'menu=malloc(sizeof(struct menuType))', assigned value is 0 foobillardplus-3.43~svn170/src/menu.c:100:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/menu.c:921:20: warning: If memory allocation fails, then there is a possible null pointer dereference: videomode_menus [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/menu.c:916:42: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/menu.c:916:23: note: Assignment 'videomode_menus=(struct menuType**)malloc(menu_num*sizeof(struct menuType*))', assigned value is 0 foobillardplus-3.43~svn170/src/menu.c:918:14: note: Assuming condition is false foobillardplus-3.43~svn170/src/menu.c:921:20: note: Null pointer dereference foobillardplus-3.43~svn170/src/menu.c:108:48: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/menu.c:108:102: style: Parameter 'subtext' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/menu.c:141:46: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/menu.c:165:50: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/menu.c:189:52: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/menu.c:214:50: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/menu.c:244:44: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/mesh.c:98:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VERTEX_ARRAY [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/mesh.c:126:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/mesh.c:142:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/mesh.c:162:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/mesh.c:192:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/mesh.c:211:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/mesh.c:266:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/mesh.c:154:19: style: Variable 'ambient_torus' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/mesh.c:155:19: style: Variable 'diffuse_torus' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/mesh.c:156:19: style: Variable 'specular_torus' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/mesh.c:204:19: style: Variable 'ambient_torus' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/mesh.c:205:19: style: Variable 'diffuse_torus' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/mesh.c:206:19: style: Variable 'specular_torus' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/png_loader.c:80:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/png_loader.c:246:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_MAX_PALETTE_LENGTH [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/png_loader.c:302:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/png_loader.c:235:9: error: Resource handle 'fp' freed twice. [doubleFree] foobillardplus-3.43~svn170/src/png_loader.c:225:9: note: Resource handle 'fp' freed twice. foobillardplus-3.43~svn170/src/png_loader.c:235:9: note: Resource handle 'fp' freed twice. foobillardplus-3.43~svn170/src/png_loader.c:254:9: error: Resource handle 'fp' freed twice. [doubleFree] foobillardplus-3.43~svn170/src/png_loader.c:225:9: note: Resource handle 'fp' freed twice. foobillardplus-3.43~svn170/src/png_loader.c:254:9: note: Resource handle 'fp' freed twice. foobillardplus-3.43~svn170/src/png_loader.c:261:9: error: Resource handle 'fp' freed twice. [doubleFree] foobillardplus-3.43~svn170/src/png_loader.c:225:9: note: Resource handle 'fp' freed twice. foobillardplus-3.43~svn170/src/png_loader.c:261:9: note: Resource handle 'fp' freed twice. foobillardplus-3.43~svn170/src/png_loader.c:110:9: warning: If memory allocation fails, then there is a possible null pointer dereference: row_pointers [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/png_loader.c:108:36: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/png_loader.c:108:20: note: Assignment 'row_pointers=(char**)malloc(height*sizeof(char*))', assigned value is 0 foobillardplus-3.43~svn170/src/png_loader.c:110:9: note: Null pointer dereference foobillardplus-3.43~svn170/src/queue.c:79:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/queue.c:183:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/queue.c:222:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_CULL_FACE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/queue.c:194:25: style:inconclusive: Function 'draw_queue' argument 1 names different: declaration 'pos' definition 'pos0'. [funcArgNamesDifferent] foobillardplus-3.43~svn170/src/queue.h:33:25: note: Function 'draw_queue' argument 1 names different: declaration 'pos' definition 'pos0'. foobillardplus-3.43~svn170/src/queue.c:194:25: note: Function 'draw_queue' argument 1 names different: declaration 'pos' definition 'pos0'. foobillardplus-3.43~svn170/src/queue.c:195:76: style: Parameter 'lightpos' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/queue.c:202:13: style: Variable 'queue_col_spec' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/queue.c:203:13: style: Variable 'queue_col_diff' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/queue.c:204:13: style: Variable 'queue_col_refl' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/queue.c:280:13: style: Variable 'col_spec' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/queue.c:281:13: style: Variable 'col_amb' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/queue.c:375:16: style: Variable 'elbow2' is assigned a value that is never used. [unreadVariable] foobillardplus-3.43~svn170/src/room.c:43:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SHORT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/room.c:57:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_COORD_ARRAY [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/room.c:74:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/room.c:97:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SHORT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/room.c:132:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGB [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sittingboy.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sittingboy.c:19634:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_COORD_ARRAY [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sys_stuff.c:123:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sys_stuff.c:165:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sys_stuff.c:212:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sys_stuff.c:335:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sys_stuff.c:541:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FULLSCREEN [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sys_stuff.c:621:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PRESSED [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sys_stuff.c:698:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KMOD_LSHIFT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sys_stuff.c:862:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HWSURFACE [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sys_stuff.c:975:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/sys_stuff.c:940:9: warning:inconclusive: The buffer 'exe_prog' may not be null-terminated after the call to strncpy(). [terminateStrncpy] foobillardplus-3.43~svn170/src/sys_stuff.c:124:12: style: Condition 'path!=NULL' is always true [knownConditionTrueFalse] foobillardplus-3.43~svn170/src/sys_stuff.c:948:13: style: Condition '!slash_pos' is always false [knownConditionTrueFalse] foobillardplus-3.43~svn170/src/sys_stuff.c:219:5: error: Resource leak: from [resourceLeak] foobillardplus-3.43~svn170/src/sys_stuff.c:867:9: warning: If memory allocation fails, then there is a possible null pointer dereference: sysmodes [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/sys_stuff.c:865:40: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/sys_stuff.c:865:16: note: Assignment 'sysmodes=(struct sysResolution*)malloc((modenr+1)*sizeof(struct sysResolution))', assigned value is 0 foobillardplus-3.43~svn170/src/sys_stuff.c:867:9: note: Null pointer dereference foobillardplus-3.43~svn170/src/sys_stuff.c:868:9: warning: If memory allocation fails, then there is a possible null pointer dereference: sysmodes [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/sys_stuff.c:865:40: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/sys_stuff.c:865:16: note: Assignment 'sysmodes=(struct sysResolution*)malloc((modenr+1)*sizeof(struct sysResolution))', assigned value is 0 foobillardplus-3.43~svn170/src/sys_stuff.c:868:9: note: Null pointer dereference foobillardplus-3.43~svn170/src/sys_stuff.c:870:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sysmodes [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/sys_stuff.c:865:40: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/sys_stuff.c:865:16: note: Assignment 'sysmodes=(struct sysResolution*)malloc((modenr+1)*sizeof(struct sysResolution))', assigned value is 0 foobillardplus-3.43~svn170/src/sys_stuff.c:870:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/sys_stuff.c:871:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sysmodes [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/sys_stuff.c:865:40: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/sys_stuff.c:865:16: note: Assignment 'sysmodes=(struct sysResolution*)malloc((modenr+1)*sizeof(struct sysResolution))', assigned value is 0 foobillardplus-3.43~svn170/src/sys_stuff.c:871:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/sys_stuff.c:72:31: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/sys_stuff.c:72:43: style: Parameter 'repl' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/sys_stuff.c:74:9: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/sys_stuff.c:156:24: style: Parameter 'error_message' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/sys_stuff.c:156:45: style: Parameter 'error_extend' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/sys_stuff.c:190:9: style: Variable 'dialog_prog' can be declared as const array [constVariable] foobillardplus-3.43~svn170/src/sys_stuff.c:205:20: style: Parameter 'filefrom' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/sys_stuff.c:205:35: style: Parameter 'fileto' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/sys_stuff.c:535:19: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] foobillardplus-3.43~svn170/src/sys_stuff.c:591:55: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/sys_stuff.c:792:48: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/table.c:183:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLOAT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/table.c:371:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLOAT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/table.c:477:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLOAT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/table.c:624:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLOAT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/table.c:783:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLOAT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/table.c:872:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLOAT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/table.c:904:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/table.c:1019:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLOAT [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/table.c:1180:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/table.c:918:30: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] foobillardplus-3.43~svn170/src/table.c:918:37: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] foobillardplus-3.43~svn170/src/table.c:1296:20: style: Local variable 'x' shadows outer variable [shadowVariable] foobillardplus-3.43~svn170/src/table.c:1124:13: note: Shadowed declaration foobillardplus-3.43~svn170/src/table.c:1296:20: note: Shadow variable foobillardplus-3.43~svn170/src/table.c:1296:22: style: Local variable 'y' shadows outer variable [shadowVariable] foobillardplus-3.43~svn170/src/table.c:1124:15: note: Shadowed declaration foobillardplus-3.43~svn170/src/table.c:1296:22: note: Shadow variable foobillardplus-3.43~svn170/src/table.c:1790:24: style: Local variable 'phi' shadows outer variable [shadowVariable] foobillardplus-3.43~svn170/src/table.c:1124:29: note: Shadowed declaration foobillardplus-3.43~svn170/src/table.c:1790:24: note: Shadow variable foobillardplus-3.43~svn170/src/table.c:1835:24: style: Local variable 'phi' shadows outer variable [shadowVariable] foobillardplus-3.43~svn170/src/table.c:1124:29: note: Shadowed declaration foobillardplus-3.43~svn170/src/table.c:1835:24: note: Shadow variable foobillardplus-3.43~svn170/src/table.c:918:32: style: Variable 'x1' is assigned a value that is never used. [unreadVariable] foobillardplus-3.43~svn170/src/table.c:918:39: style: Variable 'x2' is assigned a value that is never used. [unreadVariable] foobillardplus-3.43~svn170/src/textobj.c:53:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] foobillardplus-3.43~svn170/src/textobj.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:97:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:98:5: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:98:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:99:5: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:99:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:100:12: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:100:12: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:101:12: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:101:12: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:102:25: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:102:25: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:102:35: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:102:35: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:102:50: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:102:50: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:112:5: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:112:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:113:5: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:113:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:114:5: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:114:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:115:12: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:115:12: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:116:12: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:116:12: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:117:5: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:117:5: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:117:38: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:117:38: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:117:48: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:117:48: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:117:63: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:117:63: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:117:76: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:117:76: note: Null pointer dereference foobillardplus-3.43~svn170/src/textobj.c:93:30: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/textobj.c:93:42: style: Parameter 'fontname' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/textobj.c:108:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/textobj.c:108:44: style: Parameter 'fontname' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/textobj.c:123:45: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/textobj.c:177:45: style: Parameter 'fontname' can be declared as pointer to const [constParameterPointer] foobillardplus-3.43~svn170/src/vmath.c:122:7: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/src/vmath.c:125:3: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/src/vmath.c:125:33: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/src/vmath.c:125:66: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/src/vmath.c:157:22: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] foobillardplus-3.43~svn170/src/vmath.c:120:29: style:inconclusive: Function 'fastsqrt' argument 1 names different: declaration 'number' definition 'n'. [funcArgNamesDifferent] foobillardplus-3.43~svn170/src/vmath.h:150:29: note: Function 'fastsqrt' argument 1 names different: declaration 'number' definition 'n'. foobillardplus-3.43~svn170/src/vmath.c:120:29: note: Function 'fastsqrt' argument 1 names different: declaration 'number' definition 'n'. foobillardplus-3.43~svn170/src/vmath.c:42:13: style: struct member 'Anonymous1::j' is never used. [unusedStructMember] diff: head foobillardplus-3.43~svn170/contrib/collision.c:130:20: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:20: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:130:33: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:33: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:130:47: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:47: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:130:59: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:59: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:130:73: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:73: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:130:85: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:130:85: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:131:18: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:18: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:131:32: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:32: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:131:46: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:46: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:131:58: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:58: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:131:73: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:73: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:131:85: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:131:85: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:132:18: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:18: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:132:31: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:31: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:132:45: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:45: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:132:57: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:57: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:132:72: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:72: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:132:84: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:132:84: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:133:18: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:18: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:133:32: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:32: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:133:46: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:46: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:133:58: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:58: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:133:72: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:72: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:133:84: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:133:84: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:134:19: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:19: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:134:32: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:32: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:134:46: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:46: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:134:58: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:58: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:134:73: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:73: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:134:85: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:134:85: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:135:19: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:19: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:135:34: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:34: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:135:48: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:48: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:135:60: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:60: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:135:75: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:75: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:135:87: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:135:87: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:136:20: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:20: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:136:36: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:36: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:136:50: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:50: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:136:62: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:62: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:136:77: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:77: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/collision.c:136:89: warning: If memory allocation fails, then there is a possible null pointer dereference: piec [nullPointerOutOfMemory] foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assuming allocation function fails foobillardplus-3.43~svn170/contrib/collision.c:129:16: note: Assignment 'piec=malloc(7*sizeof(*piec))', assigned value is 0 foobillardplus-3.43~svn170/contrib/collision.c:136:89: note: Null pointer dereference head foobillardplus-3.43~svn170/contrib/fastmath2.c:119:33: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head foobillardplus-3.43~svn170/contrib/fastmath2.c:119:66: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head foobillardplus-3.43~svn170/src/ball.c:190:26: warning: Either the condition 'array==NULL' is redundant or there is possible null pointer dereference: array. [nullPointerRedundantCheck] foobillardplus-3.43~svn170/src/ball.c:186:17: note: Assuming that condition 'array==NULL' is not redundant foobillardplus-3.43~svn170/src/ball.c:190:26: note: Null pointer dereference head foobillardplus-3.43~svn170/src/ball.c:301:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:301:36: note: Null pointer dereference head foobillardplus-3.43~svn170/src/ball.c:302:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:302:36: note: Null pointer dereference head foobillardplus-3.43~svn170/src/ball.c:303:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:303:36: note: Null pointer dereference head foobillardplus-3.43~svn170/src/ball.c:305:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:305:36: note: Null pointer dereference head foobillardplus-3.43~svn170/src/ball.c:306:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:306:36: note: Null pointer dereference head foobillardplus-3.43~svn170/src/ball.c:307:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:307:36: note: Null pointer dereference head foobillardplus-3.43~svn170/src/ball.c:309:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:309:36: note: Null pointer dereference head foobillardplus-3.43~svn170/src/ball.c:310:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:310:36: note: Null pointer dereference head foobillardplus-3.43~svn170/src/ball.c:311:36: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/ball.c:270:32: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/ball.c:270:13: note: Assignment 'array=(struct ElemArray*)malloc(sizeof(struct ElemArray))', assigned value is 0 foobillardplus-3.43~svn170/src/ball.c:311:36: note: Null pointer dereference head foobillardplus-3.43~svn170/src/font.c:488:39: warning: If memory allocation fails, then there is a possible null pointer dereference: tdv [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/font.c:473:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/font.c:473:15: note: Assignment 'tdv=malloc(sizeof(struct TessDataVec))', assigned value is 0 foobillardplus-3.43~svn170/src/font.c:488:39: note: Null pointer dereference head foobillardplus-3.43~svn170/src/table.c:918:37: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] head foobillardplus-3.43~svn170/src/textobj.c:102:35: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:102:35: note: Null pointer dereference head foobillardplus-3.43~svn170/src/textobj.c:102:50: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:96:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:102:50: note: Null pointer dereference head foobillardplus-3.43~svn170/src/textobj.c:117:38: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:117:38: note: Null pointer dereference head foobillardplus-3.43~svn170/src/textobj.c:117:48: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:117:48: note: Null pointer dereference head foobillardplus-3.43~svn170/src/textobj.c:117:63: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:117:63: note: Null pointer dereference head foobillardplus-3.43~svn170/src/textobj.c:117:76: warning: If memory allocation fails, then there is a possible null pointer dereference: obj [nullPointerOutOfMemory] foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assuming allocation function fails foobillardplus-3.43~svn170/src/textobj.c:111:15: note: Assignment 'obj=malloc(sizeof(struct textObj))', assigned value is 0 foobillardplus-3.43~svn170/src/textobj.c:117:76: note: Null pointer dereference head foobillardplus-3.43~svn170/src/vmath.c:125:33: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head foobillardplus-3.43~svn170/src/vmath.c:125:66: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] DONE