diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2008-03-29 23:38:06 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-03-29 23:38:06 +0800 |
commit | bc8bd32417afc0619f3fa1f840945c1bdc51d3cf (patch) | |
tree | 5f2e36c5039ebe43d064815bf6b9ad7301f6f69e /mail | |
parent | e7fb6d133e0aeb63e10e54cd538fba71a299202d (diff) | |
download | gsoc2013-evolution-bc8bd32417afc0619f3fa1f840945c1bdc51d3cf.tar gsoc2013-evolution-bc8bd32417afc0619f3fa1f840945c1bdc51d3cf.tar.gz gsoc2013-evolution-bc8bd32417afc0619f3fa1f840945c1bdc51d3cf.tar.bz2 gsoc2013-evolution-bc8bd32417afc0619f3fa1f840945c1bdc51d3cf.tar.lz gsoc2013-evolution-bc8bd32417afc0619f3fa1f840945c1bdc51d3cf.tar.xz gsoc2013-evolution-bc8bd32417afc0619f3fa1f840945c1bdc51d3cf.tar.zst gsoc2013-evolution-bc8bd32417afc0619f3fa1f840945c1bdc51d3cf.zip |
Fix some unused variable warnings.
2008-03-29 Matthew Barnes <mbarnes@redhat.com>
* 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
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/em-network-prefs.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index d6f4e66f3e..66e8545bd6 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2008-03-29 Matthew Barnes <mbarnes@redhat.com> + + * em-network-prefs.c (em_network_prefs_finalise), + (em_network_prefs_destroy), (emnp_parse_ignore_hosts): + Fix some unused variable warnings. + 2008-03-27 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #523271 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) |