[network-manager-openvpn/rm-userset: 1/2] properties: remove unused variable



commit 561628b205b1daa08cfe9d9842a14c55b13d000a
Author: Dan Williams <dcbw redhat com>
Date:   Thu Feb 10 23:55:09 2011 -0600

    properties: remove unused variable

 properties/import-export.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/properties/import-export.c b/properties/import-export.c
index c1d9174..af7ea02 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -676,7 +676,6 @@ gboolean
 do_export (const char *path, NMConnection *connection, GError **error)
 {
 	NMSettingConnection *s_con;
-	NMSettingIP4Config *s_ip4;
 	NMSettingVPN *s_vpn;
 	FILE *f;
 	const char *value;
@@ -708,7 +707,6 @@ do_export (const char *path, NMConnection *connection, GError **error)
 	s_con = NM_SETTING_CONNECTION (nm_connection_get_setting (connection, NM_TYPE_SETTING_CONNECTION));
 	g_assert (s_con);
 
-	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);
 
 	f = fopen (path, "w");



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