2025-07-26 07:30 ftp://ftp.de.debian.org/debian/pool/main/f/forked-daapd/forked-daapd_26.4+dfsg1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=libcurl --library=bsd --library=zlib --library=sqlite3 --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-64-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 55e2dc6 (2025-07-24 17:37:42 +0200) count: 889 889 elapsed-time: 15.4 14.9 head-timing-info: old-timing-info: head results: forked-daapd-26.4/sqlext/sqlext.c:169:0: error: #error Platform not supported [preprocessorErrorDirective] forked-daapd-26.4/sqlext/sqlext.c:169:3: error: #error Platform not supported [preprocessorErrorDirective] forked-daapd-26.4/src/artwork.c:236:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork.c:454:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork.c:671:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork.c:754:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork.c:887:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork.c:1041:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork.c:1178:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork.c:311:37: style: Condition 'max_h>0' is always true [knownConditionTrueFalse] forked-daapd-26.4/src/artwork.c:294:30: note: Assuming that condition 'max_h<=0' is not redundant forked-daapd-26.4/src/artwork.c:297:24: note: Assuming condition is false forked-daapd-26.4/src/artwork.c:311:37: note: Condition 'max_h>0' is always true forked-daapd-26.4/src/artwork.c:317:37: style: Condition 'max_w>0' is always true [knownConditionTrueFalse] forked-daapd-26.4/src/artwork.c:294:14: note: Assuming that condition 'max_w<=0' is not redundant forked-daapd-26.4/src/artwork.c:297:24: note: Assuming condition is false forked-daapd-26.4/src/artwork.c:317:37: note: Condition 'max_w>0' is always true forked-daapd-26.4/src/artwork.c:753:16: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] forked-daapd-26.4/src/artwork.c:750:15: note: Assuming allocation function fails forked-daapd-26.4/src/artwork.c:750:15: note: Assignment 'url=strdup(queue_item->artwork_url)', assigned value is 0 forked-daapd-26.4/src/artwork.c:753:16: note: Null pointer dereference forked-daapd-26.4/src/artwork.c:735:9: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/artwork.c:872:45: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'source_item_spotify_get' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/artwork.c:199:18: note: You might need to cast the function pointer here forked-daapd-26.4/src/artwork.c:872:45: note: Parameter 'ctx' can be declared as pointer to const forked-daapd-26.4/src/ffmpeg-compat.h:37:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_NOPTS_VALUE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/ffmpeg-compat.h:65:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_LOG_ERROR [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork_legacy.c:242:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork_legacy.c:365:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable codec [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork_legacy.c:692:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable codec_id [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork_legacy.c:749:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork_legacy.c:983:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disposition [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork_legacy.c:1047:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork_legacy.c:1130:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork_legacy.c:1314:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork_legacy.c:1468:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork_legacy.c:1605:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/artwork_legacy.c:318:37: style: Condition 'max_h>0' is always true [knownConditionTrueFalse] forked-daapd-26.4/src/artwork_legacy.c:299:30: note: Assuming that condition 'max_h<=0' is not redundant forked-daapd-26.4/src/artwork_legacy.c:302:29: note: Assuming condition is false forked-daapd-26.4/src/artwork_legacy.c:318:37: note: Condition 'max_h>0' is always true forked-daapd-26.4/src/artwork_legacy.c:324:37: style: Condition 'max_w>0' is always true [knownConditionTrueFalse] forked-daapd-26.4/src/artwork_legacy.c:299:14: note: Assuming that condition 'max_w<=0' is not redundant forked-daapd-26.4/src/artwork_legacy.c:302:29: note: Assuming condition is false forked-daapd-26.4/src/artwork_legacy.c:324:37: note: Condition 'max_w>0' is always true forked-daapd-26.4/src/artwork_legacy.c:1129:16: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] forked-daapd-26.4/src/artwork_legacy.c:1126:15: note: Assuming allocation function fails forked-daapd-26.4/src/artwork_legacy.c:1126:15: note: Assignment 'url=strdup(queue_item->artwork_url)', assigned value is 0 forked-daapd-26.4/src/artwork_legacy.c:1129:16: note: Null pointer dereference forked-daapd-26.4/src/artwork_legacy.c:1111:9: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/artwork_legacy.c:1299:45: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'source_item_spotify_get' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/artwork_legacy.c:205:18: note: You might need to cast the function pointer here forked-daapd-26.4/src/artwork_legacy.c:1299:45: note: Parameter 'ctx' can be declared as pointer to const forked-daapd-26.4/src/cache.c:601:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/cache.c:655:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/cache.c:735:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/cache.c:922:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/cache.c:1024:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/cache.c:1086:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/cache.c:1138:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/cache.c:1630:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/cache.c:1672:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/cache.c:452:9: style: Variable 'journal_mode' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/cache.c:587:18: style: Variable 'data' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/cache.c:978:21: style: Variable 'cmdarg' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/cache.c:1018:21: style: Variable 'cmdarg' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/cache.c:1063:9: style: Variable 'query' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/cache.c:1064:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/commands.c:195:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/commands.c:153:8: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] forked-daapd-26.4/src/commands.c:365:15: note: Assuming allocation function fails forked-daapd-26.4/src/commands.c:365:15: note: Assignment 'cmd=calloc(1,sizeof(struct command))', assigned value is 0 forked-daapd-26.4/src/commands.c:371:31: note: Calling function 'send_command', 2nd argument 'cmd' value is 0 forked-daapd-26.4/src/commands.c:153:8: note: Null pointer dereference forked-daapd-26.4/src/commands.c:366:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] forked-daapd-26.4/src/commands.c:365:15: note: Assuming allocation function fails forked-daapd-26.4/src/commands.c:365:15: note: Assignment 'cmd=calloc(1,sizeof(struct command))', assigned value is 0 forked-daapd-26.4/src/commands.c:366:3: note: Null pointer dereference forked-daapd-26.4/src/commands.c:367:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] forked-daapd-26.4/src/commands.c:365:15: note: Assuming allocation function fails forked-daapd-26.4/src/commands.c:365:15: note: Assignment 'cmd=calloc(1,sizeof(struct command))', assigned value is 0 forked-daapd-26.4/src/commands.c:367:3: note: Null pointer dereference forked-daapd-26.4/src/commands.c:368:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] forked-daapd-26.4/src/commands.c:365:15: note: Assuming allocation function fails forked-daapd-26.4/src/commands.c:365:15: note: Assignment 'cmd=calloc(1,sizeof(struct command))', assigned value is 0 forked-daapd-26.4/src/commands.c:368:3: note: Null pointer dereference forked-daapd-26.4/src/commands.c:369:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] forked-daapd-26.4/src/commands.c:365:15: note: Assuming allocation function fails forked-daapd-26.4/src/commands.c:365:15: note: Assignment 'cmd=calloc(1,sizeof(struct command))', assigned value is 0 forked-daapd-26.4/src/commands.c:369:3: note: Null pointer dereference forked-daapd-26.4/src/commands.c:149:36: style: Parameter 'cmdbase' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/conffile.c:48:43: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] forked-daapd-26.4/src/daap_query.c:109:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANTLR3_SIZE_HINT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:679:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNINORM_NFD [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:1193:127: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:1745:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:1783:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:2359:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:2387:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:2408:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:2421:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:2437:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:2859:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:2935:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3063:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3083:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3102:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3197:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3211:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3226:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3507:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3581:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3659:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3679:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3692:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:3747:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:4089:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:4107:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:4120:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:4340:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:4503:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:4517:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:4679:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:4711:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:4957:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:6010:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:6147:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:6165:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:6180:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:6196:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:6227:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:6649:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGLIBDIR [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db.c:6398:20: error: Deallocation of a pointer pointing to a string literal ("PRAGMA cache_size;") results in undefined behaviour. [autovarInvalidDeallocation] forked-daapd-26.4/src/db.c:6388:17: note: Assignment 'query="PRAGMA cache_size;"', assigned value is "PRAGMA cache_size;" forked-daapd-26.4/src/db.c:6398:20: note: Deallocating memory that was not dynamically allocated forked-daapd-26.4/src/db.c:6406:20: error: Deallocation of a pointer pointing to a string literal ("PRAGMA cache_size;") results in undefined behaviour. [autovarInvalidDeallocation] forked-daapd-26.4/src/db.c:6388:17: note: Assignment 'query="PRAGMA cache_size;"', assigned value is "PRAGMA cache_size;" forked-daapd-26.4/src/db.c:6394:11: note: Assuming condition is false forked-daapd-26.4/src/db.c:6406:20: note: Deallocating memory that was not dynamically allocated forked-daapd-26.4/src/db.c:6412:20: error: Deallocation of a pointer pointing to a string literal ("PRAGMA cache_size;") results in undefined behaviour. [autovarInvalidDeallocation] forked-daapd-26.4/src/db.c:6388:17: note: Assignment 'query="PRAGMA cache_size;"', assigned value is "PRAGMA cache_size;" forked-daapd-26.4/src/db.c:6394:11: note: Assuming condition is false forked-daapd-26.4/src/db.c:6412:20: note: Deallocating memory that was not dynamically allocated forked-daapd-26.4/src/db.c:6504:20: error: Deallocation of a pointer pointing to a string literal ("PRAGMA synchronous;") results in undefined behaviour. [autovarInvalidDeallocation] forked-daapd-26.4/src/db.c:6494:17: note: Assignment 'query="PRAGMA synchronous;"', assigned value is "PRAGMA synchronous;" forked-daapd-26.4/src/db.c:6504:20: note: Deallocating memory that was not dynamically allocated forked-daapd-26.4/src/db.c:6512:20: error: Deallocation of a pointer pointing to a string literal ("PRAGMA synchronous;") results in undefined behaviour. [autovarInvalidDeallocation] forked-daapd-26.4/src/db.c:6494:17: note: Assignment 'query="PRAGMA synchronous;"', assigned value is "PRAGMA synchronous;" forked-daapd-26.4/src/db.c:6500:11: note: Assuming condition is false forked-daapd-26.4/src/db.c:6512:20: note: Deallocating memory that was not dynamically allocated forked-daapd-26.4/src/db.c:6518:20: error: Deallocation of a pointer pointing to a string literal ("PRAGMA synchronous;") results in undefined behaviour. [autovarInvalidDeallocation] forked-daapd-26.4/src/db.c:6494:17: note: Assignment 'query="PRAGMA synchronous;"', assigned value is "PRAGMA synchronous;" forked-daapd-26.4/src/db.c:6500:11: note: Assuming condition is false forked-daapd-26.4/src/db.c:6518:20: note: Deallocating memory that was not dynamically allocated forked-daapd-26.4/src/db.c:6568:20: error: Deallocation of a pointer pointing to a string literal ("PRAGMA mmap_size;") results in undefined behaviour. [autovarInvalidDeallocation] forked-daapd-26.4/src/db.c:6558:17: note: Assignment 'query="PRAGMA mmap_size;"', assigned value is "PRAGMA mmap_size;" forked-daapd-26.4/src/db.c:6568:20: note: Deallocating memory that was not dynamically allocated forked-daapd-26.4/src/db.c:6576:20: error: Deallocation of a pointer pointing to a string literal ("PRAGMA mmap_size;") results in undefined behaviour. [autovarInvalidDeallocation] forked-daapd-26.4/src/db.c:6558:17: note: Assignment 'query="PRAGMA mmap_size;"', assigned value is "PRAGMA mmap_size;" forked-daapd-26.4/src/db.c:6564:11: note: Assuming condition is false forked-daapd-26.4/src/db.c:6576:20: note: Deallocating memory that was not dynamically allocated forked-daapd-26.4/src/db.c:6582:20: error: Deallocation of a pointer pointing to a string literal ("PRAGMA mmap_size;") results in undefined behaviour. [autovarInvalidDeallocation] forked-daapd-26.4/src/db.c:6558:17: note: Assignment 'query="PRAGMA mmap_size;"', assigned value is "PRAGMA mmap_size;" forked-daapd-26.4/src/db.c:6564:11: note: Assuming condition is false forked-daapd-26.4/src/db.c:6582:20: note: Deallocating memory that was not dynamically allocated forked-daapd-26.4/src/db.c:1054:41: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: query [nullPointerOutOfMemory] forked-daapd-26.4/src/db.c:6600:26: note: Assuming allocation function fails forked-daapd-26.4/src/db.c:6600:26: note: Assignment 'query=sqlite3_mprintf("PRAGMA mmap_size=%d;",mmap_size)', assigned value is 0 forked-daapd-26.4/src/db.c:6603:32: note: Calling function 'db_blocking_prepare_v2', 1st argument 'query' value is 0 forked-daapd-26.4/src/db.c:1054:41: note: Null pointer dereference forked-daapd-26.4/src/db.c:5875:7: warning: If memory allocation fails, then there is a possible null pointer dereference: shuffle_pos [nullPointerOutOfMemory] forked-daapd-26.4/src/db.c:5872:23: note: Assuming allocation function fails forked-daapd-26.4/src/db.c:5872:23: note: Assignment 'shuffle_pos=malloc(len*sizeof(int))', assigned value is 0 forked-daapd-26.4/src/db.c:5875:7: note: Null pointer dereference forked-daapd-26.4/src/db.c:2784:41: style:inconclusive: Function 'db_file_fetch_byvirtualpath' argument 1 names different: declaration 'path' definition 'virtual_path'. [funcArgNamesDifferent] forked-daapd-26.4/src/db.h:596:41: note: Function 'db_file_fetch_byvirtualpath' argument 1 names different: declaration 'path' definition 'virtual_path'. forked-daapd-26.4/src/db.c:2784:41: note: Function 'db_file_fetch_byvirtualpath' argument 1 names different: declaration 'path' definition 'virtual_path'. forked-daapd-26.4/src/db.c:4693:44: style:inconclusive: Function 'db_queue_update_item' argument 1 names different: declaration 'queue_item' definition 'qi'. [funcArgNamesDifferent] forked-daapd-26.4/src/db.h:775:44: note: Function 'db_queue_update_item' argument 1 names different: declaration 'queue_item' definition 'qi'. forked-daapd-26.4/src/db.c:4693:44: note: Function 'db_queue_update_item' argument 1 names different: declaration 'queue_item' definition 'qi'. forked-daapd-26.4/src/db.c:482:9: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/db.c:767:9: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/db.c:768:9: style: Variable 'ca' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/db.c:1131:8: style: Variable 'special_id' can be declared as const array [constVariable] forked-daapd-26.4/src/db.c:1134:9: style: Variable 'title' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/db.c:1427:44: style: Parameter 'qp' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:3262:9: style: Variable 'cval' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/db.c:3852:37: style: Parameter 'virtual_path' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:4084:33: style: Parameter 'virtual_path' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:4096:36: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:4114:53: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:4129:34: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:4146:34: style: Parameter 'remote_id' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:4498:39: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:4629:43: style: Parameter 'dbmfi' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:4661:38: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:4693:44: style: Parameter 'qi' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:4782:44: style: Parameter 'queue_add_info' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:5490:41: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:5954:33: style: Parameter 'wi' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:5978:30: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:5990:31: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:6021:9: style: Variable 'cval' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/db.c:6136:28: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:6154:29: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:6172:47: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:6449:34: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db.c:4765:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] forked-daapd-26.4/src/db_upgrade.c:149:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db_upgrade.c:456:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db_upgrade.c:991:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db_upgrade.c:1317:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/db_upgrade.c:139:9: style: Variable 'dump' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/db_upgrade.c:985:9: style: Variable 'artist' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/db_upgrade.c:986:9: style: Variable 'album' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/db_upgrade.c:987:9: style: Variable 'title' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/db_upgrade.c:989:9: style: Variable 'path' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/db_upgrade.c:1229:49: style: Parameter 'virtual_path' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/db_upgrade.c:1314:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/dmap_common.c:40:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dmap_fields [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/dmap_common.c:376:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_SERVUNAVAIL [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/dmap_common.c:427:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dmap_fields [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/dmap_common.c:600:7: style: Condition 'want_ased' is always true [knownConditionTrueFalse] forked-daapd-26.4/src/dmap_common.c:597:15: note: Assignment 'want_ased=1', assigned value is 1 forked-daapd-26.4/src/dmap_common.c:600:7: note: Condition 'want_ased' is always true forked-daapd-26.4/src/dmap_common.c:607:7: style: Condition 'want_mikd' is always true [knownConditionTrueFalse] forked-daapd-26.4/src/dmap_common.c:595:15: note: Assignment 'want_mikd=1', assigned value is 1 forked-daapd-26.4/src/dmap_common.c:607:7: note: Condition 'want_mikd' is always true forked-daapd-26.4/src/dmap_common.c:609:7: style: Condition 'want_asdk' is always true [knownConditionTrueFalse] forked-daapd-26.4/src/dmap_common.c:596:15: note: Assignment 'want_asdk=1', assigned value is 1 forked-daapd-26.4/src/dmap_common.c:609:7: note: Condition 'want_asdk' is always true forked-daapd-26.4/src/dmap_common.c:615:7: style: Condition 'want_mikd' is always true [knownConditionTrueFalse] forked-daapd-26.4/src/dmap_common.c:595:15: note: Assignment 'want_mikd=1', assigned value is 1 forked-daapd-26.4/src/dmap_common.c:615:7: note: Condition 'want_mikd' is always true forked-daapd-26.4/src/dmap_common.c:214:75: style: Parameter 'strval' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/dmap_common.c:566:100: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/evrtsp/rtsp.c:110:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:145:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:300:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_WRITE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:357:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:440:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:463:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_TIMEOUT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:504:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:539:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:591:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_TIMEOUT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:672:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:786:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_TIMEOUT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:869:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:891:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:907:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:924:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:964:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:980:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evkeyval [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1039:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evkeyvalq [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1120:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1138:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1156:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1179:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1224:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1326:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1379:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1416:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1465:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1509:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1579:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1659:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:1771:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/evrtsp/rtsp.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] forked-daapd-26.4/src/evrtsp/rtsp.c:109:30: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] forked-daapd-26.4/src/evrtsp/rtsp.c:141:8: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] forked-daapd-26.4/src/evrtsp/rtsp.c:88:29: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/evrtsp/rtsp.c:308:44: style: Parameter 'evcon' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/evrtsp/rtsp.c:1068:9: style: Variable 'skey' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/evrtsp/rtsp.c:1108:20: style: Variable 'headers' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/evrtsp/rtsp.c:1577:43: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/evrtsp/rtsp.c:1615:33: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/evrtsp/rtsp.c:1650:45: style: Parameter 'ai' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/http.c:88:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconveh_question_mark [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/http.c:282:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVHTTP_REQ_POST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/http.c:564:23: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] forked-daapd-26.4/src/http.c:559:16: note: Assuming allocation function fails forked-daapd-26.4/src/http.c:559:16: note: Assignment 'pos=strdup(pos)', assigned value is 0 forked-daapd-26.4/src/http.c:561:11: note: Assignment 'line=pos', assigned value is 0 forked-daapd-26.4/src/http.c:564:23: note: Null pointer dereference forked-daapd-26.4/src/httpd.c:268:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MOVETEMP [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd.c:344:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd.c:789:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVHTTP_PROXY_REQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd.c:906:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVHTTP_URI_NONCONFORMANT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd.c:1077:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd.c:1374:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd.c:1503:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd.c:1593:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_SERVUNAVAIL [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd.c:1630:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd.c:1850:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd.c:326:78: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] forked-daapd-26.4/src/httpd.c:1042:7: style: Local variable 'transcode' shadows outer function [shadowFunction] forked-daapd-26.4/src/transcode.h:87:1: note: Shadowed declaration forked-daapd-26.4/src/httpd.c:1042:7: note: Shadow variable forked-daapd-26.4/src/httpd.c:151:8: style: Variable 'id' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd.c:343:9: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:310:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_daap.c:392:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNINORM_NFD [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_daap.c:685:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_daap.c:2252:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_daap.c:2430:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_daap.c:1181:7: style: Local variable 'transcode' shadows outer function [shadowFunction] forked-daapd-26.4/src/transcode.h:87:1: note: Shadowed declaration forked-daapd-26.4/src/httpd_daap.c:1181:7: note: Shadow variable forked-daapd-26.4/src/httpd_daap.c:473:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:508:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:715:9: style: Variable 'passwd' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:776:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:777:9: style: Variable 'passwd' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:912:24: style: Variable 'adhoc' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:913:24: style: Variable 'session' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:1082:43: style: Parameter 'hreq' can be declared as pointer to const. However it seems that 'daap_reply_activity' is a callback function, if 'hreq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_daap.c:2174:18: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_daap.c:1082:43: note: Parameter 'hreq' can be declared as pointer to const forked-daapd-26.4/src/httpd_daap.c:1093:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:1094:9: style: Variable 'name_radio' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:1170:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:1627:9: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_daap.c:1837:9: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_dacp.c:327:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:727:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:763:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1137:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1281:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1301:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1350:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1482:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1503:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1520:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1553:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1586:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1619:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1636:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1653:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1670:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1822:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1860:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:1998:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:2046:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:2082:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:2205:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:2310:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:2411:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:2445:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:2490:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:2514:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:2693:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:2747:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_dacp.c:709:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/httpd_dacp.c:708:30: note: Calling function 'make_playstatusupdate' returns 0 forked-daapd-26.4/src/httpd_dacp.c:708:30: note: Assignment 'ret=make_playstatusupdate(update)', assigned value is 0 forked-daapd-26.4/src/httpd_dacp.c:709:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/httpd_dacp.c:2202:15: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/httpd_dacp.c:2201:34: note: Calling function 'make_playstatusupdate' returns 0 forked-daapd-26.4/src/httpd_dacp.c:2201:34: note: Assignment 'ret=make_playstatusupdate(hreq->reply)', assigned value is 0 forked-daapd-26.4/src/httpd_dacp.c:2202:15: note: Condition 'ret<0' is always false forked-daapd-26.4/src/httpd_dacp.c:342:8: error: Memory leak: qp.filter [memleak] forked-daapd-26.4/src/httpd_dacp.c:355:8: error: Memory leak: qp.filter [memleak] forked-daapd-26.4/src/httpd_dacp.c:368:8: error: Memory leak: qp.filter [memleak] forked-daapd-26.4/src/httpd_dacp.c:381:8: error: Memory leak: qp.filter [memleak] forked-daapd-26.4/src/httpd_dacp.c:167:63: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:167:93: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:211:64: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:211:94: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:481:83: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:515:34: style: Parameter 'spk' can be declared as pointer to const. However it seems that 'speaker_enum_cb' is a callback function, if 'spk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_dacp.c:2480:28: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_dacp.c:515:34: note: Parameter 'spk' can be declared as pointer to const forked-daapd-26.4/src/httpd_dacp.c:546:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'seek_timer_cb' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_dacp.c:2778:42: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_dacp.c:546:41: note: Parameter 'arg' can be declared as pointer to const forked-daapd-26.4/src/httpd_dacp.c:805:67: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:817:72: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:823:73: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:835:72: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:859:49: style: Parameter 'evbuf' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:859:78: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:859:108: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:865:42: style: Parameter 'evbuf' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:865:71: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:865:101: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:871:49: style: Parameter 'evbuf' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:871:78: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:871:108: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:877:42: style: Parameter 'evbuf' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:877:71: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:877:101: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:883:43: style: Parameter 'evbuf' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:883:72: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:883:102: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:889:46: style: Parameter 'evbuf' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:889:75: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:889:105: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:895:41: style: Parameter 'evbuf' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:895:70: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:895:100: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:901:49: style: Parameter 'evbuf' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:901:78: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:901:108: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_dacp.c:1152:26: style: Variable 'history' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_dacp.c:1681:26: style: Variable 'history' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_jsonapi.c:586:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:654:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:664:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:730:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:798:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:822:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:895:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:904:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:928:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:979:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:996:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1047:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1087:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1144:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1159:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1190:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1240:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1270:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1307:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_INTERNAL [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1322:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_INTERNAL [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1337:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_INTERNAL [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1352:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_INTERNAL [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1374:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_INTERNAL [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1396:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1493:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1627:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1651:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1713:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1753:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1771:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOCONTENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1796:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1870:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1896:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1912:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1930:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1973:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2035:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2073:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2129:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2191:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2229:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2283:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2333:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2371:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2431:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2500:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTMODIFIED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2788:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2937:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:2995:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_jsonapi.c:1655:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] forked-daapd-26.4/src/httpd_jsonapi.c:1689:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] forked-daapd-26.4/src/httpd_jsonapi.c:1534:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] forked-daapd-26.4/src/httpd_jsonapi.c:1201:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ids [nullPointerOutOfMemory] forked-daapd-26.4/src/httpd_jsonapi.c:1200:19: note: Assuming allocation function fails forked-daapd-26.4/src/httpd_jsonapi.c:1200:19: note: Assignment 'ids=calloc(nspk+1,sizeof(uint64_t))', assigned value is 0 forked-daapd-26.4/src/httpd_jsonapi.c:1201:7: note: Null pointer dereference forked-daapd-26.4/src/httpd_jsonapi.c:116:38: style: Parameter 'dbgri' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_jsonapi.c:139:37: style: Parameter 'dbgri' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_jsonapi.c:163:42: style: Parameter 'dbmfi' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_jsonapi.c:214:43: style: Parameter 'dbpli' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_jsonapi.c:661:44: style: Parameter 'hreq' can be declared as pointer to const. However it seems that 'jsonapi_reply_update' is a callback function, if 'hreq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_jsonapi.c:2864:74: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_jsonapi.c:661:44: note: Parameter 'hreq' can be declared as pointer to const forked-daapd-26.4/src/httpd_jsonapi.c:734:51: style: Parameter 'hreq' can be declared as pointer to const. However it seems that 'jsonapi_reply_spotify_login' is a callback function, if 'hreq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_jsonapi.c:2865:74: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_jsonapi.c:734:51: note: Parameter 'hreq' can be declared as pointer to const forked-daapd-26.4/src/httpd_jsonapi.c:829:50: style: Parameter 'hreq' can be declared as pointer to const. However it seems that 'jsonapi_reply_lastfm_login' is a callback function, if 'hreq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_jsonapi.c:2869:74: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_jsonapi.c:829:50: note: Parameter 'hreq' can be declared as pointer to const forked-daapd-26.4/src/httpd_jsonapi.c:899:51: style: Parameter 'hreq' can be declared as pointer to const. However it seems that 'jsonapi_reply_lastfm_logout' is a callback function, if 'hreq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_jsonapi.c:2870:74: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_jsonapi.c:899:51: note: Parameter 'hreq' can be declared as pointer to const forked-daapd-26.4/src/httpd_jsonapi.c:1314:50: style: Parameter 'hreq' can be declared as pointer to const. However it seems that 'jsonapi_reply_player_pause' is a callback function, if 'hreq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_jsonapi.c:2882:74: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_jsonapi.c:1314:50: note: Parameter 'hreq' can be declared as pointer to const forked-daapd-26.4/src/httpd_jsonapi.c:1329:49: style: Parameter 'hreq' can be declared as pointer to const. However it seems that 'jsonapi_reply_player_stop' is a callback function, if 'hreq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_jsonapi.c:2883:74: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_jsonapi.c:1329:49: note: Parameter 'hreq' can be declared as pointer to const forked-daapd-26.4/src/httpd_jsonapi.c:1344:49: style: Parameter 'hreq' can be declared as pointer to const. However it seems that 'jsonapi_reply_player_next' is a callback function, if 'hreq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_jsonapi.c:2884:74: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_jsonapi.c:1344:49: note: Parameter 'hreq' can be declared as pointer to const forked-daapd-26.4/src/httpd_jsonapi.c:1366:53: style: Parameter 'hreq' can be declared as pointer to const. However it seems that 'jsonapi_reply_player_previous' is a callback function, if 'hreq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_jsonapi.c:2885:74: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_jsonapi.c:1366:53: note: Parameter 'hreq' can be declared as pointer to const forked-daapd-26.4/src/httpd_jsonapi.c:1766:49: style: Parameter 'hreq' can be declared as pointer to const. However it seems that 'jsonapi_reply_queue_clear' is a callback function, if 'hreq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/httpd_jsonapi.c:2893:74: note: You might need to cast the function pointer here forked-daapd-26.4/src/httpd_jsonapi.c:1766:49: note: Parameter 'hreq' can be declared as pointer to const forked-daapd-26.4/src/httpd_jsonapi.c:2544:104: style: Parameter 'smartpl_expression' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_jsonapi.c:2601:105: style: Parameter 'smartpl_expression' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_jsonapi.c:2663:104: style: Parameter 'smartpl_expression' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_jsonapi.c:341:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] forked-daapd-26.4/src/httpd_jsonapi.c:408:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] forked-daapd-26.4/src/httpd_jsonapi.c:471:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] forked-daapd-26.4/src/httpd_jsonapi.c:1252:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] forked-daapd-26.4/src/httpd_jsonapi.c:1282:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] forked-daapd-26.4/src/httpd_oauth.c:73:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTFOUND [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_oauth.c:135:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_rsp.c:137:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_NO_CALLBACK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_rsp.c:171:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_NO_PARENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_rsp.c:276:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_rsp.c:329:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_NO_PARENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_rsp.c:397:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_NO_PARENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_rsp.c:540:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_NO_PARENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_rsp.c:724:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_NO_PARENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_rsp.c:787:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BADREQUEST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_rsp.c:876:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_rsp.c:476:7: style: Local variable 'transcode' shadows outer function [shadowFunction] forked-daapd-26.4/src/transcode.h:87:1: note: Shadowed declaration forked-daapd-26.4/src/httpd_rsp.c:476:7: note: Shadow variable forked-daapd-26.4/src/httpd_rsp.c:284:9: style: Variable 'passwd' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/httpd_streaming.c:129:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_streaming.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_streaming.c:227:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOTFOUND [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_streaming.c:312:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/httpd_streaming.c:195:26: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/httpd_streaming.c:275:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/input.c:261:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/input.c:378:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/input.c:415:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/input.c:170:44: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/inputs/file_http.c:34:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCODE_PCM16_NOHEADER [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/file_http.c:69:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable input_loop_break [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:160:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:197:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:320:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:374:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_NO_CALLBACK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:542:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMMAND_END [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:598:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMMAND_END [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:634:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:675:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:705:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_PLAYER [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:742:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_params [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:808:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_PLAYER [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:836:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable input_loop_break [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:934:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/pipe.c:133:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pipe [nullPointerOutOfMemory] forked-daapd-26.4/src/inputs/pipe.c:132:16: note: Assuming allocation function fails forked-daapd-26.4/src/inputs/pipe.c:132:16: note: Assignment 'pipe=calloc(1,sizeof(struct pipe))', assigned value is 0 forked-daapd-26.4/src/inputs/pipe.c:133:3: note: Null pointer dereference forked-daapd-26.4/src/inputs/pipe.c:134:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pipe [nullPointerOutOfMemory] forked-daapd-26.4/src/inputs/pipe.c:132:16: note: Assuming allocation function fails forked-daapd-26.4/src/inputs/pipe.c:132:16: note: Assignment 'pipe=calloc(1,sizeof(struct pipe))', assigned value is 0 forked-daapd-26.4/src/inputs/pipe.c:134:3: note: Null pointer dereference forked-daapd-26.4/src/inputs/pipe.c:135:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pipe [nullPointerOutOfMemory] forked-daapd-26.4/src/inputs/pipe.c:132:16: note: Assuming allocation function fails forked-daapd-26.4/src/inputs/pipe.c:132:16: note: Assignment 'pipe=calloc(1,sizeof(struct pipe))', assigned value is 0 forked-daapd-26.4/src/inputs/pipe.c:135:3: note: Null pointer dereference forked-daapd-26.4/src/inputs/pipe.c:136:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pipe [nullPointerOutOfMemory] forked-daapd-26.4/src/inputs/pipe.c:132:16: note: Assuming allocation function fails forked-daapd-26.4/src/inputs/pipe.c:132:16: note: Assignment 'pipe=calloc(1,sizeof(struct pipe))', assigned value is 0 forked-daapd-26.4/src/inputs/pipe.c:136:3: note: Null pointer dereference forked-daapd-26.4/src/inputs/pipe.c:137:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pipe [nullPointerOutOfMemory] forked-daapd-26.4/src/inputs/pipe.c:132:16: note: Assuming allocation function fails forked-daapd-26.4/src/inputs/pipe.c:132:16: note: Assignment 'pipe=calloc(1,sizeof(struct pipe))', assigned value is 0 forked-daapd-26.4/src/inputs/pipe.c:137:3: note: Null pointer dereference forked-daapd-26.4/src/inputs/pipe.c:533:19: style: Variable 'cmdarg' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/inputs/pipe.c:674:9: style: Variable 'base_path' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/inputs/pipe.c:898:69: style: Parameter 'ps' can be declared as pointer to const. However it seems that 'metadata_get' is a callback function, if 'ps' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/inputs/pipe.c:964:19: note: You might need to cast the function pointer here forked-daapd-26.4/src/inputs/pipe.c:898:69: note: Parameter 'ps' can be declared as pointer to const forked-daapd-26.4/src/inputs/spotify.c:39:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPOTIFY_SETUP_ERROR_IS_LOADING [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/spotify.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable input_loop_break [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/inputs/spotify.c:45:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] forked-daapd-26.4/src/inputs/spotify.c:58:29: style: Parameter 'ps' can be declared as pointer to const. However it seems that 'start' is a callback function, if 'ps' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/inputs/spotify.c:108:12: note: You might need to cast the function pointer here forked-daapd-26.4/src/inputs/spotify.c:58:29: note: Parameter 'ps' can be declared as pointer to const forked-daapd-26.4/src/inputs/spotify.c:91:28: style: Parameter 'ps' can be declared as pointer to const. However it seems that 'seek' is a callback function, if 'ps' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/inputs/spotify.c:110:11: note: You might need to cast the function pointer here forked-daapd-26.4/src/inputs/spotify.c:91:28: note: Parameter 'ps' can be declared as pointer to const forked-daapd-26.4/src/mxml-compat.h:10:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_TEXT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mxml-compat.h:28:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_OPAQUE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mxml-compat.h:43:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_ELEMENT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/lastfm.c:84:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD5 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/lastfm.c:142:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MXML_OPAQUE_CALLBACK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/lastfm.c:288:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/lastfm.c:233:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/lastfm.c:224:11: note: Assuming that condition 'ret<0' is not redundant forked-daapd-26.4/src/lastfm.c:233:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/lastfm.c:77:12: style: Variable 'hash_bytes' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/mxml-compat.h:8:26: style: Parameter 'whitespace' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/mxml-compat.h:41:32: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/mxml-compat.h:52:26: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/library.c:730:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library.c:492:8: warning: If memory allocation fails, then there is a possible null pointer dereference: events [nullPointerOutOfMemory] forked-daapd-26.4/src/library.c:491:22: note: Assuming allocation function fails forked-daapd-26.4/src/library.c:491:22: note: Assignment 'events=malloc(sizeof(short))', assigned value is 0 forked-daapd-26.4/src/library.c:492:8: note: Null pointer dereference forked-daapd-26.4/src/library.c:344:45: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'update_trigger_cb' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/library.c:692:3: note: You might need to cast the function pointer here forked-daapd-26.4/src/library.c:344:45: note: Parameter 'arg' can be declared as pointer to const forked-daapd-26.4/src/library.c:356:10: style: Variable 'events' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/library/filescanner.c:302:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:475:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:582:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remote_pairing_kickoff [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:645:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:691:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:725:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:857:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:928:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1004:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1031:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable watch_enum [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1065:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_UNMOUNT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1203:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1410:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_CREATE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1442:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1551:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_CLOEXEC [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1598:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1649:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db_queue_item [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1686:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable media_file_info [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1712:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBRARY_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1753:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1805:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_PLAIN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1831:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_PLAIN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1868:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_params [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1931:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBRARY_PATH_INVALID [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:1976:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBRARY_PATH_INVALID [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:2015:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBRARY_PATH_INVALID [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner.c:750:5: error: Resource leak: dirp [resourceLeak] forked-daapd-26.4/src/library/filescanner.c:187:17: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] forked-daapd-26.4/src/library/filescanner.c:186:18: note: Assuming allocation function fails forked-daapd-26.4/src/library/filescanner.c:186:18: note: Assignment 'result=strdup(path)', assigned value is 0 forked-daapd-26.4/src/library/filescanner.c:187:17: note: Null pointer dereference forked-daapd-26.4/src/library/filescanner.c:661:62: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] forked-daapd-26.4/src/library/filescanner.c:1274:16: note: Assuming allocation function fails forked-daapd-26.4/src/library/filescanner.c:1274:16: note: Assignment 'dir=strdup(path)', assigned value is 0 forked-daapd-26.4/src/library/filescanner.c:1278:30: note: Calling function 'create_virtual_path', 1st argument 'dir' value is 0 forked-daapd-26.4/src/library/filescanner.c:661:62: note: Null pointer dereference forked-daapd-26.4/src/library/filescanner.c:1275:18: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] forked-daapd-26.4/src/library/filescanner.c:1274:16: note: Assuming allocation function fails forked-daapd-26.4/src/library/filescanner.c:1274:16: note: Assignment 'dir=strdup(path)', assigned value is 0 forked-daapd-26.4/src/library/filescanner.c:1275:18: note: Null pointer dereference forked-daapd-26.4/src/library/filescanner.c:1276:4: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] forked-daapd-26.4/src/library/filescanner.c:1274:16: note: Assuming allocation function fails forked-daapd-26.4/src/library/filescanner.c:1274:16: note: Assignment 'dir=strdup(path)', assigned value is 0 forked-daapd-26.4/src/library/filescanner.c:1276:4: note: Null pointer dereference forked-daapd-26.4/src/library/filescanner.c:1420:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] forked-daapd-26.4/src/library/filescanner.c:1419:13: note: Assuming allocation function fails forked-daapd-26.4/src/library/filescanner.c:1419:13: note: Assignment 'f=calloc(1,sizeof(struct deferred_file))', assigned value is 0 forked-daapd-26.4/src/library/filescanner.c:1420:3: note: Null pointer dereference forked-daapd-26.4/src/library/filescanner.c:1421:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] forked-daapd-26.4/src/library/filescanner.c:1419:13: note: Assuming allocation function fails forked-daapd-26.4/src/library/filescanner.c:1419:13: note: Assignment 'f=calloc(1,sizeof(struct deferred_file))', assigned value is 0 forked-daapd-26.4/src/library/filescanner.c:1421:3: note: Null pointer dereference forked-daapd-26.4/src/library/filescanner.c:1423:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] forked-daapd-26.4/src/library/filescanner.c:1419:13: note: Assuming allocation function fails forked-daapd-26.4/src/library/filescanner.c:1419:13: note: Assignment 'f=calloc(1,sizeof(struct deferred_file))', assigned value is 0 forked-daapd-26.4/src/library/filescanner.c:1423:3: note: Null pointer dereference forked-daapd-26.4/src/library/filescanner.c:1424:10: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] forked-daapd-26.4/src/library/filescanner.c:1419:13: note: Assuming allocation function fails forked-daapd-26.4/src/library/filescanner.c:1419:13: note: Assignment 'f=calloc(1,sizeof(struct deferred_file))', assigned value is 0 forked-daapd-26.4/src/library/filescanner.c:1424:10: note: Null pointer dereference forked-daapd-26.4/src/library/filescanner.c:1426:3: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] forked-daapd-26.4/src/library/filescanner.c:1419:13: note: Assuming allocation function fails forked-daapd-26.4/src/library/filescanner.c:1419:13: note: Assignment 'f=calloc(1,sizeof(struct deferred_file))', assigned value is 0 forked-daapd-26.4/src/library/filescanner.c:1426:3: note: Null pointer dereference forked-daapd-26.4/src/library/filescanner.c:1003:9: style: Local variable 'parent_dir' shadows outer function [shadowFunction] forked-daapd-26.4/src/library/filescanner.c:195:1: note: Shadowed declaration forked-daapd-26.4/src/library/filescanner.c:1003:9: note: Shadow variable forked-daapd-26.4/src/library/filescanner.c:855:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/library/filescanner.c:1210:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/library/filescanner.c:1737:9: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/library/filescanner_ffmpeg.c:120:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_ffmpeg.c:361:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATA_KIND_HTTP [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:207:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLIST_UINT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:227:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLIST_DATE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:254:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLIST_BOOLEAN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:272:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLIST_STRING [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:290:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLIST_DICT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:308:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLIST_ARRAY [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:346:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:359:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:474:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:610:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLIST_DICT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:716:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLIST_DICT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:766:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:796:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:868:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_itunes.c:956:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: itml_xml [nullPointerOutOfMemory] forked-daapd-26.4/src/library/filescanner_itunes.c:944:18: note: Assuming allocation function fails forked-daapd-26.4/src/library/filescanner_itunes.c:944:18: note: Assignment 'itml_xml=mmap(NULL,sb.st_size,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 forked-daapd-26.4/src/library/filescanner_itunes.c:956:16: note: Null pointer dereference forked-daapd-26.4/src/library/filescanner_playlist.c:90:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATA_KIND_HTTP [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_playlist.c:120:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_playlist.c:207:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/library/filescanner_playlist.c:47:18: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/library/filescanner_playlist.c:78:9: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/library/filescanner_playlist.c:210:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/library/filescanner_smartpl.c:46:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/listener.c:36:38: style:inconclusive: Function 'listener_add' argument 2 names different: declaration 'event_mask' definition 'events'. [funcArgNamesDifferent] forked-daapd-26.4/src/listener.h:44:38: note: Function 'listener_add' argument 2 names different: declaration 'event_mask' definition 'events'. forked-daapd-26.4/src/listener.c:36:38: note: Function 'listener_add' argument 2 names different: declaration 'event_mask' definition 'events'. forked-daapd-26.4/src/logger.c:83:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/logger.c:117:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/logger.c:182:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_LOG_FATAL [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/logger.c:250:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/logger.c:275:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/logger.c:296:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/logger.c:102:65: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] forked-daapd-26.4/src/logger.c:63:9: style: Variable 'd' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/main.c:529:13: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] forked-daapd-26.4/src/mdns_avahi.c:103:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:131:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_WATCH_IN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:192:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_WATCH_IN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:415:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AvahiAddress [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:495:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:572:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_ADDRESS_STR_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:608:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_ADDRESS_STR_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:663:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_ADDRESS_STR_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:764:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_IF_UNSPEC [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:846:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _POSIX_HOST_NAME_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:978:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_IF_UNSPEC [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:1180:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_IF_UNSPEC [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_avahi.c:659:23: style: Variable 'rb' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/mdns_avahi.c:814:39: style: Parameter 'g' can be declared as pointer to const. However it seems that 'entry_group_callback' is a callback function, if 'g' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/mdns_avahi.c:854:55: note: You might need to cast the function pointer here forked-daapd-26.4/src/mdns_avahi.c:814:39: note: Parameter 'g' can be declared as pointer to const forked-daapd-26.4/src/mdns_avahi.c:814:93: style: Parameter 'userdata' can be declared as pointer to const. However it seems that 'entry_group_callback' is a callback function, if 'userdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/mdns_avahi.c:854:55: note: You might need to cast the function pointer here forked-daapd-26.4/src/mdns_avahi.c:814:93: note: Parameter 'userdata' can be declared as pointer to const forked-daapd-26.4/src/mdns_avahi.c:966:24: style: Variable 'b' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/mdns_avahi.c:1096:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/mdns_avahi.c:1096:33: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/mdns_avahi.c:1136:18: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/mdns_avahi.c:1162:24: style: Variable 'b' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/mdns_dnssd.c:285:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDNSServiceErr_NoError [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:305:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDNSServiceErr_NoError [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:388:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDNSServiceErr_NoError [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:471:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDNSServiceFlagsShared [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:492:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _POSIX_HOST_NAME_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:538:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:612:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDNSServiceErr_NoError [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:647:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDNSServiceErr_Invalid [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:729:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDNSServiceErr_NoError [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:791:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDNSServiceFlagsShareConnection [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:845:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDNSServiceErr_NoError [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:893:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDNSServiceProtocol_IPv4 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mdns_dnssd.c:363:33: style:inconclusive: Function 'mdns_register' argument 2 names different: declaration 'type' definition 'regtype'. [funcArgNamesDifferent] forked-daapd-26.4/src/mdns.h:38:33: note: Function 'mdns_register' argument 2 names different: declaration 'type' definition 'regtype'. forked-daapd-26.4/src/mdns_dnssd.c:363:33: note: Function 'mdns_register' argument 2 names different: declaration 'type' definition 'regtype'. forked-daapd-26.4/src/mdns_dnssd.c:874:19: style:inconclusive: Function 'mdns_browse' argument 1 names different: declaration 'type' definition 'regtype'. [funcArgNamesDifferent] forked-daapd-26.4/src/mdns.h:61:19: note: Function 'mdns_browse' argument 1 names different: declaration 'type' definition 'regtype'. forked-daapd-26.4/src/mdns_dnssd.c:874:19: note: Function 'mdns_browse' argument 1 names different: declaration 'type' definition 'regtype'. forked-daapd-26.4/src/mdns_dnssd.c:132:25: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/mdns_dnssd.c:698:64: style: Parameter 'uuid' can be declared as pointer to const. However it seems that 'mdns_resolve_timeout_cb' is a callback function, if 'uuid' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/mdns_dnssd.c:783:40: note: You might need to cast the function pointer here forked-daapd-26.4/src/mdns_dnssd.c:698:64: note: Parameter 'uuid' can be declared as pointer to const forked-daapd-26.4/src/mdns_dnssd.c:782:14: portability: 'mb->res_uuid' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] forked-daapd-26.4/src/misc.c:996:0: error: #error Platform not supported [preprocessorErrorDirective] forked-daapd-26.4/src/misc.c:996:3: error: #error Platform not supported [preprocessorErrorDirective] forked-daapd-26.4/src/misc_json.c:60:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/misc_json.c:71:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/misc_json.c:82:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_int [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/misc_json.c:93:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_boolean [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/misc_json.c:126:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:1081:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:2612:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:2957:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:2997:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:3041:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:3565:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:4376:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BEV_EVENT_ERROR [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:4414:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BEV_ERROR [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:4451:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:4489:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BEV_OPT_CLOSE_ON_FREE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:4643:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVHTTP_REQ_GET [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:4767:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:4925:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/mpd.c:3560:12: warning: If memory allocation fails, then there is a possible null pointer dereference: param->output [nullPointerOutOfMemory] forked-daapd-26.4/src/mpd.c:3558:30: note: Assuming allocation function fails forked-daapd-26.4/src/mpd.c:3558:30: note: Assignment 'param->output=calloc(1,sizeof(struct output))', assigned value is 0 forked-daapd-26.4/src/mpd.c:3560:12: note: Null pointer dereference forked-daapd-26.4/src/mpd.c:3796:17: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] forked-daapd-26.4/src/mpd.c:3795:15: note: Assuming allocation function fails forked-daapd-26.4/src/mpd.c:3795:15: note: Assignment 'tmp=strdup(message)', assigned value is 0 forked-daapd-26.4/src/mpd.c:3796:17: note: Null pointer dereference forked-daapd-26.4/src/mpd.c:4612:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] forked-daapd-26.4/src/mpd.c:4611:24: note: Assuming allocation function fails forked-daapd-26.4/src/mpd.c:4611:9: note: Assignment 'ptr=(short*)malloc(sizeof(short))', assigned value is 0 forked-daapd-26.4/src/mpd.c:4612:4: note: Null pointer dereference forked-daapd-26.4/src/mpd.c:4746:12: style: Checking if unsigned expression 'port' is less than zero. [unsignedLessThanZero] forked-daapd-26.4/src/mpd.c:4914:12: style: Checking if unsigned expression 'port' is less than zero. [unsignedLessThanZero] forked-daapd-26.4/src/mpd.c:1766:36: style: Parameter 'evbuf' can be declared as pointer to const. However it seems that 'mpd_command_clear' is a callback function, if 'evbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/mpd.c:4080:37: note: You might need to cast the function pointer here forked-daapd-26.4/src/mpd.c:1766:36: note: Parameter 'evbuf' can be declared as pointer to const forked-daapd-26.4/src/mpd.c:1766:104: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'mpd_command_clear' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/mpd.c:4080:37: note: You might need to cast the function pointer here forked-daapd-26.4/src/mpd.c:1766:104: note: Parameter 'ctx' can be declared as pointer to const forked-daapd-26.4/src/mpd.c:3551:32: style: Parameter 'spk' can be declared as pointer to const. However it seems that 'output_get_cb' is a callback function, if 'spk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/mpd.c:3737:28: note: You might need to cast the function pointer here forked-daapd-26.4/src/mpd.c:3551:32: note: Parameter 'spk' can be declared as pointer to const forked-daapd-26.4/src/mpd.c:4480:44: style: Parameter 'address' can be declared as pointer to const. However it seems that 'mpd_accept_conn_cb' is a callback function, if 'address' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/mpd.c:4798:7: note: You might need to cast the function pointer here forked-daapd-26.4/src/mpd.c:4480:44: note: Parameter 'address' can be declared as pointer to const forked-daapd-26.4/src/outputs.c:136:72: style:inconclusive: Function 'outputs_device_volume_to_pct' argument 2 names different: declaration 'value' definition 'volume'. [funcArgNamesDifferent] forked-daapd-26.4/src/outputs.h:225:72: note: Function 'outputs_device_volume_to_pct' argument 2 names different: declaration 'value' definition 'volume'. forked-daapd-26.4/src/outputs.c:136:72: note: Function 'outputs_device_volume_to_pct' argument 2 names different: declaration 'value' definition 'volume'. forked-daapd-26.4/src/outputs.c:338:40: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/outputs/alsa.c:174:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output_session [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/alsa.c:228:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_FAILED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/alsa.c:420:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_STREAM_PLAYBACK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/alsa.c:549:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_STATE_PREPARED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/alsa.c:620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRTUNES_V2_PACKET_SAMPLES [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/alsa.c:709:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/alsa.c:727:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRTUNES_V2_PACKET_SAMPLES [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/alsa.c:799:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRTUNES_V2_PACKET_SAMPLES [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/alsa.c:918:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/alsa.c:951:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/alsa.c:998:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/alsa.c:622:41: warning: Possible null pointer dereference: avail [nullPointer] forked-daapd-26.4/src/outputs/alsa.c:731:29: note: Calling function 'buffer_write', 3rd argument 'NULL' value is 0 forked-daapd-26.4/src/outputs/alsa.c:622:41: note: Null pointer dereference forked-daapd-26.4/src/outputs/alsa.c:828:41: style: Parameter 'session' can be declared as pointer to const. However it seems that 'alsa_device_stop' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/alsa.c:1059:18: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/alsa.c:828:41: note: Parameter 'session' can be declared as pointer to const forked-daapd-26.4/src/outputs/alsa.c:983:43: style: Parameter 'session' can be declared as pointer to const. However it seems that 'alsa_set_status_cb' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/alsa.c:1066:16: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/alsa.c:983:43: note: Parameter 'session' can be declared as pointer to const forked-daapd-26.4/src/outputs/alsa.c:996:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/outputs/cast_channel.pb-c.h:12:0: error: #error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. [preprocessorErrorDirective] forked-daapd-26.4/src/outputs/cast_channel.pb-c.h:12:3: error: #error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. [preprocessorErrorDirective] forked-daapd-26.4/src/outputs/dummy.c:94:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output_session [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/dummy.c:144:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_STOPPED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/dummy.c:178:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_STOPPED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/dummy.c:192:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_STOPPED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/dummy.c:223:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_STREAMING [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/dummy.c:235:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_CONNECTED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/dummy.c:255:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/dummy.c:174:42: style: Parameter 'session' can be declared as pointer to const. However it seems that 'dummy_device_stop' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/dummy.c:298:18: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/dummy.c:174:42: note: Parameter 'session' can be declared as pointer to const forked-daapd-26.4/src/outputs/dummy.c:240:44: style: Parameter 'session' can be declared as pointer to const. However it seems that 'dummy_set_status_cb' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/dummy.c:303:16: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/dummy.c:240:44: note: Parameter 'session' can be declared as pointer to const forked-daapd-26.4/src/outputs/dummy.c:253:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/outputs/fifo.c:122:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:157:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:173:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:201:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:226:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:265:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output_session [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:320:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_STOPPED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:362:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_STOPPED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:386:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_STOPPED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:417:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_STREAMING [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:431:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_CONNECTED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:447:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_CONNECTED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:456:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRTUNES_V2_PACKET_SAMPLES [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:530:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/fifo.c:467:10: warning: If memory allocation fails, then there is a possible null pointer dereference: packet [nullPointerOutOfMemory] forked-daapd-26.4/src/outputs/fifo.c:466:41: note: Assuming allocation function fails forked-daapd-26.4/src/outputs/fifo.c:466:12: note: Assignment 'packet=(struct fifo_packet*)calloc(1,sizeof(struct fifo_packet))', assigned value is 0 forked-daapd-26.4/src/outputs/fifo.c:467:10: note: Null pointer dereference forked-daapd-26.4/src/outputs/fifo.c:468:3: warning: If memory allocation fails, then there is a possible null pointer dereference: packet [nullPointerOutOfMemory] forked-daapd-26.4/src/outputs/fifo.c:466:41: note: Assuming allocation function fails forked-daapd-26.4/src/outputs/fifo.c:466:12: note: Assignment 'packet=(struct fifo_packet*)calloc(1,sizeof(struct fifo_packet))', assigned value is 0 forked-daapd-26.4/src/outputs/fifo.c:468:3: note: Null pointer dereference forked-daapd-26.4/src/outputs/fifo.c:355:41: style: Parameter 'output_session' can be declared as pointer to const. However it seems that 'fifo_device_stop' is a callback function, if 'output_session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/fifo.c:578:18: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/fifo.c:355:41: note: Parameter 'output_session' can be declared as pointer to const forked-daapd-26.4/src/outputs/fifo.c:453:21: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'fifo_write' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/fifo.c:583:12: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/fifo.c:453:21: note: Parameter 'buf' can be declared as pointer to const forked-daapd-26.4/src/outputs/fifo.c:515:43: style: Parameter 'session' can be declared as pointer to const. However it seems that 'fifo_set_status_cb' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/fifo.c:585:16: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/fifo.c:515:43: note: Parameter 'session' can be declared as pointer to const forked-daapd-26.4/src/outputs/pulse.c:92:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_VOLUME_MUTED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:151:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output_session [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:196:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_FAILED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:229:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMMAND_PENDING [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:276:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_STREAM_FAILED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:328:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_STREAM_CREATING [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:360:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_STREAM_CREATING [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:401:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:458:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:533:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_STREAM_FAILED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:585:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_SAMPLE_S16LE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:646:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_STREAM_TERMINATED [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:732:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:763:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRTUNES_V2_PACKET_SAMPLES [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:898:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/pulse.c:678:42: style: Parameter 'session' can be declared as pointer to const. However it seems that 'pulse_device_stop' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/pulse.c:979:18: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/pulse.c:678:42: note: Parameter 'session' can be declared as pointer to const forked-daapd-26.4/src/outputs/pulse.c:883:44: style: Parameter 'session' can be declared as pointer to const. However it seems that 'pulse_set_status_cb' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/pulse.c:987:16: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/pulse.c:883:44: note: Parameter 'session' can be declared as pointer to const forked-daapd-26.4/src/outputs/pulse.c:893:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/outputs/raop.c:447:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:478:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPG_ERR_NO_ERROR [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:540:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_SHA1 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:687:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_USG [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:982:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD5 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:1188:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:1262:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:1340:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVRTSP_REQ_TEARDOWN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:1380:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVRTSP_REQ_FLUSH [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:1438:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVRTSP_REQ_SET_PARAMETER [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:1482:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVRTSP_REQ_RECORD [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:1532:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVRTSP_REQ_SETUP [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:1612:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_STRONG_RANDOM [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:1723:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVRTSP_REQ_POST [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:1766:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVRTSP_REQ_OPTIONS [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:1846:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OUTPUT_STATE_PASSWORD [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:2019:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output_session [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:2195:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:2475:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:2516:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:2583:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:2645:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:2687:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:2709:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:2837:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:2921:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3037:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3127:100: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3138:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3253:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3369:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3431:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRTUNES_V2_PACKET_SAMPLES [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3522:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRTUNES_V2_PACKET_SAMPLES [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3591:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu16 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3651:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3715:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3745:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3790:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3835:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:3978:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:4013:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:4043:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:4143:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTSP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:4586:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:4786:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:4940:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop.c:2199:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/outputs/raop.c:2198:24: note: Calling function 'raop_check_cseq' returns 0 forked-daapd-26.4/src/outputs/raop.c:2198:24: note: Assignment 'ret=raop_check_cseq(rs,req)', assigned value is 0 forked-daapd-26.4/src/outputs/raop.c:2199:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/outputs/raop.c:2591:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/outputs/raop.c:2590:24: note: Calling function 'raop_check_cseq' returns 0 forked-daapd-26.4/src/outputs/raop.c:2590:24: note: Assignment 'ret=raop_check_cseq(rs,req)', assigned value is 0 forked-daapd-26.4/src/outputs/raop.c:2591:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/outputs/raop.c:2653:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/outputs/raop.c:2652:24: note: Calling function 'raop_check_cseq' returns 0 forked-daapd-26.4/src/outputs/raop.c:2652:24: note: Assignment 'ret=raop_check_cseq(rs,req)', assigned value is 0 forked-daapd-26.4/src/outputs/raop.c:2653:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/outputs/raop.c:2717:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/outputs/raop.c:2716:24: note: Calling function 'raop_check_cseq' returns 0 forked-daapd-26.4/src/outputs/raop.c:2716:24: note: Assignment 'ret=raop_check_cseq(rs,req)', assigned value is 0 forked-daapd-26.4/src/outputs/raop.c:2717:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/outputs/raop.c:3753:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/outputs/raop.c:3752:24: note: Calling function 'raop_check_cseq' returns 0 forked-daapd-26.4/src/outputs/raop.c:3752:24: note: Assignment 'ret=raop_check_cseq(rs,req)', assigned value is 0 forked-daapd-26.4/src/outputs/raop.c:3753:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/outputs/raop.c:3798:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/outputs/raop.c:3797:24: note: Calling function 'raop_check_cseq' returns 0 forked-daapd-26.4/src/outputs/raop.c:3797:24: note: Assignment 'ret=raop_check_cseq(rs,req)', assigned value is 0 forked-daapd-26.4/src/outputs/raop.c:3798:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/outputs/raop.c:3843:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/outputs/raop.c:3842:24: note: Calling function 'raop_check_cseq' returns 0 forked-daapd-26.4/src/outputs/raop.c:3842:24: note: Assignment 'ret=raop_check_cseq(rs,req)', assigned value is 0 forked-daapd-26.4/src/outputs/raop.c:3843:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/outputs/raop.c:3986:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/outputs/raop.c:3985:24: note: Calling function 'raop_check_cseq' returns 0 forked-daapd-26.4/src/outputs/raop.c:3985:24: note: Assignment 'ret=raop_check_cseq(rs,req)', assigned value is 0 forked-daapd-26.4/src/outputs/raop.c:3986:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/outputs/raop.c:4051:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/outputs/raop.c:4050:24: note: Calling function 'raop_check_cseq' returns 0 forked-daapd-26.4/src/outputs/raop.c:4050:24: note: Assignment 'ret=raop_check_cseq(rs,req)', assigned value is 0 forked-daapd-26.4/src/outputs/raop.c:4051:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/outputs/raop.c:4083:15: style: Condition 'ret<0' is always true [knownConditionTrueFalse] forked-daapd-26.4/src/outputs/raop.c:4082:36: note: Calling function 'raop_send_req_pin_start' returns -1 forked-daapd-26.4/src/outputs/raop.c:4082:36: note: Assignment 'ret=raop_send_req_pin_start(rs,raop_cb_pin_start,"startup_options")', assigned value is -1 forked-daapd-26.4/src/outputs/raop.c:4083:15: note: Condition 'ret<0' is always true forked-daapd-26.4/src/outputs/raop.c:4151:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/outputs/raop.c:4150:24: note: Calling function 'raop_check_cseq' returns 0 forked-daapd-26.4/src/outputs/raop.c:4150:24: note: Assignment 'ret=raop_check_cseq(rs,req)', assigned value is 0 forked-daapd-26.4/src/outputs/raop.c:4151:11: note: Condition 'ret<0' is always false forked-daapd-26.4/src/outputs/raop.c:397:12: style: Variable 'maxraw' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/outputs/raop.c:424:34: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/outputs/raop.c:433:35: style: Parameter 'ns' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/outputs/raop.c:471:12: style: Variable 'md' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/outputs/raop.c:952:12: style: Variable 'hash_bytes' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/outputs/raop.c:1228:38: style: Parameter 'rs' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/outputs/raop.c:1228:65: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/outputs/raop.c:1988:22: style: Variable 're' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/outputs/raop.c:2216:100: style: Parameter 'rmd' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/outputs/raop.c:3514:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/outputs/raop.c:4843:41: style: Parameter 'session' can be declared as pointer to const. However it seems that 'raop_device_stop' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/raop.c:5092:18: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/raop.c:4843:41: note: Parameter 'session' can be declared as pointer to const forked-daapd-26.4/src/outputs/raop.c:4855:46: style: Parameter 'device' can be declared as pointer to const. However it seems that 'raop_device_free_extra' is a callback function, if 'device' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/raop.c:5094:24: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/raop.c:4855:46: note: Parameter 'device' can be declared as pointer to const forked-daapd-26.4/src/outputs/raop.c:4900:43: style: Parameter 'session' can be declared as pointer to const. However it seems that 'raop_set_status_cb' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/outputs/raop.c:5101:16: note: You might need to cast the function pointer here forked-daapd-26.4/src/outputs/raop.c:4900:43: note: Parameter 'session' can be declared as pointer to const forked-daapd-26.4/src/outputs/raop_verification.c:267:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_HEX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:420:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_USG [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:437:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_USG [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:465:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_USG [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:475:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_USG [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:487:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_USG [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:560:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYCTL_INITIALIZATION_FINISHED_P [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:644:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_WEAK_RANDOM [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:677:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRYMPI_FMT_USG [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:802:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_CIPHER_AES128 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:885:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_CIPHER_AES128 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:1282:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_scalarmult_BYTES [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/outputs/raop_verification.c:421:3: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] forked-daapd-26.4/src/outputs/raop_verification.c:418:15: note: Assuming allocation function fails forked-daapd-26.4/src/outputs/raop_verification.c:418:15: note: Assignment 'bin=calloc(1,nbytes)', assigned value is 0 forked-daapd-26.4/src/outputs/raop_verification.c:421:3: note: Null pointer addition forked-daapd-26.4/src/outputs/raop_verification.c:438:15: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] forked-daapd-26.4/src/outputs/raop_verification.c:435:32: note: Assuming allocation function fails forked-daapd-26.4/src/outputs/raop_verification.c:435:32: note: Assignment 'bin=malloc(nbytes)', assigned value is 0 forked-daapd-26.4/src/outputs/raop_verification.c:438:15: note: Null pointer addition forked-daapd-26.4/src/outputs/raop_verification.c:345:18: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/outputs/raop_verification.c:626:43: style: Parameter 'usr' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/outputs/raop_verification.c:632:42: style: Parameter 'usr' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/outputs/raop_verification.c:960:62: style: Parameter 'sctx' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/outputs/raop_verification.c:1172:39: style: Variable 'vctx' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/outputs/raop_verification.c:1245:64: style: Parameter 'vctx' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/outputs/raop_verification.c:522:27: warning: Uninitialized variable: H_xor [uninitvar] forked-daapd-26.4/src/outputs/raop_verification.c:517:17: note: Assuming condition is false forked-daapd-26.4/src/outputs/raop_verification.c:522:27: note: Uninitialized variable: H_xor forked-daapd-26.4/src/player.c:1101:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/player.c:1570:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/player.c:1713:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/player.c:1738:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/player.c:1933:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/player.c:2529:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/player.c:2568:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/player.c:2595:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/player.c:2933:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/player.c:3451:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/player.c:3550:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/player.c:598:22: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] forked-daapd-26.4/src/player.c:596:39: note: outer condition: cur_streaming==ps_playing forked-daapd-26.4/src/player.c:598:22: note: opposite inner condition: ps_playing!=cur_streaming forked-daapd-26.4/src/player.c:1003:15: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/player.c:1001:26: note: Calling function 'source_switch' returns 0 forked-daapd-26.4/src/player.c:1001:26: note: Assignment 'ret=source_switch(0)', assigned value is 0 forked-daapd-26.4/src/player.c:1003:15: note: Condition 'ret<0' is always false forked-daapd-26.4/src/player.c:1009:15: style: Condition 'ret<0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/player.c:1008:26: note: Calling function 'source_switch' returns 0 forked-daapd-26.4/src/player.c:1008:26: note: Assignment 'ret=source_switch(nbytes)', assigned value is 0 forked-daapd-26.4/src/player.c:1009:15: note: Condition 'ret<0' is always false forked-daapd-26.4/src/player.c:350:8: style: Variable 'id' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:358:8: style: Variable 'id' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:515:34: style: Parameter 'queue_item' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/player.c:1074:39: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'playback_cb' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/player.c:3471:75: note: You might need to cast the function pointer here forked-daapd-26.4/src/player.c:1074:39: note: Parameter 'arg' can be declared as pointer to const forked-daapd-26.4/src/player.c:1216:36: style: Parameter 'check' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/player.c:1374:21: style: Variable 'cmdarg' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:1387:26: style: Variable 'imd' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:1509:38: style: Parameter 'device' can be declared as pointer to const. However it seems that 'device_lost_cb' is a callback function, if 'device' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/player.c:1651:34: note: You might need to cast the function pointer here forked-daapd-26.4/src/player.c:1509:38: note: Parameter 'device' can be declared as pointer to const forked-daapd-26.4/src/player.c:1789:25: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:1873:25: style: Variable 'ps_playing' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:1892:25: style: Variable 'ps_playing' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:2104:21: style: Variable 'cmdarg' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:2295:21: style: Variable 'cmdarg' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:2617:21: style: Variable 'cmdarg' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:2672:24: style: Variable 'vol_param' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:2721:24: style: Variable 'vol_param' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:2778:30: style: Variable 'ar_param' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:2885:21: style: Variable 'cmdarg' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/player.c:2914:21: style: Variable 'cmdarg' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/remote_pairing.c:114:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_MD_MD5 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/remote_pairing.c:345:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/remote_pairing.c:374:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/remote_pairing.c:513:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVHTTP_REQ_GET [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/remote_pairing.c:557:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIX64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/remote_pairing.c:806:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/remote_pairing.c:96:12: style: Variable 'hash_bytes' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/remote_pairing.c:171:35: style: Parameter 'ri' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/remote_pairing.c:247:9: style: Variable 'check_addr' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/rng.c:62:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCRY_STRONG_RANDOM [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/rng.c:103:12: style: Condition 'dist<=0' is always false [knownConditionTrueFalse] forked-daapd-26.4/src/rng.c:137:23: note: Assuming that condition 'i>0' is not redundant forked-daapd-26.4/src/rng.c:139:36: note: Calling function 'rng_rand_range', 3rd argument 'i+1' value is 2 forked-daapd-26.4/src/rng.c:139:31: note: Calling function 'rng_rand_range', 2nd argument '0' value is 0 forked-daapd-26.4/src/rng.c:101:14: note: Assignment 'dist=max-min', assigned value is greater than 1 forked-daapd-26.4/src/rng.c:103:12: note: Condition 'dist<=0' is always false forked-daapd-26.4/src/rng.c:117:21: warning: Either the condition 'dist<=0x80000000u' is redundant or there is signed integer overflow for expression 'dist-1'. [integerOverflowCond] forked-daapd-26.4/src/rng.c:108:12: note: Assuming that condition 'dist<=0x80000000u' is not redundant forked-daapd-26.4/src/rng.c:117:21: note: Integer overflow forked-daapd-26.4/src/rsp_query.c:103:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANTLR3_SIZE_HINT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/smartpl_query.c:96:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANTLR3_SIZE_HINT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:390:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_CONNECTION_STATE_LOGGED_IN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:581:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_CONNECTION_STATE_LOGGED_IN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:623:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_ERROR_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:646:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_ERROR_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:667:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_ERROR_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:693:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_ERROR_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:712:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_ERROR_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:761:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_ERROR_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:862:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_IMAGE_SIZE_SMALL [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:931:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_ERROR_OK [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:1059:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:1085:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_CONNECTION_STATE_LOGGED_IN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:1189:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:1309:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETIMEDOUT [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:1364:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_CONNECTION_STATE_LOGGED_IN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:1484:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:1616:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify.c:386:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/spotify.c:1070:42: style: Parameter 'session' can be declared as pointer to const. However it seems that 'metadata_updated' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/spotify.c:1117:24: note: You might need to cast the function pointer here forked-daapd-26.4/src/spotify.c:1070:42: note: Parameter 'session' can be declared as pointer to const forked-daapd-26.4/src/spotify.c:1076:41: style: Parameter 'sess' can be declared as pointer to const. However it seems that 'play_token_lost' is a callback function, if 'sess' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/spotify.c:1118:23: note: You might need to cast the function pointer here forked-daapd-26.4/src/spotify.c:1076:41: note: Parameter 'sess' can be declared as pointer to const forked-daapd-26.4/src/spotify_webapi.c:967:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify_webapi.c:1186:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify_webapi.c:1256:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify_webapi.c:1322:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify_webapi.c:1486:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/spotify_webapi.c:266:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] forked-daapd-26.4/src/spotify_webapi.c:265:15: note: Assuming allocation function fails forked-daapd-26.4/src/spotify_webapi.c:265:15: note: Assignment 'ctx=calloc(1,sizeof(struct http_client_ctx))', assigned value is 0 forked-daapd-26.4/src/spotify_webapi.c:266:3: note: Null pointer dereference forked-daapd-26.4/src/spotify_webapi.c:267:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] forked-daapd-26.4/src/spotify_webapi.c:265:15: note: Assuming allocation function fails forked-daapd-26.4/src/spotify_webapi.c:265:15: note: Assignment 'ctx=calloc(1,sizeof(struct http_client_ctx))', assigned value is 0 forked-daapd-26.4/src/spotify_webapi.c:267:3: note: Null pointer dereference forked-daapd-26.4/src/spotify_webapi.c:268:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] forked-daapd-26.4/src/spotify_webapi.c:265:15: note: Assuming allocation function fails forked-daapd-26.4/src/spotify_webapi.c:265:15: note: Assignment 'ctx=calloc(1,sizeof(struct http_client_ctx))', assigned value is 0 forked-daapd-26.4/src/spotify_webapi.c:268:3: note: Null pointer dereference forked-daapd-26.4/src/spotify_webapi.c:271:18: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] forked-daapd-26.4/src/spotify_webapi.c:265:15: note: Assuming allocation function fails forked-daapd-26.4/src/spotify_webapi.c:265:15: note: Assignment 'ctx=calloc(1,sizeof(struct http_client_ctx))', assigned value is 0 forked-daapd-26.4/src/spotify_webapi.c:271:18: note: Null pointer dereference forked-daapd-26.4/src/spotify_webapi.c:714:11: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] forked-daapd-26.4/src/spotify_webapi.c:713:15: note: Assuming allocation function fails forked-daapd-26.4/src/spotify_webapi.c:713:15: note: Assignment 'tmp=malloc(sizeof(char)*(len+1))', assigned value is 0 forked-daapd-26.4/src/spotify_webapi.c:714:11: note: Null pointer dereference forked-daapd-26.4/src/spotify_webapi.c:715:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] forked-daapd-26.4/src/spotify_webapi.c:713:15: note: Assuming allocation function fails forked-daapd-26.4/src/spotify_webapi.c:713:15: note: Assignment 'tmp=malloc(sizeof(char)*(len+1))', assigned value is 0 forked-daapd-26.4/src/spotify_webapi.c:715:3: note: Null pointer dereference forked-daapd-26.4/src/spotify_webapi.c:905:16: warning: If memory allocation fails, then there is a possible null pointer dereference: uri [nullPointerOutOfMemory] forked-daapd-26.4/src/spotify_webapi.c:904:19: note: Assuming allocation function fails forked-daapd-26.4/src/spotify_webapi.c:904:19: note: Assignment 'uri=calloc(uri_len,sizeof(char))', assigned value is 0 forked-daapd-26.4/src/spotify_webapi.c:905:16: note: Null pointer dereference forked-daapd-26.4/src/spotify_webapi.c:696:9: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/spotify_webapi.c:697:9: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/spotify_webapi.c:742:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/spotify_webapi.c:951:25: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'transaction_start' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/spotify_webapi.c:1474:96: note: You might need to cast the function pointer here forked-daapd-26.4/src/spotify_webapi.c:951:25: note: Parameter 'arg' can be declared as pointer to const forked-daapd-26.4/src/spotify_webapi.c:958:23: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'transaction_end' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/spotify_webapi.c:1474:115: note: You might need to cast the function pointer here forked-daapd-26.4/src/spotify_webapi.c:958:23: note: Parameter 'arg' can be declared as pointer to const forked-daapd-26.4/src/spotify_webapi.c:1304:62: style: Parameter 'album' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/spotify_webapi.c:1438:8: style: Variable 'plid' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/transcode.c:204:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_CODEC_ID_PCM_S16LE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:262:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVMEDIA_TYPE_AUDIO [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:345:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVMEDIA_TYPE_AUDIO [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:387:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVFMT_GLOBALHEADER [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:456:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVMEDIA_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:519:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:565:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:594:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVERROR_INVALIDDATA [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:655:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVERROR_EOF [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:704:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable codecpar [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:805:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVMEDIA_TYPE_AUDIO [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:857:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVFMT_NOFILE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:948:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVMEDIA_TYPE_AUDIO [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:1486:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVERROR_EOF [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:1506:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_SAMPLE_FMT_S16 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:1557:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_TIME_BASE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:1637:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_CODEC_ID_PNG [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode.c:692:22: style: Checking if unsigned expression '*stream_index' is less than zero. [unsignedLessThanZero] forked-daapd-26.4/src/transcode.c:1386:51: style:inconclusive: Function 'transcode_decode' argument 2 names different: declaration 'ctx' definition 'dec_ctx'. [funcArgNamesDifferent] forked-daapd-26.4/src/transcode.h:63:51: note: Function 'transcode_decode' argument 2 names different: declaration 'ctx' definition 'dec_ctx'. forked-daapd-26.4/src/transcode.c:1386:51: note: Function 'transcode_decode' argument 2 names different: declaration 'ctx' definition 'dec_ctx'. forked-daapd-26.4/src/transcode.c:306:60: style: Parameter 'src_ctx' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/transcode.c:342:32: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/transcode.c:423:22: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/transcode.c:1261:75: style: Parameter 'file_codectype' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/transcode.c:1263:9: style: Variable 'codectype' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/transcode_legacy.c:157:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_CODEC_ID_PCM_S16LE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:354:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVMEDIA_TYPE_AUDIO [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:445:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable codec [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:516:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVPacket [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:547:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable capabilities [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:614:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVMEDIA_TYPE_AUDIO [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:712:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVMEDIA_TYPE_SUBTITLE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:786:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable codec [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:937:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVMEDIA_TYPE_AUDIO [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:1037:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable codec [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:1195:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_CODEC_ID_PCM_S16LE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:1389:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVERROR_EOF [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:1544:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_SAMPLE_FMT_S16 [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:1583:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_TIME_BASE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/transcode_legacy.c:581:22: style: The if condition is the same as the previous if condition [duplicateCondition] forked-daapd-26.4/src/transcode_legacy.c:578:22: note: First condition forked-daapd-26.4/src/transcode_legacy.c:581:22: note: Second condition forked-daapd-26.4/src/transcode_legacy.c:208:60: style: Parameter 'src_ctx' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/transcode_legacy.c:244:34: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/transcode_legacy.c:244:49: style: Parameter 'in_stream' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/transcode_legacy.c:258:22: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/transcode_legacy.c:1216:75: style: Parameter 'file_codectype' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/transcode_legacy.c:1218:9: style: Variable 'codectype' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/transcode_legacy.c:1653:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/websocket.c:107:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_tokener_success [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/websocket.c:234:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LWS_PRE [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/websocket.c:380:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LLL_ERR [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/websocket.c:65:27: style: Parameter 'wsi' can be declared as pointer to const. However it seems that 'callback_http' is a callback function, if 'wsi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/websocket.c:291:5: note: You might need to cast the function pointer here forked-daapd-26.4/src/websocket.c:65:27: note: Parameter 'wsi' can be declared as pointer to const forked-daapd-26.4/src/websocket.c:65:72: style: Parameter 'user' can be declared as pointer to const. However it seems that 'callback_http' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/websocket.c:291:5: note: You might need to cast the function pointer here forked-daapd-26.4/src/websocket.c:65:72: note: Parameter 'user' can be declared as pointer to const forked-daapd-26.4/src/websocket.c:65:84: style: Parameter 'in' can be declared as pointer to const. However it seems that 'callback_http' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] forked-daapd-26.4/src/websocket.c:291:5: note: You might need to cast the function pointer here forked-daapd-26.4/src/websocket.c:65:84: note: Parameter 'in' can be declared as pointer to const forked-daapd-26.4/src/websocket.c:189:16: style: Variable 'notify' can be declared as pointer to const [constVariablePointer] forked-daapd-26.4/src/websocket.c:191:10: style: Variable 'notify' is assigned a value that is never used. [unreadVariable] forked-daapd-26.4/src/worker.c:191:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/worker.c:224:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] forked-daapd-26.4/src/worker.c:138:42: style: Parameter 'cb_arg' can be declared as pointer to const [constParameterPointer] forked-daapd-26.4/src/commands.c:153:8: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [ctunullpointerOutOfMemory] forked-daapd-26.4/src/commands.c:365:15: note: Assuming allocation function fails forked-daapd-26.4/src/commands.c:365:15: note: Assignment 'cmd=calloc(1,sizeof(struct command))', assigned value is 0 forked-daapd-26.4/src/commands.c:371:21: note: Calling function send_command, 2nd argument is null forked-daapd-26.4/src/commands.c:153:8: note: Dereferencing argument cmd that is null forked-daapd-26.4/src/db.c:1054:41: warning: If memory allocation fails, then there is a possible null pointer dereference: query [ctunullpointerOutOfMemory] forked-daapd-26.4/src/db.c:5115:28: note: Assuming allocation function fails forked-daapd-26.4/src/db.c:5115:28: note: Assignment 'query=sqlite3_mprintf("SELECT shuffle_pos FROM queue WHERE id = %d;",item_id)', assigned value is 0 forked-daapd-26.4/src/db.c:5119:24: note: Calling function 'db_get_one_int', 1st argument 'query' value is 0 forked-daapd-26.4/src/db.c:1325:31: note: Calling function db_blocking_prepare_v2, 1st argument is null forked-daapd-26.4/src/db.c:1054:41: note: Dereferencing argument query that is null forked-daapd-26.4/src/library/filescanner.c:661:62: warning: If memory allocation fails, then there is a possible null pointer dereference: path [ctunullpointerOutOfMemory] forked-daapd-26.4/src/library/filescanner.c:1274:16: note: Assuming allocation function fails forked-daapd-26.4/src/library/filescanner.c:1274:16: note: Assignment 'dir=strdup(path)', assigned value is 0 forked-daapd-26.4/src/library/filescanner.c:1278:29: note: Calling function create_virtual_path, 1st argument is null forked-daapd-26.4/src/library/filescanner.c:661:62: note: Dereferencing argument path that is null forked-daapd-26.4/src/transcode.c:318:4: error: Null pointer dereference: est_size [ctunullpointer] forked-daapd-26.4/src/artwork.c:404:42: note: Calling function transcode_encode_setup, 3rd argument is null forked-daapd-26.4/src/transcode.c:1164:5: note: Calling function make_wav_header, 3rd argument is null forked-daapd-26.4/src/transcode.c:318:4: note: Dereferencing argument est_size that is null forked-daapd-26.4/src/transcode_legacy.c:220:4: error: Null pointer dereference: est_size [ctunullpointer] forked-daapd-26.4/src/artwork.c:404:42: note: Calling function transcode_encode_setup, 3rd argument is null forked-daapd-26.4/src/transcode_legacy.c:1138:7: note: Calling function make_wav_header, 3rd argument is null forked-daapd-26.4/src/transcode_legacy.c:220:4: note: Dereferencing argument est_size that is null diff: DONE