From 410b996d54ee4787289760aec2329e24804d1061 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 22 Jul 2010 11:13:10 +0200 Subject: Bug #624891 - Various compiler warnings in git/master --- mail/e-mail-reader.c | 2 +- mail/em-account-editor.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 22271732b9..43f41c93c5 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -124,7 +124,7 @@ action_mail_add_sender_cb (GtkAction *action, { EShell *shell; EShellBackend *shell_backend; - CamelMessageInfo *info; + CamelMessageInfo *info = NULL; CamelFolder *folder; GPtrArray *uids; const gchar *address; diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index 603aa529a4..99ba81739c 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -2606,6 +2606,7 @@ emae_receive_options_extra_item (EConfig *ec, EConfigItem *eitem, GtkWidget *par return NULL; section: d (printf ("Building extra section '%s'\n", eitem->path)); + w = NULL; url = emae_account_url (emae, emae_service_info[service->type].account_uri_key); item->extra_table = g_hash_table_new (g_str_hash, g_str_equal); extra = g_hash_table_new (g_str_hash, g_str_equal); @@ -2699,7 +2700,8 @@ section: } camel_url_free (url); - gtk_widget_show (w); + if (w) + gtk_widget_show (w); return w; } -- cgit v1.2.3