2025-11-26 06:36 ftp://ftp.de.debian.org/debian/pool/main/f/fenix/fenix_0.92a.dfsg1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --library=zlib --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 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 796b181 (2025-11-25 16:14:10 +0100) count: 1197 1190 elapsed-time: 4.0 4.3 head-timing-info: old-timing-info: head results: Fenix/common/dirs.c:68:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] Fenix/common/dirs.c:65:15: note: Assuming allocation function fails Fenix/common/dirs.c:65:15: note: Assignment 'p=strdup(dir)', assigned value is 0 Fenix/common/dirs.c:68:13: note: Null pointer dereference Fenix/common/dirs.c:95:10: style: Variable 'c' can be declared as pointer to const [constVariablePointer] Fenix/common/xctype.c:161:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTYPE_SPACE [valueFlowBailoutIncompleteVar] Fenix/common/files.c:73:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_FILE [valueFlowBailoutIncompleteVar] Fenix/common/files.c:92:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_XFILE [valueFlowBailoutIncompleteVar] Fenix/common/files.c:165:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_XFILE [valueFlowBailoutIncompleteVar] Fenix/common/files.c:316:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_XFILE [valueFlowBailoutIncompleteVar] Fenix/common/files.c:352:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_XFILE [valueFlowBailoutIncompleteVar] Fenix/common/files.c:372:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_XFILE [valueFlowBailoutIncompleteVar] Fenix/common/files.c:386:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_XFILE [valueFlowBailoutIncompleteVar] Fenix/common/files.c:421:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GZFILE [valueFlowBailoutIncompleteVar] Fenix/common/files.c:458:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file [valueFlowBailoutIncompleteVar] Fenix/common/files.c:546:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_FILE [valueFlowBailoutIncompleteVar] Fenix/common/files.c:596:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_XFILE [valueFlowBailoutIncompleteVar] Fenix/common/files.c:614:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_XFILE [valueFlowBailoutIncompleteVar] Fenix/fpg/fpg.c:106:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Fenix/fpg/fpg.c:175:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:4609:26: debug: Function::addArguments found argument 's2' with varid 0. [varid0] Fenix/common/regex.c:4484:24: debug: Function::addArguments found argument 'end' with varid 0. [varid0] Fenix/common/regex.c:4521:25: debug: Function::addArguments found argument 'end' with varid 0. [varid0] Fenix/common/regex.c:4375:25: debug: Function::addArguments found argument 'end' with varid 0. [varid0] Fenix/common/files.c:574:16: error: Array 'possible_paths[32]' accessed at index 32, which is out of bounds. [arrayIndexOutOfBounds] Fenix/common/files.c:571:2: note: After for loop, n has value 31 Fenix/common/files.c:574:16: note: Array index out of bounds Fenix/common/files.c:169:10: style: Local variable 'ptr' shadows outer variable [shadowVariable] Fenix/common/files.c:163:9: note: Shadowed declaration Fenix/common/files.c:169:10: note: Shadow variable Fenix/common/files.c:70:29: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] Fenix/common/files.c:70:53: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Fenix/common/files.c:163:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] Fenix/common/files.c:314:35: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] Fenix/common/files.c:444:49: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] Fenix/fxc/src/c_data.c:67:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_data.c:162:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_UNDEFINED [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_data.c:215:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_data.c:379:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_data.c:415:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_UNDEFINED [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:61:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MN_POINTER2BOL [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:82:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MN_POINTER2BOL [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:113:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_FLOAT [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:179:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:223:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_DWORD [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:254:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:411:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:569:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:795:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_UNDEFINED [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:846:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_INT [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:1157:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:1426:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:1644:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:1733:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:1862:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:1896:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:2002:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:2140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:2487:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_STRUCT [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:2559:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_STRING [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:2737:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:2826:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_data.c:57:13: style: Statements following 'break' will never be executed. [unreachableCode] Fenix/fxc/src/c_data.c:259:21: style: Local variable 'elements' shadows outer variable [shadowVariable] Fenix/fxc/src/c_data.c:207:9: note: Shadowed declaration Fenix/fxc/src/c_data.c:259:21: note: Shadow variable Fenix/fxc/src/c_data.c:528:25: style: Local variable 'code' shadows outer variable [shadowVariable] Fenix/fxc/src/c_data.c:413:9: note: Shadowed declaration Fenix/fxc/src/c_data.c:528:25: note: Shadow variable Fenix/fxc/src/c_data.c:659:27: style: Local variable 'n' shadows outer argument [shadowArgument] Fenix/fxc/src/c_data.c:407:34: note: Shadowed declaration Fenix/fxc/src/c_data.c:659:27: note: Shadow variable Fenix/fxc/src/c_data.c:741:27: style: Local variable 'n' shadows outer argument [shadowArgument] Fenix/fxc/src/c_data.c:407:34: note: Shadowed declaration Fenix/fxc/src/c_data.c:741:27: note: Shadow variable Fenix/fxc/src/c_data.c:776:40: style: Local variable 'j' shadows outer variable [shadowVariable] Fenix/fxc/src/c_data.c:409:12: note: Shadowed declaration Fenix/fxc/src/c_data.c:776:40: note: Shadow variable Fenix/fxc/src/c_data.c:903:13: style: Local variable 'i' shadows outer variable [shadowVariable] Fenix/fxc/src/c_data.c:409:9: note: Shadowed declaration Fenix/fxc/src/c_data.c:903:13: note: Shadow variable Fenix/fxc/src/c_data.c:421:16: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Fenix/fxc/src/c_data.c:424:15: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] Fenix/fxc/src/c_data.c:429:16: warning: Uninitialized variable: typeb [uninitvar] Fenix/fxc/src/c_data.c:414:20: style: Variable 'is_pointer' is assigned a value that is never used. [unreadVariable] Fenix/fxc/src/c_data.c:415:23: style: Variable 'basetype' is assigned a value that is never used. [unreadVariable] Fenix/fpg/fpg.c:1020:11: error: Array 'status[1000]' accessed at index 1000, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fpg/fpg.c:1016:20: note: Assuming that condition 'i<1000' is not redundant Fenix/fpg/fpg.c:1020:11: note: Array index out of bounds Fenix/fpg/fpg.c:330:2: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:356:2: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:437:2: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:472:18: warning: Return value of function gzseek() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:506:5: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:507:5: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:518:4: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:519:4: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:520:4: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:529:5: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:538:3: warning: Return value of function gzseek() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:585:2: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:587:3: warning: Return value of function gzseek() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:593:2: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:747:3: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:758:3: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:810:5: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:812:6: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:813:5: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:829:6: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:838:6: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:839:6: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:840:6: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:846:6: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:847:6: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:848:6: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:849:6: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:850:6: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:898:4: warning: Return value of function gzseek() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:902:5: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:903:5: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:904:5: warning: Return value of function gzseek() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:905:5: warning: Return value of function gzseek() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:908:5: warning: Return value of function gzseek() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:951:4: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:952:4: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:953:4: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:954:4: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:955:4: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:956:4: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:963:4: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:964:4: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:1032:4: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:1033:4: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:1037:5: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:1038:5: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:1039:5: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:1040:5: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:1043:4: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fpg/fpg.c:500:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'Uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] Fenix/fpg/fpg.c:872:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'Uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] Fenix/fpg/fpg.c:909:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'Uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] Fenix/fpg/fpg.c:997:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'Uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] Fenix/fpg/fpg.c:1044:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'Uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] Fenix/fpg/fpg.c:347:4: error: Returning/dereferencing 'map' after it is deallocated / released [deallocret] Fenix/fpg/fpg.c:345:4: note: Returning/dereferencing 'map' after it is deallocated / released Fenix/fpg/fpg.c:347:4: note: Returning/dereferencing 'map' after it is deallocated / released Fenix/fpg/fpg.c:821:7: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] Fenix/fpg/fpg.c:843:7: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] Fenix/fpg/fpg.c:857:6: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] Fenix/fpg/fpg.c:930:5: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] Fenix/fpg/fpg.c:960:5: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] Fenix/fpg/fpg.c:973:4: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/c_debug.c:172:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MN_MASK [valueFlowBailoutIncompleteVar] Fenix/fpg/fpg.c:331:11: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/fpg/fpg.c:329:22: note: Assuming allocation function fails Fenix/fpg/fpg.c:329:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/fpg/fpg.c:331:11: note: Null pointer dereference Fenix/fpg/fpg.c:335:14: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/fpg/fpg.c:329:22: note: Assuming allocation function fails Fenix/fpg/fpg.c:329:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/fpg/fpg.c:335:14: note: Null pointer dereference Fenix/fpg/fpg.c:365:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/fpg/fpg.c:329:22: note: Assuming allocation function fails Fenix/fpg/fpg.c:329:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/fpg/fpg.c:365:2: note: Null pointer dereference Fenix/fpg/fpg.c:377:8: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/fpg/fpg.c:329:22: note: Assuming allocation function fails Fenix/fpg/fpg.c:329:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/fpg/fpg.c:377:8: note: Null pointer dereference Fenix/fpg/fpg.c:377:28: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/fpg/fpg.c:329:22: note: Assuming allocation function fails Fenix/fpg/fpg.c:329:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/fpg/fpg.c:377:28: note: Null pointer dereference Fenix/fpg/fpg.c:377:49: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/fpg/fpg.c:329:22: note: Assuming allocation function fails Fenix/fpg/fpg.c:329:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/fpg/fpg.c:377:49: note: Null pointer dereference Fenix/fpg/fpg.c:378:6: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/fpg/fpg.c:329:22: note: Assuming allocation function fails Fenix/fpg/fpg.c:329:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/fpg/fpg.c:378:6: note: Null pointer dereference Fenix/fpg/fpg.c:380:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/fpg/fpg.c:329:22: note: Assuming allocation function fails Fenix/fpg/fpg.c:329:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/fpg/fpg.c:380:2: note: Null pointer dereference Fenix/fpg/fpg.c:699:21: warning: If memory allocation fails, then there is a possible null pointer dereference: palette [nullPointerOutOfMemory] Fenix/fpg/fpg.c:697:29: note: Assuming allocation function fails Fenix/fpg/fpg.c:697:13: note: Assignment 'palette=(char*)malloc(768+576)', assigned value is 0 Fenix/fpg/fpg.c:699:21: note: Null pointer dereference Fenix/fpg/fpg.c:1104:6: warning: If memory allocation fails, then there is a possible null pointer dereference: policy [nullPointerOutOfMemory] Fenix/fpg/fpg.c:1103:22: note: Assuming allocation function fails Fenix/fpg/fpg.c:1103:22: note: Assignment 'policy=strdup("wb ")', assigned value is 0 Fenix/fpg/fpg.c:1104:6: note: Null pointer dereference Fenix/fpg/fpg.c:377:6: style: Variable 'len' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fpg/fpg.c:337:16: note: len is assigned Fenix/fpg/fpg.c:377:6: note: len is overwritten Fenix/fpg/fpg.c:377:6: style: Variable 'len' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fpg/fpg.c:350:16: note: len is assigned Fenix/fpg/fpg.c:377:6: note: len is overwritten Fenix/fpg/fpg.c:557:13: style: Checking if unsigned expression 'count' is less than zero. [unsignedLessThanZero] Fenix/fpg/fpg.c:773:16: style: Checking if unsigned expression 'map.code' is less than zero. [unsignedLessThanZero] Fenix/fpg/fpg.c:837:13: style: Local variable 'frames' shadows outer variable [shadowVariable] Fenix/fpg/fpg.c:636:9: note: Shadowed declaration Fenix/fpg/fpg.c:837:13: note: Shadow variable Fenix/fpg/fpg.c:901:12: style: Local variable 'frames' shadows outer variable [shadowVariable] Fenix/fpg/fpg.c:636:9: note: Shadowed declaration Fenix/fpg/fpg.c:901:12: note: Shadow variable Fenix/fpg/fpg.c:392:30: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] Fenix/fpg/fpg.c:392:47: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] Fenix/fxc/src/c_debug.c:206:22: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fpg/fpg.c:225:11: style: Variable 'rowbytes' is assigned a value that is never used. [unreadVariable] Fenix/common/regex.c:1147:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:2157:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NO_BK_PARENS [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:2177:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_NO_BK_PARENS [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:2229:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ERANGE [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:2660:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_DOT_NEWLINE [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:2842:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:3458:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_UNALLOCATED [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:4382:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:4490:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:4550:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:4613:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s2 [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:4643:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_UNALLOCATED [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:4760:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:4843:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] Fenix/fxc/src/codeblock.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MN_CALL [valueFlowBailoutIncompleteVar] Fenix/fxc/src/codeblock.c:148:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/codeblock.c:176:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/codeblock.c:187:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/codeblock.c:198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/codeblock.c:297:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MN_PUSH [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_main.c:301:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable global [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_main.c:318:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_main.c:343:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_main.c:418:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_main.c:485:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_main.c:948:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/codeblock.c:64:12: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] Fenix/fxc/src/codeblock.c:255:41: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] Fenix/fxc/src/constants.c:41:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSTANT [valueFlowBailoutIncompleteVar] Fenix/fxc/src/constants.c:49:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONSTANT [valueFlowBailoutIncompleteVar] Fenix/fxc/src/constants.c:62:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] Fenix/fxc/src/constants.c:72:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] Fenix/fxc/src/constants.c:85:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] Fenix/fxc/src/dcbw.c:87:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DCB_FILE [valueFlowBailoutIncompleteVar] Fenix/fxc/src/dcbw.c:131:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable varspace [valueFlowBailoutIncompleteVar] Fenix/fxc/src/dcbw.c:155:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TYPECHUNKS [valueFlowBailoutIncompleteVar] Fenix/fxc/src/dcbw.c:194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/dcbw.c:87:3: error: Common realloc mistake: 'dcb_files' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/dcbw.c:88:3: error: Common realloc mistake: 'dcb_fullname' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/dcbw.c:132:2: error: Common realloc mistake: 'dcb_orig_varspace' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/dcbw_old.c:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DCB_FILE [valueFlowBailoutIncompleteVar] Fenix/fxc/src/dcbw_old.c:120:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable varspace [valueFlowBailoutIncompleteVar] Fenix/fxc/src/dcbw_old.c:145:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TYPECHUNKS [valueFlowBailoutIncompleteVar] Fenix/fxc/src/dcbw_old.c:178:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/dcbw_old.c:76:3: error: Common realloc mistake: 'dcb_files' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/dcbw_old.c:78:3: error: Common realloc mistake: 'dcb_fullname' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/dcbw_old.c:122:2: error: Common realloc mistake: 'dcb_orig_varspace' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/error.c:60:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable langinfo [valueFlowBailoutIncompleteVar] Fenix/fxc/src/error.c:106:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _errmsg [valueFlowBailoutIncompleteVar] Fenix/fxc/src/error.c:149:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errlist [valueFlowBailoutIncompleteVar] Fenix/fxc/src/error.c:164:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] Fenix/fxc/src/error.c:177:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errlist [valueFlowBailoutIncompleteVar] Fenix/fxc/src/error.c:83:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Fenix/fxc/src/error.c:90:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Fenix/fxc/src/error.c:75:13: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] Fenix/fxc/src/error.c:74:26: note: Assuming allocation function fails Fenix/fxc/src/error.c:74:12: note: Assignment 'msg=(char*)malloc(size)', assigned value is 0 Fenix/fxc/src/error.c:75:13: note: Null pointer dereference Fenix/fxc/src/error.c:77:13: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] Fenix/fxc/src/error.c:74:26: note: Assuming allocation function fails Fenix/fxc/src/error.c:74:12: note: Assignment 'msg=(char*)malloc(size)', assigned value is 0 Fenix/fxc/src/error.c:77:13: note: Null pointer dereference Fenix/fxc/src/error.c:79:24: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] Fenix/fxc/src/error.c:74:26: note: Assuming allocation function fails Fenix/fxc/src/error.c:74:12: note: Assignment 'msg=(char*)malloc(size)', assigned value is 0 Fenix/fxc/src/error.c:79:24: note: Null pointer dereference Fenix/fxc/src/identifier.c:117:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identifier [valueFlowBailoutIncompleteVar] Fenix/fxc/src/identifier.c:241:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identifier_int [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:461:37: style: Condition 'here==&local' is always false [knownConditionTrueFalse] Fenix/fxc/src/identifier.c:144:6: style: Condition '!identifier_add_as(string,code)' is always false [knownConditionTrueFalse] Fenix/fxc/src/identifier.c:144:25: note: Calling function 'identifier_add_as' returns 1 Fenix/fxc/src/identifier.c:144:6: note: Condition '!identifier_add_as(string,code)' is always false Fenix/fxc/src/identifier.c:98:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] Fenix/fxc/src/c_code.c:2576:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Fenix/fxc/src/c_code.c:2578:9: note: Found duplicate branches for 'if' and 'else'. Fenix/fxc/src/c_code.c:2576:9: note: Found duplicate branches for 'if' and 'else'. Fenix/fxc/src/main.c:120:10: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] Fenix/fxc/src/c_code.c:644:37: style: Local variable 'type' shadows outer variable [shadowVariable] Fenix/fxc/src/c_code.c:567:10: note: Shadowed declaration Fenix/fxc/src/c_code.c:644:37: note: Shadow variable Fenix/fxc/src/c_code.c:654:33: style: Local variable 'type' shadows outer variable [shadowVariable] Fenix/fxc/src/c_code.c:567:10: note: Shadowed declaration Fenix/fxc/src/c_code.c:654:33: note: Shadow variable Fenix/fxc/src/c_code.c:2404:45: style: Local variable 'type' shadows outer variable [shadowVariable] Fenix/fxc/src/c_code.c:2136:14: note: Shadowed declaration Fenix/fxc/src/c_code.c:2404:45: note: Shadow variable Fenix/fxc/src/c_code.c:3278:35: style: Local variable 'p' shadows outer argument [shadowArgument] Fenix/fxc/src/c_code.c:2815:31: note: Shadowed declaration Fenix/fxc/src/c_code.c:3278:35: note: Shadow variable Fenix/fxc/src/c_code.c:775:45: style: Parameter 'chars' can be declared as pointer to const [constParameterPointer] Fenix/fxc/src/c_code.c:941:19: style: Variable 'typep' can be declared as pointer to const [constVariablePointer] Fenix/fxc/src/main_div.c:503:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_DWORD [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_main.c:318:5: warning: fprintf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum] Fenix/fxc/src/c_main.c:398:14: style: Variable 'filename' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxc/src/c_main.c:349:14: note: filename is assigned Fenix/fxc/src/c_main.c:398:14: note: filename is overwritten Fenix/fxc/src/c_main.c:737:27: style: Variable 'ctype' is assigned a value that is never used. [unreadVariable] Fenix/fxc/src/c_main.c:780:31: style: Variable 'ctype' is assigned a value that is never used. [unreadVariable] Fenix/fxc/src/procedure.c:58:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCDEF [valueFlowBailoutIncompleteVar] Fenix/fxc/src/procedure.c:114:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identifier [valueFlowBailoutIncompleteVar] Fenix/fxc/src/procedure.c:153:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] Fenix/fxc/src/c_code.c:320:16: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] Fenix/fxc/src/c_code.c:384:13: style: Variable 'sub' is assigned a value that is never used. [unreadVariable] Fenix/fxc/src/c_code.c:2385:34: style: Variable 'res.type' is assigned a value that is never used. [unreadVariable] Fenix/fxc/src/segment.c:65:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment [valueFlowBailoutIncompleteVar] Fenix/fxc/src/segment.c:85:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment [valueFlowBailoutIncompleteVar] Fenix/fxc/src/segment.c:203:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIABLE [valueFlowBailoutIncompleteVar] Fenix/fxc/src/segment.c:73:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] Fenix/fxc/src/segment.c:65:34: note: Assuming allocation function fails Fenix/fxc/src/segment.c:65:16: note: Assignment 's=(segment*)malloc(sizeof(segment))', assigned value is 0 Fenix/fxc/src/segment.c:73:2: note: Null pointer dereference Fenix/fxc/src/segment.c:74:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] Fenix/fxc/src/segment.c:65:34: note: Assuming allocation function fails Fenix/fxc/src/segment.c:65:16: note: Assignment 's=(segment*)malloc(sizeof(segment))', assigned value is 0 Fenix/fxc/src/segment.c:74:2: note: Null pointer dereference Fenix/fxc/src/segment.c:76:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] Fenix/fxc/src/segment.c:65:34: note: Assuming allocation function fails Fenix/fxc/src/segment.c:65:16: note: Assignment 's=(segment*)malloc(sizeof(segment))', assigned value is 0 Fenix/fxc/src/segment.c:76:2: note: Null pointer dereference Fenix/fxc/src/segment.c:77:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] Fenix/fxc/src/segment.c:65:34: note: Assuming allocation function fails Fenix/fxc/src/segment.c:65:16: note: Assignment 's=(segment*)malloc(sizeof(segment))', assigned value is 0 Fenix/fxc/src/segment.c:77:7: note: Null pointer dereference Fenix/fxc/src/segment.c:93:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] Fenix/fxc/src/segment.c:85:34: note: Assuming allocation function fails Fenix/fxc/src/segment.c:85:16: note: Assignment 's=(segment*)malloc(sizeof(segment))', assigned value is 0 Fenix/fxc/src/segment.c:93:2: note: Null pointer dereference Fenix/fxc/src/segment.c:94:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] Fenix/fxc/src/segment.c:85:34: note: Assuming allocation function fails Fenix/fxc/src/segment.c:85:16: note: Assignment 's=(segment*)malloc(sizeof(segment))', assigned value is 0 Fenix/fxc/src/segment.c:94:2: note: Null pointer dereference Fenix/fxc/src/segment.c:96:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] Fenix/fxc/src/segment.c:85:34: note: Assuming allocation function fails Fenix/fxc/src/segment.c:85:16: note: Assignment 's=(segment*)malloc(sizeof(segment))', assigned value is 0 Fenix/fxc/src/segment.c:96:2: note: Null pointer dereference Fenix/fxc/src/segment.c:96:28: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] Fenix/fxc/src/segment.c:85:34: note: Assuming allocation function fails Fenix/fxc/src/segment.c:85:16: note: Assignment 's=(segment*)malloc(sizeof(segment))', assigned value is 0 Fenix/fxc/src/segment.c:96:28: note: Null pointer dereference Fenix/fxc/src/segment.c:97:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] Fenix/fxc/src/segment.c:85:34: note: Assuming allocation function fails Fenix/fxc/src/segment.c:85:16: note: Assignment 's=(segment*)malloc(sizeof(segment))', assigned value is 0 Fenix/fxc/src/segment.c:97:7: note: Null pointer dereference Fenix/fxc/src/segment.c:83:40: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Fenix/fxc/src/segment.c:144:46: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Fenix/fxc/src/segment.c:183:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] Fenix/fxc/src/strings.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/strings.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/strings.c:118:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/sysstub.c:66:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sysprocs [valueFlowBailoutIncompleteVar] Fenix/fxc/src/sysstub.c:124:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sysprocs [valueFlowBailoutIncompleteVar] Fenix/fxc/src/sysstub.c:207:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sysprocs [valueFlowBailoutIncompleteVar] Fenix/fxc/src/strings.c:221:3: error: Common realloc mistake: 'string_offset' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/strings.c:231:3: error: Common realloc mistake: 'string_mem' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/strings.c:60:2: warning: If memory allocation fails, then there is a possible null pointer dereference: string_mem [nullPointerOutOfMemory] Fenix/fxc/src/strings.c:54:31: note: Assuming allocation function fails Fenix/fxc/src/strings.c:54:15: note: Assignment 'string_mem=(char*)malloc(4096)', assigned value is 0 Fenix/fxc/src/strings.c:60:2: note: Null pointer dereference Fenix/fxc/src/strings.c:61:2: warning: If memory allocation fails, then there is a possible null pointer dereference: string_offset [nullPointerOutOfMemory] Fenix/fxc/src/strings.c:58:32: note: Assuming allocation function fails Fenix/fxc/src/strings.c:58:18: note: Assignment 'string_offset=(int*)malloc(1024*sizeof(int))', assigned value is 0 Fenix/fxc/src/strings.c:61:2: note: Null pointer dereference Fenix/fxc/src/sysstub.c:185:3: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] Fenix/fxc/src/sysstub.c:182:16: note: Assuming allocation function fails Fenix/fxc/src/sysstub.c:182:16: note: Assignment 'table=malloc(sizeof(SYSPROC*)*32)', assigned value is 0 Fenix/fxc/src/sysstub.c:185:3: note: Null pointer dereference Fenix/fxc/src/sysstub.c:189:2: warning: If memory allocation fails, then there is a possible null pointer dereference: table [nullPointerOutOfMemory] Fenix/fxc/src/sysstub.c:182:16: note: Assuming allocation function fails Fenix/fxc/src/sysstub.c:182:16: note: Assignment 'table=malloc(sizeof(SYSPROC*)*32)', assigned value is 0 Fenix/fxc/src/sysstub.c:189:2: note: Null pointer dereference Fenix/fxc/src/typedef.c:37:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/typedef.c:52:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPECHUNK [valueFlowBailoutIncompleteVar] Fenix/fxc/src/typedef.c:61:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPECHUNK [valueFlowBailoutIncompleteVar] Fenix/fxc/src/typedef.c:70:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/typedef.c:76:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/typedef.c:142:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/typedef.c:208:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/typedef.c:224:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] Fenix/fxc/src/varspace.c:63:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] Fenix/fxc/src/varspace.c:116:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARSPACE [valueFlowBailoutIncompleteVar] Fenix/fxc/src/varspace.c:160:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIABLE [valueFlowBailoutIncompleteVar] Fenix/fxc/src/varspace.c:213:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIABLE [valueFlowBailoutIncompleteVar] Fenix/fxc/src/varspace.c:258:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] Fenix/fxc/src/varspace.c:160:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxc/src/varspace.c:116:37: note: Assuming allocation function fails Fenix/fxc/src/varspace.c:116:17: note: Assignment 'v=(VARSPACE*)malloc(sizeof(VARSPACE))', assigned value is 0 Fenix/fxc/src/varspace.c:121:17: note: Calling function 'varspace_init', 1st argument 'v' value is 0 Fenix/fxc/src/varspace.c:160:2: note: Null pointer dereference Fenix/fxc/src/varspace.c:161:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxc/src/varspace.c:116:37: note: Assuming allocation function fails Fenix/fxc/src/varspace.c:116:17: note: Assignment 'v=(VARSPACE*)malloc(sizeof(VARSPACE))', assigned value is 0 Fenix/fxc/src/varspace.c:121:17: note: Calling function 'varspace_init', 1st argument 'v' value is 0 Fenix/fxc/src/varspace.c:161:2: note: Null pointer dereference Fenix/fxc/src/varspace.c:162:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxc/src/varspace.c:116:37: note: Assuming allocation function fails Fenix/fxc/src/varspace.c:116:17: note: Assignment 'v=(VARSPACE*)malloc(sizeof(VARSPACE))', assigned value is 0 Fenix/fxc/src/varspace.c:121:17: note: Calling function 'varspace_init', 1st argument 'v' value is 0 Fenix/fxc/src/varspace.c:162:2: note: Null pointer dereference Fenix/fxc/src/varspace.c:163:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxc/src/varspace.c:116:37: note: Assuming allocation function fails Fenix/fxc/src/varspace.c:116:17: note: Assignment 'v=(VARSPACE*)malloc(sizeof(VARSPACE))', assigned value is 0 Fenix/fxc/src/varspace.c:121:17: note: Calling function 'varspace_init', 1st argument 'v' value is 0 Fenix/fxc/src/varspace.c:163:2: note: Null pointer dereference Fenix/fxc/src/varspace.c:164:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxc/src/varspace.c:116:37: note: Assuming allocation function fails Fenix/fxc/src/varspace.c:116:17: note: Assignment 'v=(VARSPACE*)malloc(sizeof(VARSPACE))', assigned value is 0 Fenix/fxc/src/varspace.c:121:17: note: Calling function 'varspace_init', 1st argument 'v' value is 0 Fenix/fxc/src/varspace.c:164:2: note: Null pointer dereference Fenix/fxc/src/varspace.c:165:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxc/src/varspace.c:116:37: note: Assuming allocation function fails Fenix/fxc/src/varspace.c:116:17: note: Assignment 'v=(VARSPACE*)malloc(sizeof(VARSPACE))', assigned value is 0 Fenix/fxc/src/varspace.c:121:17: note: Calling function 'varspace_init', 1st argument 'v' value is 0 Fenix/fxc/src/varspace.c:165:2: note: Null pointer dereference Fenix/fxc/src/varspace.c:166:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxc/src/varspace.c:116:37: note: Assuming allocation function fails Fenix/fxc/src/varspace.c:116:17: note: Assignment 'v=(VARSPACE*)malloc(sizeof(VARSPACE))', assigned value is 0 Fenix/fxc/src/varspace.c:121:17: note: Calling function 'varspace_init', 1st argument 'v' value is 0 Fenix/fxc/src/varspace.c:166:2: note: Null pointer dereference Fenix/fxc/src/varspace.c:167:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxc/src/varspace.c:116:37: note: Assuming allocation function fails Fenix/fxc/src/varspace.c:116:17: note: Assignment 'v=(VARSPACE*)malloc(sizeof(VARSPACE))', assigned value is 0 Fenix/fxc/src/varspace.c:121:17: note: Calling function 'varspace_init', 1st argument 'v' value is 0 Fenix/fxc/src/varspace.c:167:7: note: Null pointer dereference Fenix/fxc/src/token.c:127:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDENTIFIER [valueFlowBailoutIncompleteVar] Fenix/fxc/src/token.c:176:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDENTIFIER [valueFlowBailoutIncompleteVar] Fenix/fxc/src/token.c:319:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDENTIFIER [valueFlowBailoutIncompleteVar] Fenix/fxc/src/token.c:493:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/token.c:553:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxc/src/token.c:574:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTOKEN [valueFlowBailoutIncompleteVar] Fenix/fxc/src/token.c:912:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_bgload.c:79:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gr_load_fpg [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_bgload.c:93:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fgc_load [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_bgload.c:80:2: error: Return value of allocation function 'SDL_CreateThread' is not stored. [leakReturnValNotUsed] Fenix/fxi/src/f_bgload.c:94:2: error: Return value of allocation function 'SDL_CreateThread' is not stored. [leakReturnValNotUsed] Fenix/fxi/src/f_bgload.c:49:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] Fenix/fxi/src/f_bgload.c:48:27: note: Assuming allocation function fails Fenix/fxi/src/f_bgload.c:48:12: note: Assignment 't=(struct bgdata*)malloc(sizeof(struct bgdata))', assigned value is 0 Fenix/fxi/src/f_bgload.c:49:2: note: Null pointer dereference Fenix/fxi/src/f_bgload.c:50:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] Fenix/fxi/src/f_bgload.c:48:27: note: Assuming allocation function fails Fenix/fxi/src/f_bgload.c:48:12: note: Assignment 't=(struct bgdata*)malloc(sizeof(struct bgdata))', assigned value is 0 Fenix/fxi/src/f_bgload.c:50:2: note: Null pointer dereference Fenix/fxi/src/f_bgload.c:64:10: style: Variable '*t->id' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/f_bgload.c:63:10: note: *t->id is assigned Fenix/fxi/src/f_bgload.c:64:10: note: *t->id is overwritten Fenix/fxi/src/dcbr.c:75:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] Fenix/fxi/src/dcbr.c:159:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base_dir [valueFlowBailoutIncompleteVar] Fenix/fxi/src/dcbr.c:383:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Code [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_cd.c:104:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_TRACKS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_cd.c:42:31: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/f_cd.c:42:41: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/f_joystick.c:41:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_JOYS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_joystick.c:62:29: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/f_joystick.c:62:39: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/f_joystick.c:86:32: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/f_joystick.c:86:42: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/dcbr.c:124:13: error: Common realloc mistake: 'lines' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/dcbr.c:71:39: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/f_sort.c:74:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TYPECHUNKS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_sort.c:111:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TYPECHUNKS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_sort.c:137:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_ARRAY [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_sort.c:268:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_ARRAY [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_sort.c:327:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_ARRAY [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_sort.c:392:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_POINTER [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_sort.c:454:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_POINTER [valueFlowBailoutIncompleteVar] Fenix/fxi/src/fbm.c:64:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_keyframe [valueFlowBailoutIncompleteVar] Fenix/fxi/src/fbm.c:76:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable frame [valueFlowBailoutIncompleteVar] Fenix/fxi/src/fbm.c:119:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FBM_FILE_HEADER [valueFlowBailoutIncompleteVar] Fenix/fxi/src/fbm.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] Fenix/fxi/src/fbm.c:580:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FBM_MAGIC [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_sort.c:49:68: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/fbm.c:627:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FBM_FILE_HEADER [valueFlowBailoutIncompleteVar] Fenix/fxi/src/f_sort.c:49:79: portability:inconclusive: Casting from const float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/f_sort.c:49:106: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/f_sort.c:49:117: portability:inconclusive: Casting from const float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/f_sort.c:164:18: style: Variable 'maxvar' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/f_sort.c:261:16: style: Variable 'type' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/f_sort.c:316:16: style: Variable 'type' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/f_sort.c:322:16: style: Variable 'key_type' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/f_sort.c:385:16: style: Variable 'type' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/f_sort.c:443:16: style: Variable 'type' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/f_sort.c:449:16: style: Variable 'key_type' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/f_sort.c:323:18: style: Variable 'key_vars' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/f_sort.c:323:9: style: Variable 'key_vars' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/f_sort.c:450:18: style: Variable 'key_vars' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/f_sort.c:450:9: style: Variable 'key_vars' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/fgc.c:82:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FGC_HEADER [valueFlowBailoutIncompleteVar] Fenix/fxi/src/fgc.c:207:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FGC_MAGIC [valueFlowBailoutIncompleteVar] Fenix/fxi/src/fgc.c:66:11: style: Variable 'lib' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/fgc.c:104:6: style: Variable 'lib' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/fbm.c:618:26: style: Parameter 'graph' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/fpl.c:67:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FPL_HEADER [valueFlowBailoutIncompleteVar] Fenix/fxi/src/fpl.c:131:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable palette [valueFlowBailoutIncompleteVar] Fenix/fxi/src/fpl.c:175:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FPL_MAGIC [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blendop.c:92:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blendop.c:119:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable background_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blendop.c:149:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable background_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blendop.c:180:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rmask [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blendop.c:218:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rmask [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blendop.c:270:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rmask [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blendop.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rmask [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blendop.c:377:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable background_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blendop.c:415:41: style: Parameter 'blend' can be declared as pointer to const [constParameterPointer] Fenix/fxc/src/token.c:700:27: style: Expression is always false because 'else if' condition matches previous condition at line 694. [multiCondition] Fenix/fxc/src/token.c:247:11: error: Common realloc mistake: 'text' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/token.c:262:9: error: Common realloc mistake: 'text' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/token.c:335:4: error: Common realloc mistake: 'defines' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxc/src/token.c:501:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr++ [nullPointerOutOfMemory] Fenix/fxc/src/token.c:499:32: note: Assuming allocation function fails Fenix/fxc/src/token.c:499:17: note: Assignment 'clean_source=(char*)malloc(strlen(source)+2)', assigned value is 0 Fenix/fxc/src/token.c:500:6: note: ptr is assigned 'clean_source' here. Fenix/fxc/src/token.c:501:6: note: Null pointer dereference Fenix/fxc/src/token.c:501:6: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] Fenix/fxc/src/token.c:499:32: note: Assuming allocation function fails Fenix/fxc/src/token.c:499:17: note: Assignment 'clean_source=(char*)malloc(strlen(source)+2)', assigned value is 0 Fenix/fxc/src/token.c:500:6: note: ptr is assigned 'clean_source' here. Fenix/fxc/src/token.c:501:6: note: Null pointer addition Fenix/fxi/src/g_blit.c:197:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_16bits [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:293:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable syscolor8 [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:383:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable syscolor16 [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:397:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colorequiv [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:413:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colorequiv [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:428:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colorequiv [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:443:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colorequiv [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:458:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colorequiv [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:571:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable syscolor8 [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:643:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable syscolor16 [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:655:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colorequiv [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:667:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colorequiv [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:679:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colorequiv [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:691:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colorequiv [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:703:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colorequiv [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:814:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:949:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrbitmap [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_blit.c:1315:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrbitmap [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_conversion.c:107:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rmask [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_conversion.c:186:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable palette [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_conversion.c:230:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_conversion.c:362:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rloss [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_conversion.c:415:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALPHA_STEPS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_conversion.c:436:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALPHA_STEPS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:358:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NID [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:387:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable background_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:533:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_ARRAY [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:592:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_STRUCT [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:659:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable varspace_vars [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:680:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NID [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:817:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NID [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:834:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TYPECHUNKS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:844:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_ARRAY [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:906:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable varspace [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:920:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NGloVars [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:969:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_CONSTANT [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:1075:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ERROR [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:1198:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ERROR [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:1237:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ERROR [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:1273:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ERROR [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:1386:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_instance [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:1457:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable show_console [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_conversion.c:111:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table16 [nullPointerOutOfMemory] Fenix/fxi/src/g_conversion.c:100:20: note: Assuming allocation function fails Fenix/fxi/src/g_conversion.c:100:20: note: Assignment 'table16=malloc(131072)', assigned value is 0 Fenix/fxi/src/g_conversion.c:111:5: note: Null pointer dereference Fenix/fxi/src/g_conversion.c:189:6: warning: If memory allocation fails, then there is a possible null pointer dereference: table8 [nullPointerOutOfMemory] Fenix/fxi/src/g_conversion.c:177:20: note: Assuming allocation function fails Fenix/fxi/src/g_conversion.c:177:20: note: Assignment 'table8=malloc(65536)', assigned value is 0 Fenix/fxi/src/g_conversion.c:189:6: note: Null pointer dereference Fenix/fxi/src/g_conversion.c:191:5: warning: If memory allocation fails, then there is a possible null pointer dereference: table8 [nullPointerOutOfMemory] Fenix/fxi/src/g_conversion.c:177:20: note: Assuming allocation function fails Fenix/fxi/src/g_conversion.c:177:20: note: Assignment 'table8=malloc(65536)', assigned value is 0 Fenix/fxi/src/g_conversion.c:191:5: note: Null pointer dereference Fenix/fxi/src/g_draw.c:269:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable background [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:315:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable background [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:339:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrbitmap [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:427:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrbitmap [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:508:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrbitmap [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:616:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrbitmap [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:746:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrbitmap [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:1041:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrbitmap [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:1080:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWING_OBJECT [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:1161:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWOBJ_CIRCLE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:1194:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_16bits [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:1228:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_16bits [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_draw.c:764:20: warning: Either the condition '(w)<0' is redundant or there is division by zero at line 764. [zerodivcond] Fenix/fxi/src/g_draw.c:764:21: note: Assuming that condition '(w)<0' is not redundant Fenix/fxi/src/g_draw.c:764:20: note: Division by zero Fenix/fxi/src/g_draw.c:770:42: warning: Either the condition '(w)<0' is redundant or there is division by zero at line 770. [zerodivcond] Fenix/fxi/src/g_draw.c:770:43: note: Assuming that condition '(w)<0' is not redundant Fenix/fxi/src/g_draw.c:770:42: note: Division by zero Fenix/fxi/src/g_draw.c:777:38: warning: Either the condition '(h)<0' is redundant or there is division by zero at line 777. [zerodivcond] Fenix/fxi/src/g_draw.c:777:39: note: Assuming that condition '(h)<0' is not redundant Fenix/fxi/src/g_draw.c:777:38: note: Division by zero Fenix/fxi/src/g_draw.c:783:42: warning: Either the condition '(h)<0' is redundant or there is division by zero at line 783. [zerodivcond] Fenix/fxi/src/g_draw.c:783:43: note: Assuming that condition '(h)<0' is not redundant Fenix/fxi/src/g_draw.c:783:42: note: Division by zero Fenix/fxi/src/g_draw.c:791:20: warning: Either the condition '(w)<0' is redundant or there is division by zero at line 791. [zerodivcond] Fenix/fxi/src/g_draw.c:791:21: note: Assuming that condition '(w)<0' is not redundant Fenix/fxi/src/g_draw.c:791:20: note: Division by zero Fenix/fxi/src/g_draw.c:798:20: warning: Either the condition '(w)<0' is redundant or there is division by zero at line 798. [zerodivcond] Fenix/fxi/src/g_draw.c:798:21: note: Assuming that condition '(w)<0' is not redundant Fenix/fxi/src/g_draw.c:798:20: note: Division by zero Fenix/fxi/src/g_draw.c:806:16: warning: Either the condition '(h)<0' is redundant or there is division by zero at line 806. [zerodivcond] Fenix/fxi/src/g_draw.c:806:17: note: Assuming that condition '(h)<0' is not redundant Fenix/fxi/src/g_draw.c:806:16: note: Division by zero Fenix/fxi/src/g_draw.c:813:20: warning: Either the condition '(h)<0' is redundant or there is division by zero at line 813. [zerodivcond] Fenix/fxi/src/g_draw.c:813:21: note: Assuming that condition '(h)<0' is not redundant Fenix/fxi/src/g_draw.c:813:20: note: Division by zero Fenix/fxi/src/g_draw.c:244:44: style: Parameter 'clip' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/g_draw.c:903:52: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/g_draw.c:982:35: style: Parameter 'dr' can be declared as pointer to const. However it seems that 'info_object' is a callback function, if 'dr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Fenix/fxi/src/g_draw.c:1090:32: note: You might need to cast the function pointer here Fenix/fxi/src/g_draw.c:982:35: note: Parameter 'dr' can be declared as pointer to const Fenix/fxi/src/g_draw.c:611:23: style: Variable 'lcy' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/g_draw.c:659:23: style: Variable 'lcy' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/g_blit.c:291:17: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:306:17: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:320:17: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:335:17: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:366:17: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:381:17: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:396:17: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:427:17: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:442:17: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:457:17: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:471:18: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:501:18: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:516:18: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:531:18: style: Variable 'tex' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:936:13: style: Variable 'left_start' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_blit.c:943:13: style: Variable 'right_start' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_flic.c:60:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLIC [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_flic.c:231:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHUNK_COLOR_64 [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_flic.c:368:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLIC_FRAME [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_console.c:596:21: warning: If memory allocation fails, then there is a possible null pointer dereference: newbuffer [nullPointerOutOfMemory] Fenix/fxi/src/g_console.c:595:40: note: Assuming allocation function fails Fenix/fxi/src/g_console.c:595:25: note: Assignment 'newbuffer=(char*)malloc(256)', assigned value is 0 Fenix/fxi/src/g_console.c:596:21: note: Null pointer dereference Fenix/fxi/src/g_console.c:602:28: warning: If memory allocation fails, then there is a possible null pointer dereference: newbuffer [nullPointerOutOfMemory] Fenix/fxi/src/g_console.c:595:40: note: Assuming allocation function fails Fenix/fxi/src/g_console.c:595:25: note: Assignment 'newbuffer=(char*)malloc(256)', assigned value is 0 Fenix/fxi/src/g_console.c:602:28: note: Null pointer dereference Fenix/fxi/src/g_console.c:1350:30: warning: If memory allocation fails, then there is a possible null pointer dereference: temporary [nullPointerOutOfMemory] Fenix/fxi/src/g_console.c:1349:34: note: Assuming allocation function fails Fenix/fxi/src/g_console.c:1349:34: note: Assignment 'temporary=strdup(buffer)', assigned value is 0 Fenix/fxi/src/g_console.c:1350:30: note: Null pointer dereference Fenix/fxi/src/g_console.c:1747:62: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] Fenix/fxi/src/g_console.c:1691:21: note: Assuming that condition 'p' is not redundant Fenix/fxi/src/g_console.c:1747:62: note: Null pointer dereference Fenix/fxi/src/g_console.c:1709:68: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/g_console.c:308:18: style: Local variable 'command' shadows outer variable [shadowVariable] Fenix/fxi/src/g_console.c:111:15: note: Shadowed declaration Fenix/fxi/src/g_console.c:308:18: note: Shadow variable Fenix/fxi/src/g_console.c:405:16: style: Local variable 'result' shadows outer variable [shadowVariable] Fenix/fxi/src/g_console.c:144:3: note: Shadowed declaration Fenix/fxi/src/g_console.c:405:16: note: Shadow variable Fenix/fxi/src/g_console.c:725:16: style: Local variable 'ptr' shadows outer variable [shadowVariable] Fenix/fxi/src/g_console.c:710:12: note: Shadowed declaration Fenix/fxi/src/g_console.c:725:16: note: Shadow variable Fenix/fxi/src/g_console.c:1688:21: style: Local variable 'i' shadows outer variable [shadowVariable] Fenix/fxi/src/g_console.c:1434:16: note: Shadowed declaration Fenix/fxi/src/g_console.c:1688:21: note: Shadow variable Fenix/fxi/src/g_console.c:243:29: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/g_console.c:1081:28: style: Variable 'v' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_console.c:1762:19: style: Variable 'optr' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_flic.c:53:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] Fenix/fxi/src/g_flic.c:152:12: style: Variable 'bitmap' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_flic.c:255:16: style: Variable 'bitmap' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_flic.c:344:14: style: Variable 'chunkno' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/g_fpg.c:98:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRLIB [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_fpg.c:258:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable background_is_black [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_fpg.c:364:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable palette_loaded [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_fpg.c:102:18: error: Memory leak: lib [memleak] Fenix/fxi/src/g_fpg.c:332:10: style: Variable 'lib' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_fpg.c:340:8: style: struct member 'Anonymous0::fpname' is never used. [unusedStructMember] Fenix/fxi/src/g_font.c:65:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FONT [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_font.c:131:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NFB_FIXEDWIDTH [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_font.c:288:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glyph [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_font.c:375:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable palette_loaded [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_font.c:559:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable palette [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_font.c:725:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_ISO8859 [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_maps.c:98:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRAPH [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_maps.c:187:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPOINT [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_maps.c:219:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPOINT [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_maps.c:269:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M16_MAGIC [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_maps.c:359:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable syslib [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_maps.c:371:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable syslib [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_maps.c:398:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable syslib [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_maps.c:409:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable syslib [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_maps.c:435:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GI_NOCOLORKEY [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_maps.c:477:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable frame_count [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:324:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:408:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGION [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:466:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_equiv [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:586:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSEX [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:917:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMER [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:945:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEED_GAUGE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1030:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAGS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1082:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGIONID [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1147:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSEFILE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1183:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSEFILE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1362:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_fli [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1377:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_fli [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1439:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOX_X0 [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1487:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHANGED [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1635:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1683:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_instance [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1943:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable palette_changed [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:1991:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCALE_NONE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:2043:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCALE_NONE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:2204:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable globaldata [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_main.c:2441:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_maps.c:524:17: style: Variable 'map->next_time' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/g_maps.c:494:17: note: map->next_time is assigned Fenix/fxi/src/g_maps.c:524:17: note: map->next_time is overwritten Fenix/fxi/src/g_maps.c:214:12: style: Checking if unsigned expression 'point' is less than zero. [unsignedLessThanZero] Fenix/fxi/src/g_maps.c:431:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_maps.c:454:33: style: Parameter 'bitmap' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/g_mode7.c:85:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_list_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_mode7.c:94:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M7STRUCTS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_mode7.c:146:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISTANCE_1 [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_mode7.c:172:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrbitmap [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_mode7.c:410:17: error: Common realloc mistake: 'proclist' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/g_mode7.c:325:30: style: Unsigned expression 'sx' can't be negative so it is unnecessary to test it. [unsignedPositive] Fenix/fxi/src/g_mode7.c:326:20: style: Unsigned expression 'sy' can't be negative so it is unnecessary to test it. [unsignedPositive] Fenix/fxi/src/g_mode7.c:371:30: style: Unsigned expression 'sx' can't be negative so it is unnecessary to test it. [unsignedPositive] Fenix/fxi/src/g_mode7.c:371:63: style: Unsigned expression 'sy' can't be negative so it is unnecessary to test it. [unsignedPositive] Fenix/fxi/src/g_mode7.c:278:32: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Fenix/fxi/src/g_mode7.c:173:13: style: Variable 'pgr' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_mode7.c:65:13: style: struct member '_mode7_info::reserved' is never used. [unusedStructMember] Fenix/fxi/src/g_font.c:548:2: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fxi/src/g_font.c:563:3: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fxi/src/g_font.c:564:3: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fxi/src/g_font.c:602:2: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fxi/src/g_font.c:605:2: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fxi/src/g_font.c:641:6: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fxi/src/g_font.c:645:6: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/fxi/src/g_font.c:75:3: error: Memory leak: f [memleak] Fenix/fxi/src/g_font.c:564:18: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] Fenix/fxi/src/g_font.c:555:25: note: Assuming allocation function fails Fenix/fxi/src/g_font.c:555:25: note: Assignment 'block=calloc(576,1)', assigned value is 0 Fenix/fxi/src/g_font.c:564:18: note: Null pointer dereference Fenix/fxi/src/g_font.c:555:11: style: Local variable 'block' shadows outer variable [shadowVariable] Fenix/fxi/src/g_font.c:501:11: note: Shadowed declaration Fenix/fxi/src/g_font.c:555:11: note: Shadow variable Fenix/fxi/src/g_font.c:221:50: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/g_font.c:496:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_main.c:1694:21: error: Common realloc mistake: 'object_list' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/g_main.c:1715:13: error: Common realloc mistake: 'object_list' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/g_main.c:410:5: warning: If memory allocation fails, then there is a possible null pointer dereference: region [nullPointerOutOfMemory] Fenix/fxi/src/g_main.c:408:29: note: Assuming allocation function fails Fenix/fxi/src/g_main.c:408:29: note: Assignment 'region=malloc(sizeof(REGION))', assigned value is 0 Fenix/fxi/src/g_main.c:410:5: note: Null pointer dereference Fenix/fxi/src/g_main.c:411:5: warning: If memory allocation fails, then there is a possible null pointer dereference: region [nullPointerOutOfMemory] Fenix/fxi/src/g_main.c:408:29: note: Assuming allocation function fails Fenix/fxi/src/g_main.c:408:29: note: Assignment 'region=malloc(sizeof(REGION))', assigned value is 0 Fenix/fxi/src/g_main.c:411:5: note: Null pointer dereference Fenix/fxi/src/g_main.c:412:5: warning: If memory allocation fails, then there is a possible null pointer dereference: region [nullPointerOutOfMemory] Fenix/fxi/src/g_main.c:408:29: note: Assuming allocation function fails Fenix/fxi/src/g_main.c:408:29: note: Assignment 'region=malloc(sizeof(REGION))', assigned value is 0 Fenix/fxi/src/g_main.c:412:5: note: Null pointer dereference Fenix/fxi/src/g_main.c:413:5: warning: If memory allocation fails, then there is a possible null pointer dereference: region [nullPointerOutOfMemory] Fenix/fxi/src/g_main.c:408:29: note: Assuming allocation function fails Fenix/fxi/src/g_main.c:408:29: note: Assignment 'region=malloc(sizeof(REGION))', assigned value is 0 Fenix/fxi/src/g_main.c:413:5: note: Null pointer dereference Fenix/fxi/src/g_main.c:468:9: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] Fenix/fxi/src/g_main.c:466:28: note: Assuming allocation function fails Fenix/fxi/src/g_main.c:466:28: note: Assignment 'curr->next=malloc(sizeof(key_equiv))', assigned value is 0 Fenix/fxi/src/g_main.c:467:20: note: Assignment 'curr=curr->next', assigned value is 0 Fenix/fxi/src/g_main.c:468:9: note: Null pointer dereference Fenix/fxi/src/g_main.c:470:5: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] Fenix/fxi/src/g_main.c:466:28: note: Assuming allocation function fails Fenix/fxi/src/g_main.c:466:28: note: Assignment 'curr->next=malloc(sizeof(key_equiv))', assigned value is 0 Fenix/fxi/src/g_main.c:467:20: note: Assignment 'curr=curr->next', assigned value is 0 Fenix/fxi/src/g_main.c:470:5: note: Null pointer dereference Fenix/fxi/src/g_main.c:511:13: warning: If memory allocation fails, then there is a possible null pointer dereference: keystate [nullPointerOutOfMemory] Fenix/fxi/src/g_main.c:509:26: note: Assuming allocation function fails Fenix/fxi/src/g_main.c:509:26: note: Assignment 'keystate=malloc(keystate_size)', assigned value is 0 Fenix/fxi/src/g_main.c:511:13: note: Null pointer dereference Fenix/fxi/src/g_main.c:1898:32: style: Local variable 'i' shadows outer variable [shadowVariable] Fenix/fxi/src/g_main.c:1669:16: note: Shadowed declaration Fenix/fxi/src/g_main.c:1898:32: note: Shadow variable Fenix/fxi/src/g_main.c:366:31: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/g_main.c:385:29: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/g_main.c:385:41: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/g_main.c:531:17: style: Variable 'curr' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_main.c:1671:18: style: Variable 'object' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_main.c:2054:21: style: Variable 'original' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_profiler.c:765:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable background_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:150:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable screen [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:185:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:220:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FADING [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:227:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FADING [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:276:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:313:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:364:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FGC_MAGIC [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:463:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:478:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:550:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:677:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable report_graphics [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:724:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:758:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:773:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_pal.c:786:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_scroll.c:66:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable region [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_scroll.c:73:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posx0 [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_scroll.c:93:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCROLLS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_scroll.c:137:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_scroll.c:146:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_list_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_scroll.c:171:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_list_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_scroll.c:181:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COORDZ [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_scroll.c:198:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCROLLS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_scroll.c:446:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_profiler.c:107:2: error: Common realloc mistake: 'samples' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/g_profiler.c:108:2: error: Common realloc mistake: 'history' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/g_profiler.c:209:19: style: Variable 'sample' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_systexts.c:986:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_16bits [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_scroll.c:417:5: error: Common realloc mistake: 'proclist' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/g_scroll.c:58:10: style: struct member '_scroll_Extra_data::reserved' is never used. [unusedStructMember] Fenix/fxi/src/g_texts.c:200:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bitmap [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_texts.c:326:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bitmap [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_texts.c:413:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEXTZ [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_texts.c:487:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fonts [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_texts.c:517:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fonts [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_texts.c:549:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fonts [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_texts.c:595:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fonts [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_texts.c:664:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fonts [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_texts.c:733:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_16bits [valueFlowBailoutIncompleteVar] Fenix/fxi/src/g_texts.c:747:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_16bits [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_copy.c:178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable varspace_vars [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_debug.c:167:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MN_MASK [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_debug.c:204:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_instance [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_debug.c:225:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_instance [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_debug.c:189:34: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_debug.c:218:15: style: Variable 'proc' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_texts.c:408:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:408:7: note: Array index out of bounds Fenix/fxi/src/g_texts.c:409:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:409:7: note: Array index out of bounds Fenix/fxi/src/g_texts.c:410:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:410:7: note: Array index out of bounds Fenix/fxi/src/g_texts.c:411:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:411:7: note: Array index out of bounds Fenix/fxi/src/g_texts.c:412:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:412:7: note: Array index out of bounds Fenix/fxi/src/g_texts.c:413:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:413:7: note: Array index out of bounds Fenix/fxi/src/g_texts.c:414:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:414:7: note: Array index out of bounds Fenix/fxi/src/g_texts.c:415:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:415:7: note: Array index out of bounds Fenix/fxi/src/g_texts.c:416:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:416:7: note: Array index out of bounds Fenix/fxi/src/g_texts.c:417:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:417:7: note: Array index out of bounds Fenix/fxi/src/g_texts.c:418:47: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:418:47: note: Array index out of bounds Fenix/fxi/src/g_texts.c:122:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Fenix/fxi/src/g_texts.c:301:6: style: Unused variable: ret [unusedVariable] Fenix/fxi/src/g_pal.c:600:5: error: Memory leak: n [memleak] Fenix/fxi/src/g_pal.c:589:5: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxi/src/g_pal.c:588:15: note: Assuming allocation function fails Fenix/fxi/src/g_pal.c:588:15: note: Assignment 'n=malloc(sizeof(struct fillpoint))', assigned value is 0 Fenix/fxi/src/g_pal.c:589:5: note: Null pointer dereference Fenix/fxi/src/g_pal.c:590:5: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxi/src/g_pal.c:588:15: note: Assuming allocation function fails Fenix/fxi/src/g_pal.c:588:15: note: Assignment 'n=malloc(sizeof(struct fillpoint))', assigned value is 0 Fenix/fxi/src/g_pal.c:590:5: note: Null pointer dereference Fenix/fxi/src/g_pal.c:591:5: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxi/src/g_pal.c:588:15: note: Assuming allocation function fails Fenix/fxi/src/g_pal.c:588:15: note: Assignment 'n=malloc(sizeof(struct fillpoint))', assigned value is 0 Fenix/fxi/src/g_pal.c:591:5: note: Null pointer dereference Fenix/fxi/src/g_pal.c:592:5: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxi/src/g_pal.c:588:15: note: Assuming allocation function fails Fenix/fxi/src/g_pal.c:588:15: note: Assignment 'n=malloc(sizeof(struct fillpoint))', assigned value is 0 Fenix/fxi/src/g_pal.c:592:5: note: Null pointer dereference Fenix/fxi/src/g_pal.c:593:5: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxi/src/g_pal.c:588:15: note: Assuming allocation function fails Fenix/fxi/src/g_pal.c:588:15: note: Assignment 'n=malloc(sizeof(struct fillpoint))', assigned value is 0 Fenix/fxi/src/g_pal.c:593:5: note: Null pointer dereference Fenix/fxi/src/g_pal.c:594:5: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxi/src/g_pal.c:588:15: note: Assuming allocation function fails Fenix/fxi/src/g_pal.c:588:15: note: Assignment 'n=malloc(sizeof(struct fillpoint))', assigned value is 0 Fenix/fxi/src/g_pal.c:594:5: note: Null pointer dereference Fenix/fxi/src/g_pal.c:595:5: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] Fenix/fxi/src/g_pal.c:588:15: note: Assuming allocation function fails Fenix/fxi/src/g_pal.c:588:15: note: Assignment 'n=malloc(sizeof(struct fillpoint))', assigned value is 0 Fenix/fxi/src/g_pal.c:595:5: note: Null pointer dereference Fenix/fxi/src/g_pal.c:412:64: style: Same expression on both sides of '!='. [duplicateExpression] Fenix/fxi/src/g_pal.c:509:17: style: Variable 'c' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_pal.c:663:17: style: Variable 'c1' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_pal.c:664:17: style: Variable 'c2' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_pal.c:682:20: style: Variable 'c' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/g_pal.c:779:49: style: Parameter 'pal' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/g_pal.c:335:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/g_pal.c:672:15: style: Variable 'b' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/g_pal.c:672:21: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/g_pal.c:672:27: style: Variable 'c2' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/i_saveload.c:248:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable varspace_vars [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_saveload.c:348:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable varspace_vars [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_main.c:119:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TYPECHUNKS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_main.c:184:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proc [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_main.c:198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_instance [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_main.c:329:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_ID [valueFlowBailoutIncompleteVar] Fenix/fxi/src/img_pcx.c:61:8: style: struct member 'PCXheader::Manufacturer' is never used. [unusedStructMember] Fenix/fxi/src/img_pcx.c:62:8: style: struct member 'PCXheader::Version' is never used. [unusedStructMember] Fenix/fxi/src/img_pcx.c:63:8: style: struct member 'PCXheader::Encoding' is never used. [unusedStructMember] Fenix/fxi/src/img_pcx.c:67:8: style: struct member 'PCXheader::Colormap' is never used. [unusedStructMember] Fenix/fxi/src/img_pcx.c:68:8: style: struct member 'PCXheader::Reserved' is never used. [unusedStructMember] Fenix/fxi/src/img_pcx.c:74:8: style: struct member 'PCXheader::Filler' is never used. [unusedStructMember] Fenix/fxi/src/img_png.c:89:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] Fenix/fxi/src/img_png.c:334:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable png_bytep [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:143:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:157:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:232:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANGLE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:245:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COORDX [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:303:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_instance [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:331:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIRST_INSTANCE_ID [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:354:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIRST_INSTANCE_ID [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:424:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_instance [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:443:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COORDX [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:471:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COORDX [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:493:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_instance [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:563:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:591:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:688:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRAPHSIZEX [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:713:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COORDX [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:728:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRAPHSIZEX [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:748:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSEX [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:826:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_16bits [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:910:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_instance [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:975:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_table [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1014:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRAPH_MODE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1026:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRAPH_MODE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1053:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1101:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILEID [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1128:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTYPE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1205:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1212:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1225:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1233:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1240:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1253:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1259:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1266:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1350:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1370:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drawing_stipple [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1415:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWOBJ_BOX [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1435:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWOBJ_RECT [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1455:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWOBJ_LINE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1475:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWOBJ_CIRCLE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1494:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWOBJ_FCIRCLE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1513:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRAWOBJ_CURVE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1536:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1554:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1570:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_16bits [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1610:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1632:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1665:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1694:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1706:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1728:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_16bits [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1756:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1765:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1779:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:1906:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable background [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:2036:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:2089:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_CP850 [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:2114:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARSET_CP850 [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:2202:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEXT_FLOAT [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:3064:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_list_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:3071:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_list_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:3109:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_list_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:3148:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_list_dirty [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:3768:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable apptitle [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:3774:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icono [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:3783:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSELEFT [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:3800:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable full_screen [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:4236:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_syntax_options [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:4323:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_syntax_options [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:4478:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_syntax_options [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:4748:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:4895:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fbm_error [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:4925:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fbm_error [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:4944:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fgc_error [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:4961:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fgc_error [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:4994:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sysprocs [valueFlowBailoutIncompleteVar] Fenix/fxi/src/i_func.c:5020:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sysprocs [valueFlowBailoutIncompleteVar] Fenix/fxi/src/img_png.c:218:28: style: Variable 'shift' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/img_png.c:217:19: note: shift is assigned Fenix/fxi/src/img_png.c:218:28: note: shift is overwritten Fenix/fxi/src/img_png.c:178:24: style: Local variable 'orig' shadows outer variable [shadowVariable] Fenix/fxi/src/img_png.c:70:14: note: Shadowed declaration Fenix/fxi/src/img_png.c:178:24: note: Shadow variable Fenix/fxi/src/img_png.c:199:24: style: Local variable 'orig' shadows outer variable [shadowVariable] Fenix/fxi/src/img_png.c:70:14: note: Shadowed declaration Fenix/fxi/src/img_png.c:199:24: note: Shadow variable Fenix/fxi/src/img_png.c:220:24: style: Local variable 'orig' shadows outer variable [shadowVariable] Fenix/fxi/src/img_png.c:70:14: note: Shadowed declaration Fenix/fxi/src/img_png.c:220:24: note: Shadow variable Fenix/fxi/src/img_png.c:330:19: style: Variable 'orig' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/img_png.c:139:14: style: Variable 'rowbytes' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/i_main.c:952:18: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:952:47: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:957:18: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:957:55: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:962:18: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:962:47: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:968:18: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:968:47: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:974:18: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:974:47: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:980:23: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:982:18: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:982:47: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:988:64: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:994:18: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1298:35: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1298:63: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1304:35: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1304:63: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1310:35: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1310:63: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1316:35: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1316:63: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1322:35: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1322:62: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1328:35: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1328:62: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1457:53: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1499:18: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1919:48: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1925:48: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1953:47: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1959:47: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1965:47: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1971:22: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:1973:47: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_main.c:2080:27: style: Variable 'proct' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/instance.c:117:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INSTANCE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:231:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INSTANCE [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:346:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_ID [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:354:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FATHER [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:359:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SON [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:364:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIGBRO [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:369:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMALLBRO [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:420:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRAPHID [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:586:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGIONID [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:641:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:667:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAVED_X [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:700:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_time [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:737:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XGRAPH [valueFlowBailoutIncompleteVar] Fenix/fxi/src/instance.c:826:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIORITY [valueFlowBailoutIncompleteVar] Fenix/fxi/src/main.c:116:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keytab_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/main.c:169:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] Fenix/fxi/src/main.c:358:9: style: Local variable 'ptr' shadows outer variable [shadowVariable] Fenix/fxi/src/main.c:146:12: note: Shadowed declaration Fenix/fxi/src/main.c:358:9: note: Shadow variable Fenix/fxi/src/main.c:142:15: style: Variable 'mainproc_running' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/main.c:144:16: style: Variable 'norun' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/main.c:240:35: style: Variable 'norun' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/main.c:366:20: style: Variable 'mainproc_running' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/instance.c:385:39: style: Parameter 'except' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/instance.c:697:10: style: Variable 'graph' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/instance.c:735:8: style: Variable 'xgraph' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/instance.c:773:33: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/instance.c:775:13: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/pathfind.c:192:6: style: Condition 'f_cl' is always false [knownConditionTrueFalse] Fenix/fxi/src/pathfind.c:187:6: note: Assuming that condition 'f_cl' is not redundant Fenix/fxi/src/pathfind.c:189:11: note: Assuming condition is false Fenix/fxi/src/pathfind.c:192:6: note: Condition 'f_cl' is always false Fenix/fxi/src/scaler_normal.c:35:28: style: Parameter 'srcPtr' can be declared as pointer to const [constParameterPointer] Fenix/common/regex.c:3305:11: warning: Return value of function alloca() is not used. [ignoredReturnValue] Fenix/common/regex.c:3323:7: warning: Return value of function alloca() is not used. [ignoredReturnValue] Fenix/common/regex.c:3517:11: warning: Return value of function alloca() is not used. [ignoredReturnValue] Fenix/common/regex.c:4355:3: warning: Return value of function alloca() is not used. [ignoredReturnValue] Fenix/common/regex.c:117:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] Fenix/common/regex.c:1389:13: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] Fenix/common/regex.c:2578:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] Fenix/common/regex.c:2759:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] Fenix/common/regex.c:2759:20: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] Fenix/common/regex.c:3305:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] Fenix/common/regex.c:3323:7: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] Fenix/common/regex.c:3517:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] Fenix/common/regex.c:3788:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] Fenix/common/regex.c:3788:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] Fenix/common/regex.c:3853:23: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] Fenix/common/regex.c:3935:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] Fenix/common/regex.c:3935:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] Fenix/common/regex.c:3988:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] Fenix/common/regex.c:3988:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] Fenix/common/regex.c:4127:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] Fenix/common/regex.c:4127:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] Fenix/common/regex.c:4140:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] Fenix/common/regex.c:4140:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] Fenix/common/regex.c:4355:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] Fenix/fxi/src/scaler_hq2x.c:105:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RedBlueMask [valueFlowBailoutIncompleteVar] Fenix/fxi/src/scaler_hq2x.c:116:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RedBlueMask [valueFlowBailoutIncompleteVar] Fenix/fxi/src/scaler_hq2x.c:1981:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RedMask [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:1757:19: style: Redundant condition: syntax&RE_INTERVALS. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] Fenix/common/regex.c:1182:26: error: Memory leak: compile_stack.stack [memleak] Fenix/common/regex.c:4857:9: error: Memory leak: regs.start [memleak] Fenix/common/regex.c:4857:9: error: Memory leak: regs.end [memleak] Fenix/fxi/src/scaler_scanline.c:35:24: style: Parameter 'srcPtr' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/sound.c:126:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:192:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:230:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:270:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:312:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:342:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:367:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:399:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:425:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:451:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:477:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:503:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:529:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:567:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:609:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:645:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:676:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:705:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:738:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:770:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:798:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:830:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:858:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:880:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:912:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:946:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/sound.c:979:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable audio_initialized [valueFlowBailoutIncompleteVar] Fenix/fxi/src/strings.c:205:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NStrings [valueFlowBailoutIncompleteVar] Fenix/fxi/src/scaler_hq2x.c:195:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:194:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:195:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:204:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:203:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:204:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:213:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:212:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:213:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:222:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:221:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:222:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:231:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:230:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:231:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:240:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:239:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:240:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:249:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:248:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:249:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:258:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:257:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:258:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:267:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:266:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:267:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:276:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:275:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:276:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:285:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:284:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:285:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:294:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:293:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:294:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:303:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:302:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:303:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:314:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:313:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:314:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:347:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:346:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:347:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:353:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:352:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:353:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:359:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:358:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:359:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:367:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:366:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:367:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:375:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:374:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:375:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:383:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:382:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:383:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:391:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:390:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:391:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:402:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:401:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:402:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:435:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:434:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:435:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:447:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:446:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:447:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:479:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:478:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:479:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:482:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:481:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:482:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:491:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:490:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:491:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:494:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:493:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:494:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:531:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:530:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:531:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:537:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:536:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:537:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:543:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:542:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:543:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:549:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:548:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:549:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:555:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:554:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:555:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:561:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:560:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:561:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:567:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:566:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:567:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:573:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:572:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:573:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:579:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:578:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:579:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:594:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:593:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:594:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:649:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:648:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:649:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:659:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:658:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:659:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:689:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:688:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:689:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:719:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:718:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:719:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:725:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:724:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:725:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:731:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:730:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:731:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:737:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:736:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:737:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:743:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:742:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:743:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:749:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:748:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:749:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:755:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:754:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:755:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:761:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:760:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:761:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:767:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:766:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:767:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:773:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:772:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:773:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:779:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:778:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:779:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:785:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:784:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:785:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:791:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:790:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:791:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:805:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:804:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:805:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:875:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:874:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:875:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:937:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:936:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:937:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:969:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:968:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:969:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:972:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:971:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:972:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:981:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:980:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:981:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:984:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:983:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:984:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1021:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1020:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1021:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1041:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1040:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1041:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1051:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1050:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1051:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1071:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1070:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1071:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1101:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1100:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1101:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1107:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1106:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1107:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1113:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1112:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1113:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1119:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1118:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1119:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1125:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1124:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1125:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1131:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1130:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1131:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1137:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1136:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1137:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1143:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1142:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1143:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1149:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1148:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1149:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1177:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1176:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1177:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1219:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1218:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1219:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1355:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1354:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1355:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1361:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1360:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1361:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1367:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1366:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1367:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1373:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1372:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1373:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1387:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1386:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1387:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1451:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1450:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1451:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1462:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1461:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1462:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1479:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1478:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1479:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1485:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1484:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1485:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1546:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1545:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1546:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1553:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1552:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:1553:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1556:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1555:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:1556:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1586:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1585:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:1586:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1589:10: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1588:10: note: First condition Fenix/fxi/src/scaler_hq2x.c:1589:10: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1601:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1600:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1601:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1623:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1622:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1623:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1634:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1633:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1634:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1687:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1686:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1687:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1771:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1770:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1771:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1785:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1784:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1785:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1909:9: style: The if condition is the same as the previous if condition [duplicateCondition] Fenix/fxi/src/scaler_hq2x.c:1908:9: note: First condition Fenix/fxi/src/scaler_hq2x.c:1909:9: note: Second condition Fenix/fxi/src/scaler_hq2x.c:1984:6: warning: If memory allocation fails, then there is a possible null pointer dereference: _LUT16to32 [nullPointerOutOfMemory] Fenix/fxi/src/scaler_hq2x.c:1978:34: note: Assuming allocation function fails Fenix/fxi/src/scaler_hq2x.c:1978:18: note: Assignment '_LUT16to32=(Uint32*)malloc(65536*sizeof(Uint32))', assigned value is 0 Fenix/fxi/src/scaler_hq2x.c:1984:6: note: Null pointer dereference Fenix/fxi/src/i_func.c:3715:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Fenix/fxi/src/i_func.c:4849:46: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Fenix/fxi/src/i_func.c:4855:46: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Fenix/fxi/src/scaler_hq2x.c:2097:5: style: Variable 'w1' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2047:5: note: w1 is assigned Fenix/fxi/src/scaler_hq2x.c:2097:5: note: w1 is overwritten Fenix/fxi/src/scaler_hq2x.c:2097:13: style: Variable 'w4' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2047:14: note: w4 is assigned Fenix/fxi/src/scaler_hq2x.c:2097:13: note: w4 is overwritten Fenix/fxi/src/scaler_hq2x.c:2097:21: style: Variable 'w7' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2047:23: note: w7 is assigned Fenix/fxi/src/scaler_hq2x.c:2097:21: note: w7 is overwritten Fenix/fxi/src/scaler_hq2x.c:2098:8: style: Variable 'w2' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2048:5: note: w2 is assigned Fenix/fxi/src/scaler_hq2x.c:2098:8: note: w2 is overwritten Fenix/fxi/src/scaler_hq2x.c:2098:33: style: Variable 'w5' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2048:14: note: w5 is assigned Fenix/fxi/src/scaler_hq2x.c:2098:33: note: w5 is overwritten Fenix/fxi/src/scaler_hq2x.c:2098:44: style: Variable 'w8' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2048:23: note: w8 is assigned Fenix/fxi/src/scaler_hq2x.c:2098:44: note: w8 is overwritten Fenix/fxi/src/scaler_hq2x.c:2097:5: style: Variable 'w1' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2086:9: note: w1 is assigned Fenix/fxi/src/scaler_hq2x.c:2097:5: note: w1 is overwritten Fenix/fxi/src/scaler_hq2x.c:2097:13: style: Variable 'w4' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2086:18: note: w4 is assigned Fenix/fxi/src/scaler_hq2x.c:2097:13: note: w4 is overwritten Fenix/fxi/src/scaler_hq2x.c:2097:21: style: Variable 'w7' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2086:27: note: w7 is assigned Fenix/fxi/src/scaler_hq2x.c:2097:21: note: w7 is overwritten Fenix/fxi/src/scaler_hq2x.c:2098:8: style: Variable 'w2' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2087:9: note: w2 is assigned Fenix/fxi/src/scaler_hq2x.c:2098:8: note: w2 is overwritten Fenix/fxi/src/scaler_hq2x.c:2098:33: style: Variable 'w5' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2087:18: note: w5 is assigned Fenix/fxi/src/scaler_hq2x.c:2098:33: note: w5 is overwritten Fenix/fxi/src/scaler_hq2x.c:2098:44: style: Variable 'w8' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/fxi/src/scaler_hq2x.c:2087:27: note: w8 is assigned Fenix/fxi/src/scaler_hq2x.c:2098:44: note: w8 is overwritten Fenix/fxi/src/i_func.c:3594:5: error: Memory leak: ptr [memleak] Fenix/fxi/src/i_func.c:3601:5: error: Memory leak: ptr [memleak] Fenix/fxi/src/i_func.c:4400:17: error: Common realloc mistake: 'result' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/i_func.c:4423:9: error: Common realloc mistake: 'result' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/i_func.c:2089:9: warning: Either the condition '!font' is redundant or there is possible null pointer dereference: font. [nullPointerRedundantCheck] Fenix/fxi/src/i_func.c:2093:9: note: Assuming that condition '!font' is not redundant Fenix/fxi/src/i_func.c:2089:9: note: Null pointer dereference Fenix/fxi/src/i_func.c:2114:9: warning: Either the condition 'font' is redundant or there is possible null pointer dereference: font. [nullPointerRedundantCheck] Fenix/fxi/src/i_func.c:2117:9: note: Assuming that condition 'font' is not redundant Fenix/fxi/src/i_func.c:2114:9: note: Null pointer dereference Fenix/fxi/src/i_func.c:3716:28: warning: If memory allocation fails, then there is a possible null pointer dereference: format [nullPointerOutOfMemory] Fenix/fxi/src/i_func.c:3652:27: note: Assuming allocation function fails Fenix/fxi/src/i_func.c:3652:19: note: Assignment 'format=base=strdup(string_get(params[0]))', assigned value is 0 Fenix/fxi/src/i_func.c:3716:28: note: Null pointer dereference Fenix/fxi/src/i_func.c:4307:6: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] Fenix/fxi/src/i_func.c:4305:20: note: Assuming allocation function fails Fenix/fxi/src/i_func.c:4305:20: note: Assignment 'result=malloc(128)', assigned value is 0 Fenix/fxi/src/i_func.c:4307:6: note: Null pointer dereference Fenix/fxi/src/i_func.c:4386:25: warning: If memory allocation fails, then there is a possible null pointer dereference: replacement [nullPointerOutOfMemory] Fenix/fxi/src/i_func.c:4371:38: note: Assuming allocation function fails Fenix/fxi/src/i_func.c:4371:38: note: Assignment 'replacement=calloc(total_length+1,1)', assigned value is 0 Fenix/fxi/src/i_func.c:4386:25: note: Null pointer dereference Fenix/fxi/src/i_func.c:4387:42: warning: If memory allocation fails, then there is a possible null pointer dereference: replacement [nullPointerOutOfMemory] Fenix/fxi/src/i_func.c:4371:38: note: Assuming allocation function fails Fenix/fxi/src/i_func.c:4371:38: note: Assignment 'replacement=calloc(total_length+1,1)', assigned value is 0 Fenix/fxi/src/i_func.c:4387:42: note: Null pointer dereference Fenix/fxi/src/i_func.c:4552:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] Fenix/fxi/src/i_func.c:4538:20: note: Assuming allocation function fails Fenix/fxi/src/i_func.c:4538:20: note: Assignment 'buffer=malloc(total_length+1)', assigned value is 0 Fenix/fxi/src/i_func.c:4539:11: note: Assignment 'ptr=buffer', assigned value is 0 Fenix/fxi/src/i_func.c:4541:20: note: Assuming condition is false Fenix/fxi/src/i_func.c:4552:6: note: Null pointer dereference Fenix/fxi/src/i_func.c:168:18: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:170:13: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/i_func.c:175:30: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:175:52: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:176:13: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/i_func.c:252:30: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:253:13: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/i_func.c:260:20: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:262:13: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/i_func.c:266:20: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:268:13: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/i_func.c:272:20: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:274:13: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/i_func.c:278:20: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:280:13: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/i_func.c:284:20: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:286:13: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/i_func.c:290:20: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:292:13: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/i_func.c:1314:47: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:1320:44: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:1333:17: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:3318:27: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:3344:13: portability: Casting from float * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Fenix/fxi/src/i_func.c:3418:29: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:3430:29: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:3882:58: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:4196:31: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:4197:31: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/i_func.c:4198:31: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] Fenix/fxi/src/strings.c:130:5: error: Common realloc mistake: 'string_ptr' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/strings.c:131:5: error: Common realloc mistake: 'string_uct' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/strings.c:132:5: error: Common realloc mistake: 'string_dontfree' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/strings.c:216:9: error: Common realloc mistake: 'string_mem' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/strings.c:441:5: error: Common realloc mistake: 'str1' nulled but not freed upon failure [memleakOnRealloc] Fenix/fxi/src/strings.c:110:5: warning: If memory allocation fails, then there is a possible null pointer dereference: string_mem [nullPointerOutOfMemory] Fenix/fxi/src/strings.c:100:34: note: Assuming allocation function fails Fenix/fxi/src/strings.c:100:18: note: Assignment 'string_mem=(char*)malloc(4096)', assigned value is 0 Fenix/fxi/src/strings.c:110:5: note: Null pointer dereference Fenix/fxi/src/strings.c:111:5: warning: If memory allocation fails, then there is a possible null pointer dereference: string_ptr [nullPointerOutOfMemory] Fenix/fxi/src/strings.c:105:35: note: Assuming allocation function fails Fenix/fxi/src/strings.c:105:18: note: Assignment 'string_ptr=(char**)malloc(1024*sizeof(char*))', assigned value is 0 Fenix/fxi/src/strings.c:111:5: note: Null pointer dereference Fenix/fxi/src/strings.c:227:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string_offset [nullPointerOutOfMemory] Fenix/fxi/src/strings.c:208:36: note: Assuming allocation function fails Fenix/fxi/src/strings.c:208:21: note: Assignment 'string_offset=(int*)malloc(4*string_count)', assigned value is 0 Fenix/fxi/src/strings.c:227:44: note: Null pointer dereference Fenix/fxi/src/strings.c:684:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] Fenix/fxi/src/strings.c:683:25: note: Assuming allocation function fails Fenix/fxi/src/strings.c:683:11: note: Assignment 'ptr=(char*)malloc(len+1)', assigned value is 0 Fenix/fxi/src/strings.c:684:13: note: Null pointer dereference Fenix/fxi/src/strings.c:685:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] Fenix/fxi/src/strings.c:683:25: note: Assuming allocation function fails Fenix/fxi/src/strings.c:683:11: note: Assignment 'ptr=(char*)malloc(len+1)', assigned value is 0 Fenix/fxi/src/strings.c:685:5: note: Null pointer dereference Fenix/fxi/src/i_func.c:1938:11: style: Checking if unsigned expression 'x' is less than zero. [unsignedLessThanZero] Fenix/fxi/src/i_func.c:1944:11: style: Checking if unsigned expression 'y' is less than zero. [unsignedLessThanZero] Fenix/fxi/src/i_func.c:1950:12: style: Checking if unsigned expression 'dx' is less than zero. [unsignedLessThanZero] Fenix/fxi/src/i_func.c:1956:12: style: Checking if unsigned expression 'dy' is less than zero. [unsignedLessThanZero] Fenix/fxi/src/i_func.c:1976:54: style: Checking if unsigned expression 'w' is less than zero. [unsignedLessThanZero] Fenix/fxi/src/i_func.c:1976:64: style: Checking if unsigned expression 'h' is less than zero. [unsignedLessThanZero] Fenix/fxi/src/strings.c:432:38: style: Parameter 'str2' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/strings.c:491:25: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/strings.c:879:18: style: Variable 'negative' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/strings.c:883:18: style: Variable 'negative' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/scaler_hq2x.c:136:14: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] Fenix/fxi/src/scaler_hq2x.c:141:14: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] Fenix/fxi/src/scaler_hq2x.c:146:14: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] Fenix/fxi/src/i_func.c:152:33: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:152:43: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:160:38: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:160:48: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:166:32: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:173:32: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:173:42: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:179:39: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:179:49: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:192:38: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:192:48: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:200:39: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:200:49: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:250:33: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:250:43: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:258:32: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:264:32: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:270:32: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:276:33: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:282:33: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:288:33: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:452:38: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:452:48: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:458:38: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:458:48: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:491:45: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:789:26: style: Variable 'r' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/i_func.c:967:32: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:967:42: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:969:17: style: Variable 'curr' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/i_func.c:988:26: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:988:36: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:1090:13: style: Variable 'map' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/i_func.c:1181:11: style: Variable 'newpal' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/i_func.c:1231:36: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:1231:46: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:1275:43: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:1275:53: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:1361:39: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:1361:49: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:1368:44: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:1368:54: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:1398:43: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:1398:53: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:1871:13: style: Variable 'map' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/i_func.c:1877:13: style: Variable 'lib' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/i_func.c:2001:36: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:2001:46: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:2070:46: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:2167:13: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/i_func.c:2196:19: style: Variable 'var' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/i_func.c:2553:31: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:2553:41: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:2576:32: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:2576:42: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:2598:33: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:2598:43: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:2621:43: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:2621:53: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3170:38: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3170:48: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3363:42: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3563:35: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3563:45: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3590:34: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3590:44: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3610:38: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3610:48: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3617:33: style: Parameter 'my' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3617:43: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3639:12: style: Variable 'format' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/i_func.c:3640:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/i_func.c:3643:12: style: Variable 'base' can be declared as pointer to const [constVariablePointer] Fenix/fxi/src/i_func.c:3877:41: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] Fenix/fxi/src/i_func.c:3868:12: error: Uninitialized variable: res [uninitvar] Fenix/fxi/src/i_func.c:607:28: style: Variable 'r' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/i_func.c:3652:19: style: Variable 'base' is assigned a value that is never used. [unreadVariable] Fenix/fxi/src/i_func.c:3796:9: style: Variable 'res' is not assigned a value. [unassignedVariable] Fenix/map/map.c:81:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] Fenix/map/map.c:235:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ColorMap [valueFlowBailoutIncompleteVar] Fenix/map/map.c:424:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable png_bytep [valueFlowBailoutIncompleteVar] Fenix/map/map.c:550:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] Fenix/common/regex.c:4094:13: style: Variable 'reg_dummy[this_reg]' is reassigned a value before the old one has been used. [redundantAssignment] Fenix/common/regex.c:4094:13: note: reg_dummy[this_reg] is assigned Fenix/common/regex.c:4094:13: note: reg_dummy[this_reg] is overwritten Fenix/common/regex.c:2177:34: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] Fenix/common/regex.c:2180:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] Fenix/common/regex.c:2247:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] Fenix/common/regex.c:1204:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1219:16: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1311:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1336:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1350:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1360:11: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1372:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1378:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1386:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1622:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1654:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1700:21: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1716:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1744:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1831:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1850:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1944:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1950:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1955:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1959:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1963:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1967:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1971:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1975:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:1993:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:2040:11: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:2044:7: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:2564:27: style: Variable 'pend' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:2904:18: style: Variable 'fastmap' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:2905:18: style: Variable 'translate' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:4090:28: style: Variable 'pdummy' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:4611:12: style: Parameter 'translate' can be declared as pointer to const [constParameterPointer] Fenix/common/regex.c:4613:27: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:4613:37: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] Fenix/common/regex.c:4094:13: style: Variable 'sdummy' is assigned a value that is never used. [unreadVariable] Fenix/common/regex.c:4094:13: style: Variable 'pdummy' is assigned a value that is never used. [unreadVariable] Fenix/map/map.c:190:2: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/map/map.c:191:23: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/map/map.c:192:2: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/map/map.c:194:3: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/map/map.c:197:3: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/map/map.c:198:3: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/map/map.c:199:3: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/map/map.c:200:3: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/map/map.c:204:2: warning: Return value of function gzwrite() is not used. [ignoredReturnValue] Fenix/map/map.c:357:2: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/map/map.c:380:2: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/map/map.c:813:2: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/map/map.c:815:3: warning: Return value of function gzseek() is not used. [ignoredReturnValue] Fenix/map/map.c:821:2: warning: Return value of function gzread() is not used. [ignoredReturnValue] Fenix/map/map.c:1029:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Fenix/map/map.c:1021:17: note: outer condition: ii Fenix/map/map.c:440:9: error: Memory pointed to by 'rowpointers' is freed twice. [doubleFree] Fenix/map/map.c:434:9: note: Memory pointed to by 'rowpointers' is freed twice. Fenix/map/map.c:440:9: note: Memory pointed to by 'rowpointers' is freed twice. Fenix/map/map.c:457:13: error: Memory pointed to by 'rowpointers' is freed twice. [doubleFree] Fenix/map/map.c:434:9: note: Memory pointed to by 'rowpointers' is freed twice. Fenix/map/map.c:457:13: note: Memory pointed to by 'rowpointers' is freed twice. Fenix/map/map.c:458:13: error: Resource handle 'file' freed twice. [doubleFree] Fenix/map/map.c:441:3: note: Resource handle 'file' freed twice. Fenix/map/map.c:458:13: note: Resource handle 'file' freed twice. Fenix/map/map.c:221:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:220:22: note: Assuming allocation function fails Fenix/map/map.c:220:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:221:2: note: Null pointer dereference Fenix/map/map.c:222:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:220:22: note: Assuming allocation function fails Fenix/map/map.c:220:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:222:2: note: Null pointer dereference Fenix/map/map.c:223:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:220:22: note: Assuming allocation function fails Fenix/map/map.c:220:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:223:2: note: Null pointer dereference Fenix/map/map.c:224:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:220:22: note: Assuming allocation function fails Fenix/map/map.c:220:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:224:2: note: Null pointer dereference Fenix/map/map.c:225:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:220:22: note: Assuming allocation function fails Fenix/map/map.c:220:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:225:2: note: Null pointer dereference Fenix/map/map.c:226:10: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:220:22: note: Assuming allocation function fails Fenix/map/map.c:220:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:226:10: note: Null pointer dereference Fenix/map/map.c:227:11: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:220:22: note: Assuming allocation function fails Fenix/map/map.c:220:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:227:11: note: Null pointer dereference Fenix/map/map.c:228:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:220:22: note: Assuming allocation function fails Fenix/map/map.c:220:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:228:2: note: Null pointer dereference Fenix/map/map.c:232:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:220:22: note: Assuming allocation function fails Fenix/map/map.c:220:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:232:2: note: Null pointer dereference Fenix/map/map.c:358:11: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:356:22: note: Assuming allocation function fails Fenix/map/map.c:356:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:358:11: note: Null pointer dereference Fenix/map/map.c:362:14: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:356:22: note: Assuming allocation function fails Fenix/map/map.c:356:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:362:14: note: Null pointer dereference Fenix/map/map.c:382:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:356:22: note: Assuming allocation function fails Fenix/map/map.c:356:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:382:2: note: Null pointer dereference Fenix/map/map.c:383:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:356:22: note: Assuming allocation function fails Fenix/map/map.c:356:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:383:2: note: Null pointer dereference Fenix/map/map.c:384:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:356:22: note: Assuming allocation function fails Fenix/map/map.c:356:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:384:2: note: Null pointer dereference Fenix/map/map.c:385:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:356:22: note: Assuming allocation function fails Fenix/map/map.c:356:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:385:2: note: Null pointer dereference Fenix/map/map.c:386:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:356:22: note: Assuming allocation function fails Fenix/map/map.c:356:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:386:2: note: Null pointer dereference Fenix/map/map.c:402:2: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:356:22: note: Assuming allocation function fails Fenix/map/map.c:356:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:402:2: note: Null pointer dereference Fenix/map/map.c:403:20: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] Fenix/map/map.c:356:22: note: Assuming allocation function fails Fenix/map/map.c:356:8: note: Assignment 'map=(struct MAP*)malloc(sizeof(struct MAP))', assigned value is 0 Fenix/map/map.c:403:20: note: Null pointer dereference Fenix/map/map.c:1041:33: warning: If memory allocation fails, then there is a possible null pointer dereference: policy [nullPointerOutOfMemory] Fenix/map/map.c:1040:49: note: Assuming allocation function fails Fenix/map/map.c:1040:49: note: Assignment 'policy=strdup("wb ")', assigned value is 0 Fenix/map/map.c:1041:33: note: Null pointer dereference Fenix/map/map.c:420:12: style: Variable 'orig' can be declared as pointer to const [constVariablePointer] Fenix/map/map.c:719:10: style: Variable 'palette' can be declared as pointer to const [constVariablePointer] Fenix/map/map.c:750:30: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] Fenix/map/map.c:750:47: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] Fenix/map/map.c:793:46: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] Fenix/map/map.c:826:45: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] Fenix/map/map.c:883:29: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] Fenix/map/map.c:904:27: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] Fenix/map/map.c:906:9: style: Variable 'comma' can be declared as pointer to const [constVariablePointer] Fenix/map/map.c:916:30: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] Fenix/map/map.c:962:9: style: Variable 'equal' can be declared as pointer to const [constVariablePointer] Fenix/map/map.c:202:6: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] Fenix/map/map.c:599:11: style: Variable 'rowbytes' is assigned a value that is never used. [unreadVariable] diff: head Fenix/common/regex.c:2564:27: style: Variable 'pend' can be declared as pointer to const [constVariablePointer] head Fenix/fxi/src/g_console.c:1762:19: style: Variable 'optr' can be declared as pointer to const [constVariablePointer] head Fenix/fxi/src/g_main.c:1671:18: style: Variable 'object' can be declared as pointer to const [constVariablePointer] head Fenix/fxi/src/g_texts.c:415:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:415:7: note: Array index out of bounds head Fenix/fxi/src/g_texts.c:416:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:416:7: note: Array index out of bounds head Fenix/fxi/src/g_texts.c:417:7: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:417:7: note: Array index out of bounds head Fenix/fxi/src/g_texts.c:418:47: error:inconclusive: Array 'texts[512]' accessed at index 512, which is out of bounds. [arrayIndexOutOfBounds] Fenix/fxi/src/g_texts.c:399:28: note: Assuming that condition 'textid<512' is not redundant Fenix/fxi/src/g_texts.c:418:47: note: Array index out of bounds DONE