[network-manager-openconnect] Remove unused s_ip4 variable in export()



commit 7a45644280c0f9aca907c7a85e2f309084d6a1b0
Author: David Woodhouse <David Woodhouse intel com>
Date:   Wed Mar 9 18:30:18 2011 +0000

    Remove unused s_ip4 variable in export()

 properties/nm-openconnect.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/properties/nm-openconnect.c b/properties/nm-openconnect.c
index 8b6a696..0d1af04 100644
--- a/properties/nm-openconnect.c
+++ b/properties/nm-openconnect.c
@@ -175,7 +175,6 @@ export (NMVpnPluginUiInterface *iface,
         GError **error)
 {
 	NMSettingConnection *s_con;
-	NMSettingIP4Config *s_ip4;
 	NMSettingVPN *s_vpn;
 	const char *value;
 	const char *gateway = NULL;
@@ -196,7 +195,6 @@ export (NMVpnPluginUiInterface *iface,
 	}
 
 	s_con = NM_SETTING_CONNECTION (nm_connection_get_setting (connection, NM_TYPE_SETTING_CONNECTION));
-	s_ip4 = (NMSettingIP4Config *) nm_connection_get_setting (connection, NM_TYPE_SETTING_IP4_CONFIG);
 
 	s_vpn = (NMSettingVPN *) nm_connection_get_setting (connection, NM_TYPE_SETTING_VPN);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]