diff options
author | Milan Crha <mcrha@redhat.com> | 2010-07-22 17:13:10 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-07-22 17:13:10 +0800 |
commit | 410b996d54ee4787289760aec2329e24804d1061 (patch) | |
tree | 1bf3b2f6a84ecdc9137f6f76e53fa262fa065ddf /mail | |
parent | 3e12c61e4cc3bd04b4c1a07358fd72530836e526 (diff) | |
download | gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.gz gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.bz2 gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.lz gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.xz gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.tar.zst gsoc2013-evolution-410b996d54ee4787289760aec2329e24804d1061.zip |
Bug #624891 - Various compiler warnings in git/master
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-reader.c | 2 | ||||
-rw-r--r-- | mail/em-account-editor.c | 4 |
2 files changed, 4 insertions, 2 deletions
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; } |