aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorFrédéric Crozat <fcrozat@src.gnome.org>2004-08-25 22:04:16 +0800
committerFrédéric Crozat <fcrozat@src.gnome.org>2004-08-25 22:04:16 +0800
commit9b7423f6e474c7b8afde3a9ee0e9ebe1eb1c04ea (patch)
tree3af396231ff87034fb46be73ffee900286029890 /camel
parent124d3c27c27e5ec773972b2b5a88ce645e403531 (diff)
downloadgsoc2013-evolution-9b7423f6e474c7b8afde3a9ee0e9ebe1eb1c04ea.tar.gz
gsoc2013-evolution-9b7423f6e474c7b8afde3a9ee0e9ebe1eb1c04ea.tar.zst
gsoc2013-evolution-9b7423f6e474c7b8afde3a9ee0e9ebe1eb1c04ea.zip
Init one variable (remove warning) and don't redefine it.
* camel-folder.c: (folder_getv): Init one variable (remove warning) and don't redefine it. svn path=/trunk/; revision=27021
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-folder.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index fd009e2f4f..2e52cf89df 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-25 Frederic Crozat <fcrozat@mandrakesoft.com>
+
+ * camel-folder.c: (folder_getv):
+ Init one variable (remove warning) and don't redefine it.
+
2004-08-23 Not Zed <NotZed@Ximian.com>
** See bug #63189.
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index cb9cd7dda2..b7b01edf5c 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -313,7 +313,7 @@ folder_getv(CamelObject *object, CamelException *ex, CamelArgGetV *args)
CamelFolder *folder = (CamelFolder *)object;
int i;
guint32 tag;
- int unread = -1, deleted = 0, junked = 0, visible = 0, count;
+ int unread = -1, deleted = 0, junked = 0, visible = 0, count = -1;
for (i=0;i<args->argc;i++) {
CamelArgGet *arg = &args->argv[i];
@@ -389,7 +389,7 @@ folder_getv(CamelObject *object, CamelException *ex, CamelArgGetV *args)
*arg->ca_int = count;
break;
case CAMEL_FOLDER_ARG_UID_ARRAY: {
- int j, count;
+ int j;
CamelMessageInfo *info;
GPtrArray *array;