openvpn: Remove unused variable for VPN domain
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 27 May 2011 17:33:41 +0000 (10:33 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 May 2011 17:33:41 +0000 (10:33 -0700)
plugins/openvpn.c

index 2b933b9..2a93771 100644 (file)
@@ -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) {