NetworkManager r3802 - trunk/vpn-daemons/openvpn/properties



Author: dcbw
Date: Thu Jul  3 02:27:21 2008
New Revision: 3802
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3802&view=rev

Log:
Remove unused variables

Modified:
   trunk/vpn-daemons/openvpn/properties/auth-helpers.c
   trunk/vpn-daemons/openvpn/properties/nm-openvpn.c

Modified: trunk/vpn-daemons/openvpn/properties/auth-helpers.c
==============================================================================
--- trunk/vpn-daemons/openvpn/properties/auth-helpers.c	(original)
+++ trunk/vpn-daemons/openvpn/properties/auth-helpers.c	Thu Jul  3 02:27:21 2008
@@ -139,7 +139,6 @@
 {
 	GtkWidget *widget;
 	GValue *value = NULL;
-	gint sk_direction = -1;
 	GtkListStore *store;
 	GtkTreeIter iter;
 	gint active = -1;
@@ -350,7 +349,6 @@
 	if (strlen (filename))
 		g_hash_table_insert (s_vpn_props->data, g_strdup (key), str_to_gvalue (filename));
 	
-done:
 	g_free (filename);
 }
 
@@ -457,7 +455,6 @@
 static gboolean
 tls_default_filter (const GtkFileFilterInfo *filter_info, gpointer data)
 {
-	int fd;
 	char *contents = NULL, *p, *ext;
 	gsize bytes_read = 0;
 	gboolean show = FALSE;
@@ -636,7 +633,6 @@
 {
 	GHashTable *hash;
 	NMSettingVPNProperties *s_vpn_props;
-	GValue *value;
 
 	hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, nm_gvalue_destroy);
 

Modified: trunk/vpn-daemons/openvpn/properties/nm-openvpn.c
==============================================================================
--- trunk/vpn-daemons/openvpn/properties/nm-openvpn.c	(original)
+++ trunk/vpn-daemons/openvpn/properties/nm-openvpn.c	Thu Jul  3 02:27:21 2008
@@ -135,7 +135,6 @@
 check_validity (OpenvpnPluginUiWidget *self, GError **error)
 {
 	OpenvpnPluginUiWidgetPrivate *priv = OPENVPN_PLUGIN_UI_WIDGET_GET_PRIVATE (self);
-	gboolean is_valid = TRUE;
 	GtkWidget *widget;
 	const char *str;
 	GtkTreeModel *model;
@@ -197,7 +196,6 @@
 advanced_dialog_close_cb (GtkWidget *dialog, gpointer user_data)
 {
 	OpenvpnPluginUiWidget *self = OPENVPN_PLUGIN_UI_WIDGET (user_data);
-	OpenvpnPluginUiWidgetPrivate *priv = OPENVPN_PLUGIN_UI_WIDGET_GET_PRIVATE (self);
 
 	gtk_widget_hide (dialog);
 	/* gtk_widget_destroy() will remove the window from the window group */
@@ -266,7 +264,6 @@
 	OpenvpnPluginUiWidgetPrivate *priv = OPENVPN_PLUGIN_UI_WIDGET_GET_PRIVATE (self);
 	NMSettingVPNProperties *s_vpn_props;
 	GtkWidget *widget;
-	GtkWidget *auth_widget;
 	GtkListStore *store;
 	GtkTreeIter iter;
 	int active = -1;
@@ -417,7 +414,6 @@
 {
 	GHashTable *hash = (GHashTable *) user_data;
 	GValue *value = (GValue *) data;
-	const char *i;
 
 	if (G_VALUE_HOLDS_STRING (value)) {
 		g_hash_table_insert (hash,
@@ -447,7 +443,6 @@
 	NMSettingVPN *s_vpn;
 	NMSettingVPNProperties *s_vpn_props;
 	GtkWidget *widget;
-	GValue *value;
 	char *str;
 	GtkTreeModel *model;
 	GtkTreeIter iter;
@@ -660,7 +655,6 @@
 get_suggested_name (NMVpnPluginUiInterface *iface, NMConnection *connection)
 {
 	NMSettingConnection *s_con;
-	char *suggested;
 
 	g_return_val_if_fail (connection != NULL, NULL);
 



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