2025-11-25 21:55 ftp://ftp.de.debian.org/debian/pool/main/d/dleyna-renderer/dleyna-renderer_0.6.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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-88-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 796b181 (2025-11-25 16:14:10 +0100) count: 68 67 elapsed-time: 1.5 1.4 head-timing-info: old-timing-info: head results: dleyna-renderer-0.6.0/libdleyna/renderer/device.c:692:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:721:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dleyna_service_task_begin_action_cb [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:847:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLEYNA_SERVER_PATH [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:924:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLEYNA_SERVER_INTERFACE_RENDERER_DEVICE [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:987:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLEYNA_SERVER_INTERFACE_RENDERER_DEVICE [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1121:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1409:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLEYNA_SERVER_OBJECT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1509:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUPNP_XML_ERROR_EMPTY_NODE [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1542:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1669:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1712:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1776:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1830:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1883:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1951:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:2005:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:2464:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:2483:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:2800:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:2846:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:2980:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3025:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3073:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3107:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3134:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3280:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_STATUS_CANCELLED [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3301:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_STATUS_CANCELLED [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3360:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1199:24: style: Condition 'pos+4==0' is always false [knownConditionTrueFalse] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3062:23: style: Redundant assignment of 'cb_data->cancellable' to itself. [selfAssignment] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:214:26: style: Parameter 'changed_props_vb' can be declared as pointer to const [constParameterPointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:223:23: style: Parameter 'changed_props' can be declared as pointer to const [constParameterPointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:964:63: style: Parameter 'vb' can be declared as pointer to const [constParameterPointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:979:24: style: Variable 'get_props' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1397:19: style: Variable 'vb' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1400:12: style: Variable 'value' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1486:12: style: Variable 'val' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1529:19: style: Parameter 'value' can be declared as pointer to const. However it seems that 'prv_last_change_cb' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:572:13: note: You might need to cast the function pointer here dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1529:19: note: Parameter 'value' can be declared as pointer to const dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1707:19: style: Parameter 'value' can be declared as pointer to const. However it seems that 'prv_rc_last_change_cb' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:588:13: note: You might need to cast the function pointer here dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1707:19: note: Parameter 'value' can be declared as pointer to const dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1750:19: style: Parameter 'value' can be declared as pointer to const. However it seems that 'prv_sink_change_cb' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:556:13: note: You might need to cast the function pointer here dleyna-renderer-0.6.0/libdleyna/renderer/device.c:1750:19: note: Parameter 'value' can be declared as pointer to const dleyna-renderer-0.6.0/libdleyna/renderer/device.c:2020:8: style: Variable 'div_pos' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:2078:8: style: Variable 'max_rate_str' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:2684:23: style: Variable 'get_prop' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:2733:24: style: Variable 'get_props' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3041:19: style: Variable 'seek_data' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3088:19: style: Variable 'seek_data' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3213:24: style: Variable 'context' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3215:23: style: Variable 'host_uri' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3241:24: style: Variable 'context' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/device.c:3243:23: style: Variable 'host_uri' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/host-service.c:128:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUPNP_DLNA_OPERATION_RANGE [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/host-service.c:221:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/host-service.c:308:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/host-service.c:387:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_STATUS_OK [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/host-service.c:234:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dleyna-renderer-0.6.0/libdleyna/renderer/host-service.c:219:9: style: Variable 'extension' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/manager.c:115:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLEYNA_SERVER_OBJECT [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/manager.c:168:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLEYNA_SERVER_INTERFACE_MANAGER [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/manager.c:204:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLEYNA_SERVER_INTERFACE_MANAGER [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/manager.c:341:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLEYNA_SERVER_INTERFACE_MANAGER [valueFlowBailoutIncompleteVar] dleyna-renderer-0.6.0/libdleyna/renderer/manager.c:54:77: style: Parameter 'vb' can be declared as pointer to const [constParameterPointer] dleyna-renderer-0.6.0/libdleyna/renderer/manager.c:101:21: style: Parameter 'prop_val' can be declared as pointer to const [constParameterPointer] dleyna-renderer-0.6.0/libdleyna/renderer/manager.c:145:64: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] dleyna-renderer-0.6.0/libdleyna/renderer/server.c:141:23: error: There is an unknown macro here somewhere. Configuration is required. If DLEYNA_SERVER_INTERFACE_MANAGER is a macro then please configure it. [unknownMacro] dleyna-renderer-0.6.0/libdleyna/renderer/upnp.c:155:24: style: Variable 'context' can be declared as pointer to const [constVariablePointer] dleyna-renderer-0.6.0/libdleyna/renderer/upnp.c:424:53: style: Parameter 'upnp' can be declared as pointer to const [constParameterPointer] dleyna-renderer-0.6.0/libdleyna/renderer/upnp.c:847:63: style: Parameter 'upnp' can be declared as pointer to const [constParameterPointer] dleyna-renderer-0.6.0/server/daemon.c:32:43: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'prv_quit_handler' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dleyna-renderer-0.6.0/server/daemon.c:44:29: note: You might need to cast the function pointer here dleyna-renderer-0.6.0/server/daemon.c:32:43: note: Parameter 'user_data' can be declared as pointer to const diff: head dleyna-renderer-0.6.0/libdleyna/renderer/device.c:2078:8: style: Variable 'max_rate_str' can be declared as pointer to const [constVariablePointer] DONE