aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-09 08:22:47 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:26 +0800
commit2229ecda966472146beb35cef60d3e374bd0b65a (patch)
treea2c361c7ea3049bbe9276ddadfa5a8eb3bf591e6
parente7954c3f251aabbf95d099159709c8c66dfedc44 (diff)
downloadgsoc2013-evolution-2229ecda966472146beb35cef60d3e374bd0b65a.tar.gz
gsoc2013-evolution-2229ecda966472146beb35cef60d3e374bd0b65a.tar.zst
gsoc2013-evolution-2229ecda966472146beb35cef60d3e374bd0b65a.zip
Fix some uninitialized variable usage.
-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);