aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-08-20 19:06:23 +0800
committerDan Vrátil <dvratil@redhat.com>2012-08-20 19:06:23 +0800
commita5bbf35da58d8e25de35a0a90c63d31870239dd2 (patch)
treeb2497d91f686a41a08eee75bc11833cf0c0386e8 /mail
parent3afe1d68fc5ed8a69da165221228881ff877c863 (diff)
downloadgsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar.gz
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar.bz2
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar.lz
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar.xz
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar.zst
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.zip
Fix all 'may be used uninitialized' compiler warnings
Diffstat (limited to 'mail')
-rw-r--r--mail/e-http-request.c1
-rw-r--r--mail/e-mail-reader-utils.c2
-rw-r--r--mail/em-folder-tree.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/mail/e-http-request.c b/mail/e-http-request.c
index 0f634688a2..d6fe5d2254 100644
--- a/mail/e-http-request.c
+++ b/mail/e-http-request.c
@@ -133,6 +133,7 @@ handle_http_request (GSimpleAsyncResult *res,
/* Remove the "evo-" prefix from scheme */
uri_len = strlen (evo_uri);
+ uri = NULL;
if (evo_uri && (uri_len > 5)) {
/* Remove trailing "?" if there is no URI query */
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c
index 3a8a2cab54..6f0a9822ce 100644
--- a/mail/e-mail-reader-utils.c
+++ b/mail/e-mail-reader-utils.c
@@ -1320,7 +1320,7 @@ e_mail_reader_reply_to_message (EMailReader *reader,
EMailBackend *backend;
EShellBackend *shell_backend;
EMailDisplay *display;
- EMailPartList *part_list;
+ EMailPartList *part_list = NULL;
GtkWidget *message_list;
CamelMimeMessage *new_message;
CamelInternetAddress *address = NULL;
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 0a19e50bad..590ec684df 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -3507,7 +3507,7 @@ em_folder_tree_restore_state (EMFolderTree *folder_tree,
const gchar *group_name = group->data;
const gchar *key = STATE_KEY_EXPANDED;
gchar *folder_name = NULL;
- gboolean expanded;
+ gboolean expanded = FALSE;
gboolean success = FALSE;
if (g_str_has_prefix (group_name, "Store ")) {