[evolution-data-server/gnome-3-24] Fix maybe-used-uninitialized compiler warning from camel-pop3-folder.c
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-24] Fix maybe-used-uninitialized compiler warning from camel-pop3-folder.c
- Date: Mon, 20 Mar 2017 16:58:12 +0000 (UTC)
commit 314dbb82b87b256507c8849c25fae5dda921056a
Author: Milan Crha <mcrha redhat com>
Date: Mon Mar 20 17:52:16 2017 +0100
Fix maybe-used-uninitialized compiler warning from camel-pop3-folder.c
src/camel/providers/pop3/camel-pop3-folder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/providers/pop3/camel-pop3-folder.c b/src/camel/providers/pop3/camel-pop3-folder.c
index 0e7426d..1db295b 100644
--- a/src/camel/providers/pop3/camel-pop3-folder.c
+++ b/src/camel/providers/pop3/camel-pop3-folder.c
@@ -410,7 +410,7 @@ pop3_folder_get_message_internal_sync (CamelFolder *folder,
CamelPOP3Command *pcr;
CamelPOP3FolderInfo *fi;
gchar buffer[1];
- gint i, last;
+ gint i = -1, last;
CamelStream *stream = NULL;
CamelService *service;
CamelSettings *settings;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]