aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-09 08:22:47 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-06-09 08:22:47 +0800
commitcbbb6f2200af24a2e1d4f600b90127acb4ec5523 (patch)
tree551331937e18a343a50bec3f27e7a5c52aff4e3c /mail
parentf014ab82c81078d60cb1df8c986305c2cc9948c2 (diff)
downloadgsoc2013-evolution-cbbb6f2200af24a2e1d4f600b90127acb4ec5523.tar.gz
gsoc2013-evolution-cbbb6f2200af24a2e1d4f600b90127acb4ec5523.tar.zst
gsoc2013-evolution-cbbb6f2200af24a2e1d4f600b90127acb4ec5523.zip
Fix some uninitialized variable usage.
Diffstat (limited to 'mail')
-rw-r--r--mail/em-composer-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 08fa927a67..841fb77d6b 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -2339,7 +2339,7 @@ get_reply_sender (CamelMimeMessage *message,
reply_to = get_reply_to (message);
if (reply_to != NULL) {
- gint ii;
+ gint ii = 0;
while (camel_internet_address_get (reply_to, ii++, &name, &addr))
camel_internet_address_add (to, name, addr);
@@ -2381,7 +2381,7 @@ get_reply_from (CamelMimeMessage *message,
from = camel_mime_message_get_from (message);
if (from != NULL) {
- gint ii;
+ gint ii = 0;
while (camel_internet_address_get (from, ii++, &name, &addr))
camel_internet_address_add (to, name, addr);