From a9996c4f1d5adeb54827f925c5595858fcd9a7e1 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 14 Jul 2015 12:57:26 +0200 Subject: vpn-plugin-old,dispatcher: cast unchecked g_variant_lookup() calls to void This is done to silence coverity. In the dispatcher the existence of the key is checked before and we're fine with leaving the value untouched in the vpn-plugin-old. --- callouts/nm-dispatcher-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'callouts') diff --git a/callouts/nm-dispatcher-utils.c b/callouts/nm-dispatcher-utils.c index 365e7e2969..085d43dbc8 100644 --- a/callouts/nm-dispatcher-utils.c +++ b/callouts/nm-dispatcher-utils.c @@ -388,7 +388,7 @@ nm_dispatcher_utils_construct_envp (const char *action, return NULL; } g_variant_unref (value); - g_variant_lookup (device_props, NMD_DEVICE_PROPS_IP_INTERFACE, "&s", &ip_iface); + (void) g_variant_lookup (device_props, NMD_DEVICE_PROPS_IP_INTERFACE, "&s", &ip_iface); } /* Device type */ -- cgit v1.2.1