From d8377c3d2b4df365131d379e06a7c3dfef081b69 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 27 May 2011 10:33:41 -0700 Subject: openvpn: Remove unused variable for VPN domain --- plugins/openvpn.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins') diff --git a/plugins/openvpn.c b/plugins/openvpn.c index 2b933b95..2a93771c 100644 --- a/plugins/openvpn.c +++ b/plugins/openvpn.c @@ -98,7 +98,6 @@ static int ov_notify(DBusMessage *msg, struct connman_provider *provider) { DBusMessageIter iter, dict; const char *reason, *key, *value; - const char *domain = NULL; char *nameservers = NULL; char *address = NULL, *gateway = NULL, *peer = NULL; struct connman_ipaddress *ipaddress; @@ -116,8 +115,6 @@ static int ov_notify(DBusMessage *msg, struct connman_provider *provider) if (strcmp(reason, "up")) return VPN_STATE_DISCONNECT; - domain = connman_provider_get_string(provider, "VPN.Domain"); - dbus_message_iter_recurse(&iter, &dict); while (dbus_message_iter_get_arg_type(&dict) == DBUS_TYPE_DICT_ENTRY) { -- cgit v1.2.3