From bc8bd32417afc0619f3fa1f840945c1bdc51d3cf Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 29 Mar 2008 15:38:06 +0000 Subject: Fix some unused variable warnings. 2008-03-29 Matthew Barnes * mail/em-network-prefs.c (em_network_prefs_finalise), (em_network_prefs_destroy), (emnp_parse_ignore_hosts): Fix some unused variable warnings. svn path=/trunk/; revision=35283 --- mail/em-network-prefs.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mail/em-network-prefs.c') diff --git a/mail/em-network-prefs.c b/mail/em-network-prefs.c index 1407fce27d..29c79e618b 100644 --- a/mail/em-network-prefs.c +++ b/mail/em-network-prefs.c @@ -138,8 +138,6 @@ em_network_prefs_init (EMNetworkPrefs *prefs) static void em_network_prefs_finalise (GObject *obj) { - EMNetworkPrefs *prefs = (EMNetworkPrefs *) obj; - d(g_print ("Network preferences finalize is called\n")); /* do something here */ @@ -149,7 +147,6 @@ em_network_prefs_finalise (GObject *obj) static void em_network_prefs_destroy (GtkObject *obj) { - EMNetworkPrefs *prefs = (EMNetworkPrefs *) obj; d(g_print ("Network preferences destroy is called\n")); GTK_OBJECT_CLASS (parent_class)->destroy (obj); @@ -232,7 +229,6 @@ emnp_set_sensitiveness (EMNetworkPrefs *prefs, NetworkConfigProxyType type, gboo static void emnp_parse_ignore_hosts (gpointer data, gpointer user_data) { - char *input = (char *)data; GString *str = (GString *)user_data; if (!str) -- cgit