[evolution/wip/gsettings] Fix some uninitialized variable usage.
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Fix some uninitialized variable usage.
- Date: Wed, 29 Jun 2011 17:52:19 +0000 (UTC)
commit 2229ecda966472146beb35cef60d3e374bd0b65a
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Jun 8 20:22:47 2011 -0400
Fix some uninitialized variable usage.
mail/em-composer-utils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 08fa927..841fb77 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]