diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-05-27 10:33:41 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-05-27 10:33:41 -0700 |
commit | d8377c3d2b4df365131d379e06a7c3dfef081b69 (patch) | |
tree | b1459d6768fe55f5b717b2a0bf827f162f57d1ba | |
parent | a70a9a9e6271b0543ea6d36cf30c77827ade7c44 (diff) | |
download | connman-d8377c3d2b4df365131d379e06a7c3dfef081b69.tar.gz connman-d8377c3d2b4df365131d379e06a7c3dfef081b69.tar.bz2 connman-d8377c3d2b4df365131d379e06a7c3dfef081b69.zip |
openvpn: Remove unused variable for VPN domain
-rw-r--r-- | plugins/openvpn.c | 3 |
1 files changed, 0 insertions, 3 deletions
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) { |