2026-05-02 06:14 ftp://ftp.de.debian.org/debian/pool/main/g/gnome-network-displays/gnome-network-displays_0.99.0.orig.tar.xz 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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 401 398 elapsed-time: 2.0 1.8 head-timing-info: old-timing-info: head results: gnome-network-displays-0.99.0/src/app/main.c:48:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AdwApplication [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/main.c:42:1: error: Memory leak: window [memleak] gnome-network-displays-0.99.0/src/app/main.c:26:30: style: Parameter 'app' can be declared as pointer to const. However it seems that 'on_activate' is a callback function, if 'app' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/app/main.c:79:3: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/app/main.c:26:30: note: Parameter 'app' can be declared as pointer to const gnome-network-displays-0.99.0/src/app/nd-codec-install.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_codec_install_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-codec-install.c:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_codec_install_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-codec-install.c:101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-codec-install.c:197:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-codec-install.c:236:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_INSTALL_PLUGINS_HELPER_MISSING [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-codec-install.c:305:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-codec-install.c:139:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_codec_install_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/app/nd-codec-install.c:190:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/app/nd-codec-install.c:139:44: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/app/nd-codec-install.c:162:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_codec_install_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/app/nd-codec-install.c:191:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/app/nd-codec-install.c:162:46: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/app/nd-codec-install.c:210:53: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_install_plugins_done_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/app/nd-codec-install.c:231:49: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/app/nd-codec-install.c:210:53: note: Parameter 'user_data' can be declared as pointer to const gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:41:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ND_TYPE_SINK [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:162:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_sink_list_model_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:178:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:226:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:109:3: style: Unsigned expression 'pos' can't be negative so it is unnecessary to test it. [unsignedPositive] gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:39:47: style: Parameter 'list' can be declared as pointer to const. However it seems that 'nd_sink_list_model_get_item_type' is a callback function, if 'list' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:64:26: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:39:47: note: Parameter 'list' can be declared as pointer to const gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:47:20: style: Variable 'self' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:119:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_sink_list_model_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:170:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:119:46: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:139:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_sink_list_model_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:171:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:139:48: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:184:43: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:197:51: style: Parameter 'sink_list' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/app/nd-sink-list-model.c:238:37: style: Parameter 'provider' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/app/nd-sink-row.c:42:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BINDING_SYNC_CREATE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-sink-row.c:85:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-sink-row.c:104:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_sink_row_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-sink-row.c:120:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-sink-row.c:49:39: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_sink_row_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/app/nd-sink-row.c:112:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/app/nd-sink-row.c:49:39: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/app/nd-sink-row.c:69:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_sink_row_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/app/nd-sink-row.c:113:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/app/nd-sink-row.c:69:41: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/app/nd-sink-row.c:142:26: style: Parameter 'sink' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/app/nd-sink-row.c:159:34: style: Parameter 'sink_row' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/app/nd-window.c:96:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-window.c:149:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstCaps [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-window.c:233:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ND_TYPE_SINK_STATE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-window.c:317:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-window.c:358:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-window.c:397:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDP_OUTPUT_MONITOR [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-window.c:473:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnome_nd_window_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-window.c:543:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-window.c:563:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnome_nd_window_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-window.c:602:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-window.c:641:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/app/nd-window.c:115:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gnome-network-displays-0.99.0/src/app/nd-window.c:116:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gnome-network-displays-0.99.0/src/app/nd-window.c:227:66: style: Parameter 'sink' can be declared as pointer to const. However it seems that 'sink_notify_state_cb' is a callback function, if 'sink' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/app/nd-window.c:434:40: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/app/nd-window.c:227:66: note: Parameter 'sink' can be declared as pointer to const gnome-network-displays-0.99.0/src/app/nd-window.c:557:13: style: Variable 'self' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/app/nd-window.c:79:20: style: struct member '_NdWindow::stream_state_label' is never used. [unusedStructMember] gnome-network-displays-0.99.0/src/app/nd-window.c:557:18: style: Variable 'self' is assigned a value that is never used. [unreadVariable] gnome-network-displays-0.99.0/src/cc/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] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:82:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:109:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:124:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_STATE_PLAYING [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:141:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GInetAddress [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:192:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSList [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:268:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cc_http_server_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:293:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:251:3: error: Memory leak: self [memleak] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:58:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'cc_http_server_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:287:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/cc/cc-http-server.c:58:42: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/cc/cc-http-server.c:60:17: style: Variable 'self' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:142:10: style: Variable 'remote_address' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/cc/cc-http-server.c:306:36: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/cc/cc-media-factory.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstBin [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-media-factory.c:223:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstElement [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-media-factory.c:326:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstBin [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-media-factory.c:427:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_STATE_CHANGE_FAILURE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-media-factory.c:470:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_STATE_NULL [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-media-factory.c:573:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_STATE_READY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-media-factory.c:599:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_MSECOND [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-media-factory.c:612:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstElementFactory [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-media-factory.c:782:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_LAST [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/cc/cc-media-factory.c:772:40: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/daemon/main.c:36:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSimpleAction [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/daemon/main.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NdDaemon [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/daemon/nd-daemon.c:54:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NdDummyProvider [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/daemon/nd-daemon.c:110:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_daemon_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/daemon/nd-daemon.c:131:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_daemon_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/daemon/nd-daemon.c:137:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_daemon_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/daemon/nd-daemon.c:163:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-cc-provider.c:115:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-cc-provider.c:136:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-cc-provider.c:180:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_ADDRESS_STR_MAX [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-cc-provider.c:281:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NdCCSink [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-cc-provider.c:64:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_cc_provider_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-cc-provider.c:128:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-cc-provider.c:64:42: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-cc-provider.c:89:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_cc_provider_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-cc-provider.c:129:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-cc-provider.c:89:44: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-cc-provider.c:144:26: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_sinks' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-cc-provider.c:202:54: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-cc-provider.c:144:26: note: Parameter 'a' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-cc-provider.c:144:39: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_sinks' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-cc-provider.c:202:54: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-cc-provider.c:144:39: note: Parameter 'b' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-cc-provider.c:172:40: style: Parameter 'hostname' can be declared as pointer to const. However it seems that 'resolver_found_cb' is a callback function, if 'hostname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-cc-provider.c:248:3: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-cc-provider.c:172:40: note: Parameter 'hostname' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-cc-provider.c:181:20: style: Variable 'cc_name' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-cc-provider.c:181:30: style: Variable 'cc_model' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-cc-provider.c:220:41: style: Parameter 'error' can be declared as pointer to const. However it seems that 'resolver_failure_cb' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-cc-provider.c:253:3: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-cc-provider.c:220:41: note: Parameter 'error' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-cc-provider.c:271:41: style: Parameter 'name' can be declared as pointer to const. However it seems that 'service_removed_cb' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-cc-provider.c:371:3: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-cc-provider.c:271:41: note: Parameter 'name' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-cc-provider.c:334:42: style: Parameter 'provider' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-cc-provider.c:340:53: style: Parameter 'provider' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-cc-provider.c:346:31: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:92:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:142:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_dummy_cc_sink_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:174:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:234:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:284:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:362:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ND_TYPE_SINK_PROTOCOL [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:245:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:76:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_dummy_cc_sink_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:150:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:76:44: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:204:49: style: Parameter 'error' can be declared as pointer to const. However it seems that 'end_stream_callback' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:300:40: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-dummy-cc-sink.c:204:49: note: Parameter 'error' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-dummy-provider.c:93:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-provider.c:51:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_dummy_provider_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-dummy-provider.c:103:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-dummy-provider.c:51:45: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-dummy-provider.c:53:20: style: Variable 'self' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-dummy-provider.c:71:47: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_dummy_provider_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-dummy-provider.c:104:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-dummy-provider.c:71:47: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-dummy-provider.c:91:20: style: Variable 'dummy_provider' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-dummy-wfd-sink.c:94:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-wfd-sink.c:143:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_dummy_wfd_sink_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-wfd-sink.c:175:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-wfd-sink.c:231:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-wfd-sink.c:304:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-wfd-sink.c:354:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WfdServer [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-wfd-sink.c:393:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ND_TYPE_SINK_PROTOCOL [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-dummy-wfd-sink.c:78:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_dummy_wfd_sink_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-dummy-wfd-sink.c:151:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-dummy-wfd-sink.c:78:45: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-firewalld.c:25:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_firewalld_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-firewalld.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-firewalld.c:67:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-firewalld.c:173:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-firewalld.c:185:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-firewalld.c:227:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-firewalld.c:37:33: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-manager.c:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-manager.c:96:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GList [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-manager.c:129:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-manager.c:162:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-manager.c:191:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GList [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-manager.c:243:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-manager.c:290:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-manager.c:328:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_manager_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-manager.c:368:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-manager.c:401:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-manager.c:453:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-manager.c:51:37: style: Parameter 'sink' can be declared as pointer to const. However it seems that 'nd_manager_sink_to_variant' is a callback function, if 'sink' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-manager.c:101:34: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-manager.c:51:37: note: Parameter 'sink' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-manager.c:51:60: style: Parameter 'sinks_builder' can be declared as pointer to const. However it seems that 'nd_manager_sink_to_variant' is a callback function, if 'sinks_builder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-manager.c:101:34: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-manager.c:51:60: note: Parameter 'sinks_builder' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-manager.c:53:20: style: Variable 'sink_builder' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-manager.c:59:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-manager.c:250:38: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_manager_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-manager.c:444:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-manager.c:250:38: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-manager.c:305:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_manager_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-manager.c:445:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-manager.c:305:40: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-manager.c:345:44: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'on_manager_name_acquired' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-manager.c:405:21: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-manager.c:345:44: note: Parameter 'connection' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-manager.c:347:44: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_manager_name_acquired' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-manager.c:405:21: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-manager.c:347:44: note: Parameter 'user_data' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-manager.c:353:40: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'on_manager_name_lost' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-manager.c:406:21: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-manager.c:353:40: note: Parameter 'connection' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-manager.c:355:40: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_manager_name_lost' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-manager.c:406:21: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-manager.c:355:40: note: Parameter 'user_data' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-manager.c:459:29: style: Parameter 'manager' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-manager.c:469:29: style: Parameter 'provider' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-meta-provider.c:54:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-meta-provider.c:112:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-meta-provider.c:208:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_meta_provider_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-meta-provider.c:226:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READABLE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-meta-provider.c:297:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GList [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-meta-provider.c:343:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GList [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-meta-provider.c:359:3: warning: Assert statement calls a function which may have desired side effects: 'g_ptr_array_remove'. [assertWithSideEffect] gnome-network-displays-0.99.0/src/nd-meta-provider.c:152:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_meta_provider_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-meta-provider.c:216:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-meta-provider.c:152:44: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-meta-provider.c:154:19: style: Variable 'self' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-meta-provider.c:176:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_meta_provider_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-meta-provider.c:217:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-meta-provider.c:176:46: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-meta-sink.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MININT [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-meta-sink.c:155:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-meta-sink.c:249:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_meta_sink_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-meta-sink.c:265:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-meta-sink.c:430:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-meta-sink.c:386:3: warning: Assert statement calls a function which may have desired side effects: 'g_ptr_array_remove'. [assertWithSideEffect] gnome-network-displays-0.99.0/src/nd-meta-sink.c:221:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_meta_sink_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-meta-sink.c:258:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-meta-sink.c:221:42: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-meta-sink.c:326:40: style: Parameter 'sink' can be declared as pointer to const. However it seems that 'nd_meta_sink_sink_stop_stream' is a callback function, if 'sink' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-meta-sink.c:311:24: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-meta-sink.c:326:40: note: Parameter 'sink' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-meta-sink.c:345:36: style: Parameter 'meta_sink' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-meta-sink.c:427:40: style: Parameter 'meta_sink' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-meta-sink.c:428:40: style: Parameter 'sink' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-meta-sink.c:455:27: style: Parameter 'sink' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:111:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NM_DEVICE_STATE_UNAVAILABLE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:315:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:441:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:474:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:505:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:524:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:397:49: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_nm_device_registry_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:515:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:397:49: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:417:51: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_nm_device_registry_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:516:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:417:51: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:536:44: style: Parameter 'meta_provider' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-nm-device-registry.c:456:12: style: Variable 'registry' is assigned a value that is never used. [unreadVariable] gnome-network-displays-0.99.0/src/nd-provider.c:69:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:141:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_INVALID_INDEX [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:170:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_ERR_NOENTITY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:236:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_CONTEXT_READY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:271:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:306:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pa_proplist [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:382:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pa_operation_unref [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:408:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:422:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_INVALID_INDEX [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:428:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstElement [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:52:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_pulseaudio_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:402:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-pulseaudio.c:52:41: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-pulseaudio.c:54:17: style: Variable 'self' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:76:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_pulseaudio_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:401:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-pulseaudio.c:76:43: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-pulseaudio.c:221:45: style: Parameter 'c' can be declared as pointer to const. However it seems that 'nd_pulseaudio_unload_module_cb' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:240:55: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-pulseaudio.c:221:45: note: Parameter 'c' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-pulseaudio.c:221:67: style: Parameter 'userdata' can be declared as pointer to const. However it seems that 'nd_pulseaudio_unload_module_cb' is a callback function, if 'userdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:240:55: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-pulseaudio.c:221:67: note: Parameter 'userdata' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-pulseaudio.c:358:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-pulseaudio.c:358:40: style: Parameter 'uuid' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:170:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:208:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:222:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:278:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:410:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:484:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:607:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:726:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_HUP [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:812:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sd_varlink_unref [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:833:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:913:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:505:1: error: Memory leak: data [memleak] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:218:29: style: Parameter 'sink' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:748:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_sd_cc_provider_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:825:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:748:45: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:772:47: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_sd_cc_provider_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:826:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:772:47: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-sd-cc-provider.c:868:34: style: Parameter 'nm_device' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:957:21: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:181:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:257:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:380:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:457:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NdWFDMiceSink [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:561:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:632:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:744:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_HUP [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:784:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:828:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TIME_SPAN_SECOND [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:957:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:986:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:608:1: error: Memory leak: data [memleak] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:471:22: warning: Either the condition 'remote_name' is redundant or there is possible null pointer dereference: remote_name. [nullPointerRedundantCheck] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:481:26: note: Assuming that condition 'remote_name' is not redundant gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:471:22: note: Null pointer dereference gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:853:48: style:inconclusive: Function 'nd_sd_wfd_mice_provider_get_sinks' argument 1 names different: declaration 'provider' definition 'iface'. [funcArgNamesDifferent] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:54:62: note: Function 'nd_sd_wfd_mice_provider_get_sinks' argument 1 names different: declaration 'provider' definition 'iface'. gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:853:48: note: Function 'nd_sd_wfd_mice_provider_get_sinks' argument 1 names different: declaration 'provider' definition 'iface'. gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:209:31: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_sinks' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:402:54: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:209:31: note: Parameter 'a' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:209:49: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_sinks' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:402:54: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:209:49: note: Parameter 'b' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:587:12: style: Variable 'handler_ptr' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:870:53: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_sd_wfd_mice_provider_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:978:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:870:53: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:912:51: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_sd_wfd_mice_provider_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:979:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:912:51: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-sd-wfd-mice-provider.c:1003:40: style: Parameter 'nm_device' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-sink.c:33:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_LAST [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-systemd-helpers.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-systemd-helpers.c:28:3: error: Memory leak: execstart [memleak] gnome-network-displays-0.99.0/src/nd-systemd-helpers.c:40:3: error: Memory leak: description [memleak] gnome-network-displays-0.99.0/src/nd-systemd-helpers.c:64:3: error: Memory leak: properties [memleak] gnome-network-displays-0.99.0/src/nd-systemd-helpers.c:76:3: error: Memory leak: aux [memleak] gnome-network-displays-0.99.0/src/nd-systemd-helpers.c:51:13: style: Variable 'execstart' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-systemd-helpers.c:52:13: style: Variable 'description' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-uri-helpers.c:44:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] gnome-network-displays-0.99.0/src/nd-uri-helpers.c:40:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-uri-helpers.c:94:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-uri-helpers.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-uri-helpers.c:180:17: warning: Either the condition '!sink' is redundant or there is possible null pointer dereference: sink. [nullPointerRedundantCheck] gnome-network-displays-0.99.0/src/nd-uri-helpers.c:177:7: note: Assuming that condition '!sink' is not redundant gnome-network-displays-0.99.0/src/nd-uri-helpers.c:180:17: note: Null pointer dereference gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:114:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:134:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:179:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_ADDRESS_STR_MAX [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:283:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NdWFDMiceSink [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:333:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:62:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_wfd_mice_provider_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:126:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:62:48: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:87:50: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_wfd_mice_provider_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:127:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:87:50: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:142:31: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_sinks' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:204:54: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:142:31: note: Parameter 'a' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:142:49: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_sinks' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:204:54: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:142:49: note: Parameter 'b' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:170:40: style: Parameter 'hostname' can be declared as pointer to const. However it seems that 'resolver_found_cb' is a callback function, if 'hostname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:250:3: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:170:40: note: Parameter 'hostname' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:222:41: style: Parameter 'error' can be declared as pointer to const. However it seems that 'resolver_failure_cb' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:255:3: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:222:41: note: Parameter 'error' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:273:41: style: Parameter 'name' can be declared as pointer to const. However it seems that 'service_removed_cb' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:424:3: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:273:41: note: Parameter 'name' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:387:53: style: Parameter 'provider' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:393:64: style: Parameter 'provider' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-mice-provider.c:399:37: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-mice-sink.c:416:36: error: There is an unknown macro here somewhere. Configuration is required. If G_GSSIZE_FORMAT is a macro then please configure it. [unknownMacro] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:97:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:130:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NdWFDP2PSink [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:180:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:197:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_CONTINUE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:203:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NM_DEVICE_STATE_UNAVAILABLE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:248:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NM_DEVICE_STATE_UNKNOWN [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:313:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:333:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:80:75: style: Parameter 'device' can be declared as pointer to const. However it seems that 'peer_added_cb' is a callback function, if 'device' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:266:44: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:80:75: note: Parameter 'device' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:83:11: style: Variable 'wfd_ies' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:119:77: style: Parameter 'device' can be declared as pointer to const. However it seems that 'peer_removed_cb' is a callback function, if 'device' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:272:44: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:119:77: note: Parameter 'device' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:151:47: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_wfd_p2p_provider_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:325:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:151:47: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:244:49: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_wfd_p2p_provider_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:326:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:244:49: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:387:51: style: Parameter 'provider' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:401:51: style: Parameter 'provider' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:408:36: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-p2p-provider.c:408:54: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:146:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:218:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:256:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_wfd_p2p_sink_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:272:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:311:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:378:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:412:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:503:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:590:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NdFirewalld [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:631:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WfdServer [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:739:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ND_TYPE_SINK_PROTOCOL [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:118:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_wfd_p2p_sink_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:264:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:118:43: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:199:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_wfd_p2p_sink_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:265:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:199:45: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:674:44: style: Parameter 'sink' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:688:44: style: Parameter 'sink' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:702:42: style: Parameter 'sink' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:708:32: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:708:50: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/nd-wfd-p2p-sink.c:708:74: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/stream/main.c:33:11: style: Variable 'sink' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/stream/nd-stream.c:106:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstCaps [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:285:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_source_unref [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:305:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_stream_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:314:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nd_stream_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:337:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_STATIC_STRINGS [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:349:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ND_TYPE_SINK_STATE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:392:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:460:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:483:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:520:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:558:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:593:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/stream/nd-stream.c:128:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gnome-network-displays-0.99.0/src/stream/nd-stream.c:129:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gnome-network-displays-0.99.0/src/stream/nd-stream.c:63:37: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_stream_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/stream/nd-stream.c:331:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/stream/nd-stream.c:63:37: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/stream/nd-stream.c:83:39: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'nd_stream_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/stream/nd-stream.c:330:32: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/stream/nd-stream.c:83:39: note: Parameter 'pspec' can be declared as pointer to const gnome-network-displays-0.99.0/src/stream/nd-stream.c:343:66: style: Parameter 'sink' can be declared as pointer to const. However it seems that 'sink_notify_state_cb' is a callback function, if 'sink' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/stream/nd-stream.c:447:40: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/stream/nd-stream.c:343:66: note: Parameter 'sink' can be declared as pointer to const gnome-network-displays-0.99.0/src/wfd/wfd-audio-codec.c:173:35: error: There is an unknown macro here somewhere. Configuration is required. If G_GUINT32_FORMAT is a macro then please configure it. [unknownMacro] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:73:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wfd_client_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:194:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstElement [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:216:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:222:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSocketAddress [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:244:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:281:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:291:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_RTSP_FILTER_KEEP [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:354:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_RTSP_PLAY [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:379:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_RTSP_FILTER_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:413:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:441:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:511:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:559:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_RTSP_STS_OK [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:571:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_RTSP_HDR_PUBLIC [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:632:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_RTSP_OPTIONS [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:644:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:175:22: style: Local variable 'codec' shadows outer variable [shadowVariable] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:119:18: note: Shadowed declaration gnome-network-displays-0.99.0/src/wfd/wfd-client.c:175:22: note: Shadow variable gnome-network-displays-0.99.0/src/wfd/wfd-client.c:105:18: style: Variable 'res_a' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:106:18: style: Variable 'res_b' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:175:22: style: Variable 'codec' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:295:69: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'wfd_client_handle_response' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:608:35: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/wfd/wfd-client.c:295:69: note: Parameter 'ctx' can be declared as pointer to const gnome-network-displays-0.99.0/src/wfd/wfd-client.c:347:19: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:372:22: style: Variable 'connection' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:402:22: style: Variable 'connection' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:458:14: style: Variable 'option' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/wfd/wfd-client.c:459:28: style: Variable 'value' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstClock [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:97:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:116:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gst_segment_free [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:123:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstCaps [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:339:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstElement [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:427:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstBin [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:502:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wfd_media_factory_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:515:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstCaps [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:714:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wfd_media_factory_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:734:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wfd_media_factory_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:750:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_LAST [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:767:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstElementFactory [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:925:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_RTSP_SUSPEND_MODE_RESET [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-media-factory.c:491:7: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] gnome-network-displays-0.99.0/src/wfd/wfd-media.c:25:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wfd_media_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-params.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GList [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-params.c:140:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-params.c:151:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-params.c:171:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-params.c:345:15: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] gnome-network-displays-0.99.0/src/wfd/wfd-params.c:387:99: style: Unsigned expression 'self->ms_cursor_port' can't be negative so it is unnecessary to test it. [unsignedPositive] gnome-network-displays-0.99.0/src/wfd/wfd-params.c:185:14: style: Variable 'option' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/wfd/wfd-params.c:186:14: style: Variable 'value' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/wfd/wfd-params.c:153:41: warning: Division by result of sizeof(). g_ptr_array_sized_new() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] gnome-network-displays-0.99.0/src/wfd/wfd-params.c:153:78: warning: Division by result of sizeof(). g_ptr_array_sized_new() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] gnome-network-displays-0.99.0/src/wfd/wfd-resolution.c:32:37: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wfd_server_parent_class [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WfdClient [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:86:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:116:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:131:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_LAST [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstRTSPSessionPool [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:192:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstRTSPMountPoints [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:222:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_RTSP_FILTER_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:230:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GST_RTSP_FILTER_REMOVE [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:238:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GstRTSPSessionPool [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:218:44: style: Parameter 'pool' can be declared as pointer to const. However it seems that 'pool_filter_remove_cb' is a callback function, if 'pool' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:247:47: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/wfd/wfd-server.c:218:44: note: Parameter 'pool' can be declared as pointer to const gnome-network-displays-0.99.0/src/wfd/wfd-server.c:219:44: style: Parameter 'session' can be declared as pointer to const. However it seems that 'pool_filter_remove_cb' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:247:47: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/wfd/wfd-server.c:219:44: note: Parameter 'session' can be declared as pointer to const gnome-network-displays-0.99.0/src/wfd/wfd-server.c:220:44: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'pool_filter_remove_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:247:47: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/wfd/wfd-server.c:220:44: note: Parameter 'user_data' can be declared as pointer to const gnome-network-displays-0.99.0/src/wfd/wfd-server.c:226:41: style: Parameter 'server' can be declared as pointer to const. However it seems that 'client_filter_remove_cb' is a callback function, if 'server' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:244:42: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/wfd/wfd-server.c:226:41: note: Parameter 'server' can be declared as pointer to const gnome-network-displays-0.99.0/src/wfd/wfd-server.c:227:41: style: Parameter 'client' can be declared as pointer to const. However it seems that 'client_filter_remove_cb' is a callback function, if 'client' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:244:42: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/wfd/wfd-server.c:227:41: note: Parameter 'client' can be declared as pointer to const gnome-network-displays-0.99.0/src/wfd/wfd-server.c:228:41: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'client_filter_remove_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/wfd/wfd-server.c:244:42: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/wfd/wfd-server.c:228:41: note: Parameter 'user_data' can be declared as pointer to const gnome-network-displays-0.99.0/src/wfd/wfd-session-pool.c:67:40: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:266:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable res [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GList [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:472:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GList [valueFlowBailoutIncompleteVar] gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:390:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:404:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:418:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:329:54: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:374:49: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:437:63: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:473:10: style: Variable 'res' can be declared as pointer to const [constVariablePointer] gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:490:22: style: Variable 'resolution' can be declared as pointer to const [constVariablePointer] diff: head gnome-network-displays-0.99.0/src/nd-meta-sink.c:326:40: style: Parameter 'sink' can be declared as pointer to const. However it seems that 'nd_meta_sink_sink_stop_stream' is a callback function, if 'sink' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-network-displays-0.99.0/src/nd-meta-sink.c:311:24: note: You might need to cast the function pointer here gnome-network-displays-0.99.0/src/nd-meta-sink.c:326:40: note: Parameter 'sink' can be declared as pointer to const head gnome-network-displays-0.99.0/src/wfd/wfd-client.c:105:18: style: Variable 'res_a' can be declared as pointer to const [constVariablePointer] head gnome-network-displays-0.99.0/src/wfd/wfd-client.c:106:18: style: Variable 'res_b' can be declared as pointer to const [constVariablePointer] 2.20.0 gnome-network-displays-0.99.0/src/wfd/wfd-params.c:387:102: style: Comparing expression of type 'unsigned short' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] head gnome-network-displays-0.99.0/src/wfd/wfd-video-codec.c:490:22: style: Variable 'resolution' can be declared as pointer to const [constVariablePointer] DONE