diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-07-14 12:57:26 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-07-14 13:18:07 +0200 |
commit | a9996c4f1d5adeb54827f925c5595858fcd9a7e1 (patch) | |
tree | 88f01602c5fdd57975f80564588926138475acd4 /callouts | |
parent | da612acc6a7d12115ece767d6d07e8ba54987d10 (diff) | |
download | NetworkManager-a9996c4f1d5adeb54827f925c5595858fcd9a7e1.tar.gz |
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.
Diffstat (limited to 'callouts')
-rw-r--r-- | callouts/nm-dispatcher-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |