2025-11-26 06:36 ftp://ftp.de.debian.org/debian/pool/main/f/fenix-plugins/fenix-plugins_0.0.20070803.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -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: 209 206 elapsed-time: 0.4 0.4 head-timing-info: old-timing-info: head results: fenix-plugins/exec-0.4a/exec.c:56:15: style: Variable 'FENIX_export' is assigned a value that is never used. [unreadVariable] fenix-plugins/agua-1.0/agua.c:34:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrbitmap [valueFlowBailoutIncompleteVar] fenix-plugins/agua-1.0/agua.c:124:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_width [valueFlowBailoutIncompleteVar] fenix-plugins/fsock-1.0/fsock.c:53:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] fenix-plugins/fsock-1.0/fsock.c:83:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] fenix-plugins/fsock-1.0/fsock.c:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] fenix-plugins/fsock-1.0/fsock.c:130:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] fenix-plugins/fsock-1.0/fsock.c:146:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] fenix-plugins/fsock-1.0/fsock.c:162:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] fenix-plugins/fsock-1.0/fsock.c:238:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] fenix-plugins/fsock-1.0/fsock.c:254:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] fenix-plugins/fire-1.0/fire.c:24:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_width [valueFlowBailoutIncompleteVar] fenix-plugins/fire-1.0/fire.c:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrbitmap [valueFlowBailoutIncompleteVar] fenix-plugins/fire-1.0/fire.c:63:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRAPH [valueFlowBailoutIncompleteVar] fenix-plugins/fire-1.0/fire.c:86:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] fenix-plugins/agua-1.0/agua.c:132:16: style: Variable 'lastmx' is assigned a value that is never used. [unreadVariable] fenix-plugins/agua-1.0/agua.c:133:16: style: Variable 'lastmy' is assigned a value that is never used. [unreadVariable] fenix-plugins/agua-1.0/agua.c:134:16: style: Variable 'lastmleft' is assigned a value that is never used. [unreadVariable] fenix-plugins/agua-1.0/agua.c:135:16: style: Variable 'lastmright' is assigned a value that is never used. [unreadVariable] fenix-plugins/fsock-1.0/fsock.c:253:6: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] fenix-plugins/agua-1.0/agua.c:136:16: style: Variable 'lastmcenter' is assigned a value that is never used. [unreadVariable] fenix-plugins/agua-1.0/agua.c:137:16: style: Variable 'lastmwup' is assigned a value that is never used. [unreadVariable] fenix-plugins/fsock-1.0/fsock.c:183:34: warning: Either the condition 'params[0]!=-1' is redundant or recvfrom() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] fenix-plugins/fsock-1.0/fsock.c:185:15: note: Assuming that condition 'params[0]!=-1' is not redundant fenix-plugins/fsock-1.0/fsock.c:183:34: note: Invalid argument fenix-plugins/agua-1.0/agua.c:138:16: style: Variable 'lastmwdown' is assigned a value that is never used. [unreadVariable] fenix-plugins/agua-1.0/agua.c:139:16: style: Variable 'lastkey' is assigned a value that is never used. [unreadVariable] fenix-plugins/fsock-1.0/fsock.c:30:35: style: Parameter 'my' can be declared as pointer to const. However it seems that 'fsock_init' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:287:46: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:30:35: note: Parameter 'my' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:30:45: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fsock_init' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:287:46: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:30:45: note: Parameter 'params' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:41:35: style: Parameter 'my' can be declared as pointer to const. However it seems that 'fsock_quit' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:307:46: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:41:35: note: Parameter 'my' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:41:45: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fsock_quit' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:307:46: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:41:45: note: Parameter 'params' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:51:43: style: Parameter 'my' can be declared as pointer to const. However it seems that 'fsock_getfdsetsize' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:288:54: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:51:43: note: Parameter 'my' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:51:53: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fsock_getfdsetsize' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:288:54: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:51:53: note: Parameter 'params' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:80:45: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fsock_bind' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:292:48: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:80:45: note: Parameter 'params' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:91:39: style: Parameter 'my' can be declared as pointer to const. However it seems that 'tcpsock_listen' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:293:52: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:91:39: note: Parameter 'my' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:91:49: style: Parameter 'params' can be declared as pointer to const. However it seems that 'tcpsock_listen' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:293:52: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:91:49: note: Parameter 'params' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:128:8: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] fenix-plugins/fsock-1.0/fsock.c:150:37: style: Parameter 'my' can be declared as pointer to const. However it seems that 'tcpsock_send' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:297:51: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:150:37: note: Parameter 'my' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:152:8: style: Variable 'envio' can be declared as pointer to const [constVariablePointer] fenix-plugins/fsock-1.0/fsock.c:159:8: style: Variable 'envio' can be declared as pointer to const [constVariablePointer] fenix-plugins/fsock-1.0/fsock.c:160:8: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] fenix-plugins/fsock-1.0/fsock.c:222:38: style: Parameter 'my' can be declared as pointer to const. However it seems that 'fsock_fdisset' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:311:51: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:222:38: note: Parameter 'my' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:222:48: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fsock_fdisset' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:311:51: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:222:48: note: Parameter 'params' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:245:51: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fsock_get_iphost' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:305:54: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:245:51: note: Parameter 'params' can be declared as pointer to const fenix-plugins/fsock-1.0/fsock.c:249:18: style: Variable 'phe' can be declared as pointer to const [constVariablePointer] fenix-plugins/fire-1.0/fire.c:138:9: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:138:9: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:139:2: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:139:2: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:140:2: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:140:2: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:141:2: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:141:2: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:142:2: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:142:2: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:142:15: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:142:15: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:143:2: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:143:2: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:143:31: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:143:31: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:143:40: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:143:40: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:144:9: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:144:9: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:144:24: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:144:24: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:144:33: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:144:33: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:145:9: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:145:9: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:145:25: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:145:25: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:145:34: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:145:34: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:146:2: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:146:2: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:146:13: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:146:13: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:147:2: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:147:2: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:147:13: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:147:13: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:148:2: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:148:2: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:149:2: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:149:2: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:150:2: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:150:2: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:151:2: warning: If memory allocation fails, then there is a possible null pointer dereference: T [nullPointerOutOfMemory] fenix-plugins/fire-1.0/fire.c:137:26: note: Assuming allocation function fails fenix-plugins/fire-1.0/fire.c:137:11: note: Assignment 'T=(struct _Fire*)malloc(sizeof(struct _Fire))', assigned value is 0 fenix-plugins/fire-1.0/fire.c:151:2: note: Null pointer dereference fenix-plugins/fire-1.0/fire.c:258:33: style: Parameter 'my' can be declared as pointer to const. However it seems that 'graph_fire' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fire-1.0/fire.c:280:47: note: You might need to cast the function pointer here fenix-plugins/fire-1.0/fire.c:258:33: note: Parameter 'my' can be declared as pointer to const fenix-plugins/fire-1.0/fire.c:31:16: style: Variable 'lastmx' is assigned a value that is never used. [unreadVariable] fenix-plugins/fire-1.0/fire.c:32:16: style: Variable 'lastmy' is assigned a value that is never used. [unreadVariable] fenix-plugins/fire-1.0/fire.c:33:16: style: Variable 'lastmleft' is assigned a value that is never used. [unreadVariable] fenix-plugins/fire-1.0/fire.c:34:16: style: Variable 'lastmright' is assigned a value that is never used. [unreadVariable] fenix-plugins/fire-1.0/fire.c:35:16: style: Variable 'lastmcenter' is assigned a value that is never used. [unreadVariable] fenix-plugins/fire-1.0/fire.c:36:16: style: Variable 'lastmwup' is assigned a value that is never used. [unreadVariable] fenix-plugins/fire-1.0/fire.c:37:16: style: Variable 'lastmwdown' is assigned a value that is never used. [unreadVariable] fenix-plugins/fire-1.0/fire.c:38:16: style: Variable 'lastkey' is assigned a value that is never used. [unreadVariable] fenix-plugins/image-1.0/image.c:151:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] fenix-plugins/image-1.0/image.c:416:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpalette [valueFlowBailoutIncompleteVar] fenix-plugins/image-1.0/image.c:623:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _fnc_export [valueFlowBailoutIncompleteVar] fenix-plugins/mixer-1.0/mixer.c:102:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_MIX_MAXVOLUME [valueFlowBailoutIncompleteVar] fenix-plugins/mixer-1.0/mixer.c:212:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUND_FREQ [valueFlowBailoutIncompleteVar] fenix-plugins/fgfx-1.0/fgfx.c:46:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_16bits [valueFlowBailoutIncompleteVar] fenix-plugins/fgfx-1.0/fgfx.c:507:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _palette [valueFlowBailoutIncompleteVar] fenix-plugins/mixer-1.0/wav.c:159:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] fenix-plugins/mixer-1.0/wav.c:134:7: error: Memory leak: signal [memleak] fenix-plugins/mixer-1.0/wav.c:150:5: error: Memory leak: signal [memleak] fenix-plugins/mixer-1.0/wav.c:156:4: error: Memory leak: signal [memleak] fenix-plugins/mixer-1.0/wav.c:161:1: error: Memory leak: signal [memleak] fenix-plugins/mixer-1.0/wav.c:134:7: error: Memory leak: signal.filename [memleak] fenix-plugins/mixer-1.0/wav.c:75:2: warning: If memory allocation fails, then there is a possible null pointer dereference: signal [nullPointerOutOfMemory] fenix-plugins/mixer-1.0/wav.c:74:17: note: Assuming allocation function fails fenix-plugins/mixer-1.0/wav.c:74:17: note: Assignment 'signal=malloc(sizeof(struct WAV_SIGNAL))', assigned value is 0 fenix-plugins/mixer-1.0/wav.c:75:2: note: Null pointer dereference fenix-plugins/mixer-1.0/wav.c:76:9: warning: If memory allocation fails, then there is a possible null pointer dereference: signal [nullPointerOutOfMemory] fenix-plugins/mixer-1.0/wav.c:74:17: note: Assuming allocation function fails fenix-plugins/mixer-1.0/wav.c:74:17: note: Assignment 'signal=malloc(sizeof(struct WAV_SIGNAL))', assigned value is 0 fenix-plugins/mixer-1.0/wav.c:76:9: note: Null pointer dereference fenix-plugins/mixer-1.0/mixer.c:196:2: warning: If memory allocation fails, then there is a possible null pointer dereference: music [nullPointerOutOfMemory] fenix-plugins/mixer-1.0/mixer.c:195:14: note: Assuming allocation function fails fenix-plugins/mixer-1.0/mixer.c:195:14: note: Assignment 'music=malloc(sizeof(struct MMusic))', assigned value is 0 fenix-plugins/mixer-1.0/mixer.c:196:2: note: Null pointer dereference fenix-plugins/mixer-1.0/mixer.c:197:2: warning: If memory allocation fails, then there is a possible null pointer dereference: music [nullPointerOutOfMemory] fenix-plugins/mixer-1.0/mixer.c:195:14: note: Assuming allocation function fails fenix-plugins/mixer-1.0/mixer.c:195:14: note: Assignment 'music=malloc(sizeof(struct MMusic))', assigned value is 0 fenix-plugins/mixer-1.0/mixer.c:197:2: note: Null pointer dereference fenix-plugins/mixer-1.0/mixer.c:200:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] fenix-plugins/mixer-1.0/mixer.c:199:15: note: Assuming allocation function fails fenix-plugins/mixer-1.0/mixer.c:199:15: note: Assignment 'player=malloc(sizeof(struct MPlayer))', assigned value is 0 fenix-plugins/mixer-1.0/mixer.c:200:2: note: Null pointer dereference fenix-plugins/mixer-1.0/mixer.c:201:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] fenix-plugins/mixer-1.0/mixer.c:199:15: note: Assuming allocation function fails fenix-plugins/mixer-1.0/mixer.c:199:15: note: Assignment 'player=malloc(sizeof(struct MPlayer))', assigned value is 0 fenix-plugins/mixer-1.0/mixer.c:201:2: note: Null pointer dereference fenix-plugins/mixer-1.0/mixer.c:202:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player [nullPointerOutOfMemory] fenix-plugins/mixer-1.0/mixer.c:199:15: note: Assuming allocation function fails fenix-plugins/mixer-1.0/mixer.c:199:15: note: Assignment 'player=malloc(sizeof(struct MPlayer))', assigned value is 0 fenix-plugins/mixer-1.0/mixer.c:202:2: note: Null pointer dereference fenix-plugins/mixer-1.0/mixer.c:205:2: warning: If memory allocation fails, then there is a possible null pointer dereference: player_song [nullPointerOutOfMemory] fenix-plugins/mixer-1.0/mixer.c:204:20: note: Assuming allocation function fails fenix-plugins/mixer-1.0/mixer.c:204:20: note: Assignment 'player_song=malloc(sizeof(struct MPlayer))', assigned value is 0 fenix-plugins/mixer-1.0/mixer.c:205:2: note: Null pointer dereference fenix-plugins/mixer-1.0/mixer.c:292:13: warning: If memory allocation fails, then there is a possible null pointer dereference: music_load->next [nullPointerOutOfMemory] fenix-plugins/mixer-1.0/mixer.c:291:26: note: Assuming allocation function fails fenix-plugins/mixer-1.0/mixer.c:291:26: note: Assignment 'music_load->next=malloc(sizeof(struct MMusic))', assigned value is 0 fenix-plugins/mixer-1.0/mixer.c:292:13: note: Null pointer dereference fenix-plugins/mixer-1.0/mixer.c:344:15: warning: If memory allocation fails, then there is a possible null pointer dereference: music_player->next [nullPointerOutOfMemory] fenix-plugins/mixer-1.0/mixer.c:343:28: note: Assuming allocation function fails fenix-plugins/mixer-1.0/mixer.c:343:28: note: Assignment 'music_player->next=malloc(sizeof(struct MPlayer))', assigned value is 0 fenix-plugins/mixer-1.0/mixer.c:344:15: note: Null pointer dereference fenix-plugins/mixer-1.0/mixer.c:371:12: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] fenix-plugins/mixer-1.0/mixer.c:395:11: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] fenix-plugins/mixer-1.0/mixer.c:727:12: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] fenix-plugins/mixer-1.0/mixer.c:747:11: portability: Casting between signed int * and float * which have an incompatible binary data representation. [invalidPointerCast] fenix-plugins/mixer-1.0/wav.c:237:14: style: Variable 'signalx' can be declared as pointer to const [constVariablePointer] fenix-plugins/mixer-1.0/wav.c:84:22: style: Unused variable: sound_buffer [unusedVariable] fenix-plugins/mixer-1.0/wav.c:176:8: style: Unused variable: i [unusedVariable] fenix-plugins/mixer-1.0/mixer.c:302:49: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fxi_mixer_play' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:817:55: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:302:49: note: Parameter 'params' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:404:50: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fxi_mixer_pause' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:820:55: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:404:50: note: Parameter 'params' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:428:51: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fxi_mixer_resume' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:821:56: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:428:51: note: Parameter 'params' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:452:49: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fxi_mixer_stop' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:822:55: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:452:49: note: Parameter 'params' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:489:51: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fxi_mixer_rewind' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:823:56: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:489:51: note: Parameter 'params' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:535:45: style: Parameter 'my' can be declared as pointer to const. However it seems that 'fxi_mixer_is_playing' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:824:59: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:535:45: note: Parameter 'my' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:535:55: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fxi_mixer_is_playing' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:824:59: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:535:55: note: Parameter 'params' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:536:11: style: Variable 'music_player' can be declared as pointer to const [constVariablePointer] fenix-plugins/mixer-1.0/mixer.c:555:51: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fxi_mixer_unload' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:827:57: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:555:51: note: Parameter 'params' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:627:54: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fxi_mixer_play_song' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:835:55: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:627:54: note: Parameter 'params' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:673:50: style: Parameter 'my' can be declared as pointer to const. However it seems that 'fxi_mixer_is_playing_song' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:828:60: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:673:50: note: Parameter 'my' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:673:60: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fxi_mixer_is_playing_song' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:828:60: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:673:60: note: Parameter 'params' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:758:56: style: Parameter 'params' can be declared as pointer to const. However it seems that 'fxi_mixer_rewind_song' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mixer-1.0/mixer.c:834:57: note: You might need to cast the function pointer here fenix-plugins/mixer-1.0/mixer.c:758:56: note: Parameter 'params' can be declared as pointer to const fenix-plugins/mixer-1.0/mixer.c:94:7: style: Variable 'l' is assigned a value that is never used. [unreadVariable] fenix-plugins/mixer-1.0/mixer.c:722:3: style: Variable 'i' is assigned a value that is never used. [unreadVariable] fenix-plugins/mixer-1.0/mixer.c:741:3: style: Variable 'i' is assigned a value that is never used. [unreadVariable] fenix-plugins/mixer-1.0/mixer.c:766:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] fenix-plugins/mpeg-1.0/mpeg.c:207:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMPEG_PLAYING [valueFlowBailoutIncompleteVar] fenix-plugins/mpeg-1.0/mpeg.c:346:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scr_initialized [valueFlowBailoutIncompleteVar] fenix-plugins/mpeg-1.0/mpeg.c:439:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable syslib [valueFlowBailoutIncompleteVar] fenix-plugins/mpeg-1.0/mpeg.c:407:5: error: Memory leak: mpeg [memleak] fenix-plugins/mpeg-1.0/mpeg.c:315:6: warning: Either the condition 'mpeg->graph_mpeg' is redundant or there is possible null pointer dereference: mpeg->graph_mpeg. [nullPointerRedundantCheck] fenix-plugins/mpeg-1.0/mpeg.c:316:13: note: Assuming that condition 'mpeg->graph_mpeg' is not redundant fenix-plugins/mpeg-1.0/mpeg.c:315:6: note: Null pointer dereference fenix-plugins/mpeg-1.0/mpeg.c:350:2: warning: If memory allocation fails, then there is a possible null pointer dereference: mpeg [nullPointerOutOfMemory] fenix-plugins/mpeg-1.0/mpeg.c:348:15: note: Assuming allocation function fails fenix-plugins/mpeg-1.0/mpeg.c:348:15: note: Assignment 'mpeg=malloc(sizeof(struct mpeg_video))', assigned value is 0 fenix-plugins/mpeg-1.0/mpeg.c:350:2: note: Null pointer dereference fenix-plugins/mpeg-1.0/mpeg.c:354:19: warning: If memory allocation fails, then there is a possible null pointer dereference: mpeg [nullPointerOutOfMemory] fenix-plugins/mpeg-1.0/mpeg.c:348:15: note: Assuming allocation function fails fenix-plugins/mpeg-1.0/mpeg.c:348:15: note: Assignment 'mpeg=malloc(sizeof(struct mpeg_video))', assigned value is 0 fenix-plugins/mpeg-1.0/mpeg.c:354:19: note: Null pointer dereference fenix-plugins/mpeg-1.0/mpeg.c:361:20: warning: If memory allocation fails, then there is a possible null pointer dereference: mpeg [nullPointerOutOfMemory] fenix-plugins/mpeg-1.0/mpeg.c:348:15: note: Assuming allocation function fails fenix-plugins/mpeg-1.0/mpeg.c:348:15: note: Assignment 'mpeg=malloc(sizeof(struct mpeg_video))', assigned value is 0 fenix-plugins/mpeg-1.0/mpeg.c:354:18: note: Assuming condition is false fenix-plugins/mpeg-1.0/mpeg.c:361:20: note: Null pointer dereference fenix-plugins/mpeg-1.0/mpeg.c:363:7: warning: If memory allocation fails, then there is a possible null pointer dereference: mpeg [nullPointerOutOfMemory] fenix-plugins/mpeg-1.0/mpeg.c:348:15: note: Assuming allocation function fails fenix-plugins/mpeg-1.0/mpeg.c:348:15: note: Assignment 'mpeg=malloc(sizeof(struct mpeg_video))', assigned value is 0 fenix-plugins/mpeg-1.0/mpeg.c:354:18: note: Assuming condition is false fenix-plugins/mpeg-1.0/mpeg.c:363:7: note: Null pointer dereference fenix-plugins/mpeg-1.0/mpeg.c:79:40: style: Parameter 'my' can be declared as pointer to const. However it seems that 'mpeg_total_time' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/mpeg-1.0/mpeg.c:470:53: note: You might need to cast the function pointer here fenix-plugins/mpeg-1.0/mpeg.c:79:40: note: Parameter 'my' can be declared as pointer to const fenix-plugins/net-1.0/net.c:110:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable host [valueFlowBailoutIncompleteVar] fenix-plugins/net-1.0/net.c:115:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable port [valueFlowBailoutIncompleteVar] fenix-plugins/net-1.0/net.c:28:32: style: Parameter 'my' can be declared as pointer to const. However it seems that 'net_init' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:275:44: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:28:32: note: Parameter 'my' can be declared as pointer to const fenix-plugins/net-1.0/net.c:28:42: style: Parameter 'params' can be declared as pointer to const. However it seems that 'net_init' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:275:44: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:28:42: note: Parameter 'params' can be declared as pointer to const fenix-plugins/net-1.0/net.c:33:32: style: Parameter 'my' can be declared as pointer to const. However it seems that 'net_quit' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:276:44: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:33:32: note: Parameter 'my' can be declared as pointer to const fenix-plugins/net-1.0/net.c:33:42: style: Parameter 'params' can be declared as pointer to const. However it seems that 'net_quit' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:276:44: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:33:42: note: Parameter 'params' can be declared as pointer to const fenix-plugins/net-1.0/net.c:58:46: style: Parameter 'params' can be declared as pointer to const. However it seems that 'net_tcp_open' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:281:49: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:58:46: note: Parameter 'params' can be declared as pointer to const fenix-plugins/net-1.0/net.c:71:48: style: Parameter 'params' can be declared as pointer to const. However it seems that 'net_tcp_accept' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:283:51: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:71:48: note: Parameter 'params' can be declared as pointer to const fenix-plugins/net-1.0/net.c:83:56: style: Parameter 'params' can be declared as pointer to const. However it seems that 'net_tcp_getpeeraddress' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:284:59: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:83:56: note: Parameter 'params' can be declared as pointer to const fenix-plugins/net-1.0/net.c:86:13: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] fenix-plugins/net-1.0/net.c:108:36: style: Parameter 'my' can be declared as pointer to const. However it seems that 'net_get_host' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:287:49: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:108:36: note: Parameter 'my' can be declared as pointer to const fenix-plugins/net-1.0/net.c:108:46: style: Parameter 'params' can be declared as pointer to const. However it seems that 'net_get_host' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:287:49: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:108:46: note: Parameter 'params' can be declared as pointer to const fenix-plugins/net-1.0/net.c:113:36: style: Parameter 'my' can be declared as pointer to const. However it seems that 'net_get_port' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:288:49: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:113:36: note: Parameter 'my' can be declared as pointer to const fenix-plugins/net-1.0/net.c:113:46: style: Parameter 'params' can be declared as pointer to const. However it seems that 'net_get_port' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:288:49: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:113:46: note: Parameter 'params' can be declared as pointer to const fenix-plugins/net-1.0/net.c:137:40: style: Parameter 'my' can be declared as pointer to const. However it seems that 'net_udp_getpacket' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:296:58: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:137:40: note: Parameter 'my' can be declared as pointer to const fenix-plugins/net-1.0/net.c:137:49: style: Parameter 'params' can be declared as pointer to const. However it seems that 'net_udp_getpacket' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:296:58: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:137:49: note: Parameter 'params' can be declared as pointer to const fenix-plugins/net-1.0/net.c:153:41: style: Parameter 'my' can be declared as pointer to const. However it seems that 'net_udp_getpacketv' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:297:59: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:153:41: note: Parameter 'my' can be declared as pointer to const fenix-plugins/net-1.0/net.c:153:50: style: Parameter 'params' can be declared as pointer to const. However it seems that 'net_udp_getpacketv' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/net-1.0/net.c:297:59: note: You might need to cast the function pointer here fenix-plugins/net-1.0/net.c:153:50: note: Parameter 'params' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:53:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] fenix-plugins/tcpsock-2.0/tcpsock.c:77:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] fenix-plugins/tcpsock-2.0/tcpsock.c:104:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] fenix-plugins/tcpsock-2.0/tcpsock.c:123:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] fenix-plugins/tcpsock-2.0/tcpsock.c:139:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] fenix-plugins/tcpsock-2.0/tcpsock.c:200:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] fenix-plugins/tcpsock-2.0/tcpsock.c:216:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] fenix-plugins/image-1.0/image.c:288:48: style: Expression is always false because 'else if' condition matches previous condition at line 269. [multiCondition] fenix-plugins/image-1.0/image.c:121:36: style: Parameter 'context' can be declared as pointer to const. However it seems that 'sdlf_close' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/image-1.0/image.c:92:16: note: You might need to cast the function pointer here fenix-plugins/image-1.0/image.c:121:36: note: Parameter 'context' can be declared as pointer to const fenix-plugins/image-1.0/image.c:445:16: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] fenix-plugins/tcpsock-2.0/tcpsock.c:215:6: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] fenix-plugins/image-1.0/image.c:445:16: style: Variable 'gr' is assigned a value that is never used. [unreadVariable] fenix-plugins/tcpsock-2.0/tcpsock.c:30:37: style: Parameter 'my' can be declared as pointer to const. However it seems that 'tcpsock_init' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:232:48: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:30:37: note: Parameter 'my' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:30:47: style: Parameter 'params' can be declared as pointer to const. However it seems that 'tcpsock_init' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:232:48: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:30:47: note: Parameter 'params' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:41:37: style: Parameter 'my' can be declared as pointer to const. However it seems that 'tcpsock_quit' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:248:48: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:41:37: note: Parameter 'my' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:41:47: style: Parameter 'params' can be declared as pointer to const. However it seems that 'tcpsock_quit' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:248:48: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:41:47: note: Parameter 'params' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:51:45: style: Parameter 'my' can be declared as pointer to const. However it seems that 'tcpsock_getfdsetsize' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:233:56: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:51:45: note: Parameter 'my' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:51:55: style: Parameter 'params' can be declared as pointer to const. However it seems that 'tcpsock_getfdsetsize' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:233:56: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:51:55: note: Parameter 'params' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:74:47: style: Parameter 'params' can be declared as pointer to const. However it seems that 'tcpsock_bind' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:236:50: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:74:47: note: Parameter 'params' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:85:39: style: Parameter 'my' can be declared as pointer to const. However it seems that 'tcpsock_listen' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:237:52: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:85:39: note: Parameter 'my' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:85:49: style: Parameter 'params' can be declared as pointer to const. However it seems that 'tcpsock_listen' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:237:52: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:85:49: note: Parameter 'params' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:121:8: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] fenix-plugins/tcpsock-2.0/tcpsock.c:143:37: style: Parameter 'my' can be declared as pointer to const. However it seems that 'tcpsock_send' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:241:51: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:143:37: note: Parameter 'my' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:145:8: style: Variable 'envio' can be declared as pointer to const [constVariablePointer] fenix-plugins/tcpsock-2.0/tcpsock.c:184:40: style: Parameter 'my' can be declared as pointer to const. However it seems that 'tcpsock_fdisset' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:252:53: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:184:40: note: Parameter 'my' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:184:50: style: Parameter 'params' can be declared as pointer to const. However it seems that 'tcpsock_fdisset' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:252:53: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:184:50: note: Parameter 'params' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:207:53: style: Parameter 'params' can be declared as pointer to const. However it seems that 'tcpsock_get_iphost' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:247:56: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:207:53: note: Parameter 'params' can be declared as pointer to const fenix-plugins/tcpsock-2.0/tcpsock.c:211:18: style: Variable 'phe' can be declared as pointer to const [constVariablePointer] fenix-plugins/ttf-1.0/ttf.c:177:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_Err_Unknown_File_Format [valueFlowBailoutIncompleteVar] fenix-plugins/ttf-1.0/ttf.c:330:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fnc_export [valueFlowBailoutIncompleteVar] fenix-plugins/ttf-1.0/ttf.c:330:18: style: Condition '&fnc_export!=0' is always true [knownConditionTrueFalse] fenix-plugins/ttf-1.0/ttf.c:145:3: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] fenix-plugins/ttf-1.0/ttf.c:309:9: style: Variable 'text' can be declared as pointer to const [constVariablePointer] fenix-plugins/ttf-1.0/ttf.c:317:9: style: Variable 'text' can be declared as pointer to const [constVariablePointer] fenix-plugins/fgfx-1.0/fgfx.c:315:3: warning: If memory allocation fails, then there is a possible null pointer dereference: frt [nullPointerOutOfMemory] fenix-plugins/fgfx-1.0/fgfx.c:314:16: note: Assuming allocation function fails fenix-plugins/fgfx-1.0/fgfx.c:314:16: note: Assignment 'frt=malloc(sizeof(struct fgfx_rt))', assigned value is 0 fenix-plugins/fgfx-1.0/fgfx.c:315:3: note: Null pointer dereference fenix-plugins/fgfx-1.0/fgfx.c:318:3: warning: If memory allocation fails, then there is a possible null pointer dereference: frt [nullPointerOutOfMemory] fenix-plugins/fgfx-1.0/fgfx.c:314:16: note: Assuming allocation function fails fenix-plugins/fgfx-1.0/fgfx.c:314:16: note: Assignment 'frt=malloc(sizeof(struct fgfx_rt))', assigned value is 0 fenix-plugins/fgfx-1.0/fgfx.c:318:3: note: Null pointer dereference fenix-plugins/fgfx-1.0/fgfx.c:319:11: warning: If memory allocation fails, then there is a possible null pointer dereference: frt [nullPointerOutOfMemory] fenix-plugins/fgfx-1.0/fgfx.c:314:16: note: Assuming allocation function fails fenix-plugins/fgfx-1.0/fgfx.c:314:16: note: Assignment 'frt=malloc(sizeof(struct fgfx_rt))', assigned value is 0 fenix-plugins/fgfx-1.0/fgfx.c:319:11: note: Null pointer dereference fenix-plugins/fgfx-1.0/fgfx.c:325:5: warning: If memory allocation fails, then there is a possible null pointer dereference: destp [nullPointerOutOfMemory] fenix-plugins/fgfx-1.0/fgfx.c:318:23: note: Assuming allocation function fails fenix-plugins/fgfx-1.0/fgfx.c:318:23: note: Assignment 'frt->cdata=malloc(sizeof(Uint8)*3*(w*h))', assigned value is 0 fenix-plugins/fgfx-1.0/fgfx.c:319:9: note: destp is assigned 'frt->cdata' here. fenix-plugins/fgfx-1.0/fgfx.c:325:5: note: Null pointer dereference fenix-plugins/fgfx-1.0/fgfx.c:326:5: warning: If memory allocation fails, then there is a possible null pointer dereference: destp [nullPointerOutOfMemory] fenix-plugins/fgfx-1.0/fgfx.c:318:23: note: Assuming allocation function fails fenix-plugins/fgfx-1.0/fgfx.c:318:23: note: Assignment 'frt->cdata=malloc(sizeof(Uint8)*3*(w*h))', assigned value is 0 fenix-plugins/fgfx-1.0/fgfx.c:319:9: note: destp is assigned 'frt->cdata' here. fenix-plugins/fgfx-1.0/fgfx.c:326:5: note: Null pointer dereference fenix-plugins/fgfx-1.0/fgfx.c:327:5: warning: If memory allocation fails, then there is a possible null pointer dereference: destp [nullPointerOutOfMemory] fenix-plugins/fgfx-1.0/fgfx.c:318:23: note: Assuming allocation function fails fenix-plugins/fgfx-1.0/fgfx.c:318:23: note: Assignment 'frt->cdata=malloc(sizeof(Uint8)*3*(w*h))', assigned value is 0 fenix-plugins/fgfx-1.0/fgfx.c:319:9: note: destp is assigned 'frt->cdata' here. fenix-plugins/fgfx-1.0/fgfx.c:327:5: note: Null pointer dereference fenix-plugins/fgfx-1.0/fgfx.c:508:4: warning: If memory allocation fails, then there is a possible null pointer dereference: destp [nullPointerOutOfMemory] fenix-plugins/fgfx-1.0/fgfx.c:502:17: note: Assuming allocation function fails fenix-plugins/fgfx-1.0/fgfx.c:502:17: note: Assignment 'destp=malloc(sizeof(Uint16)*w*h)', assigned value is 0 fenix-plugins/fgfx-1.0/fgfx.c:508:4: note: Null pointer dereference fenix-plugins/fgfx-1.0/fgfx.c:513:12: style: Variable 'gra->data' is reassigned a value before the old one has been used. [redundantAssignment] fenix-plugins/fgfx-1.0/fgfx.c:512:12: note: gra->data is assigned fenix-plugins/fgfx-1.0/fgfx.c:513:12: note: gra->data is overwritten fenix-plugins/fgfx-1.0/fgfx.c:490:14: style: Variable 'c' can be declared as pointer to const [constVariablePointer] fenix-plugins/fgfx-1.0/fgfx.c:491:10: style: Variable 'datap' can be declared as pointer to const [constVariablePointer] fenix-plugins/fgfx-1.0/fgfx.c:69:11: style: Variable 'j' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:72:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:105:11: style: Variable 'j' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:138:11: style: Variable 'j' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:173:11: style: Variable 'j' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:176:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:179:20: style: Variable 'b2' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:218:11: style: Variable 'j' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:221:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:304:11: style: Variable 'j' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:350:14: style: Variable 'k' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:353:16: style: Variable 'b' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:405:14: style: Variable 'k' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:408:16: style: Variable 'b' is assigned a value that is never used. [unreadVariable] fenix-plugins/fgfx-1.0/fgfx.c:487:11: style: Variable 'j' is assigned a value that is never used. [unreadVariable] diff: head fenix-plugins/fsock-1.0/fsock.c:222:38: style: Parameter 'my' can be declared as pointer to const. However it seems that 'fsock_fdisset' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/fsock-1.0/fsock.c:311:51: note: You might need to cast the function pointer here fenix-plugins/fsock-1.0/fsock.c:222:38: note: Parameter 'my' can be declared as pointer to const head fenix-plugins/mixer-1.0/mixer.c:536:11: style: Variable 'music_player' can be declared as pointer to const [constVariablePointer] head fenix-plugins/tcpsock-2.0/tcpsock.c:184:40: style: Parameter 'my' can be declared as pointer to const. However it seems that 'tcpsock_fdisset' is a callback function, if 'my' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fenix-plugins/tcpsock-2.0/tcpsock.c:252:53: note: You might need to cast the function pointer here fenix-plugins/tcpsock-2.0/tcpsock.c:184:40: note: Parameter 'my' can be declared as pointer to const DONE