From 9b7423f6e474c7b8afde3a9ee0e9ebe1eb1c04ea Mon Sep 17 00:00:00 2001 From: Frédéric Crozat Date: Wed, 25 Aug 2004 14:04:16 +0000 Subject: 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 --- camel/ChangeLog | 5 +++++ camel/camel-folder.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'camel') 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 + + * camel-folder.c: (folder_getv): + Init one variable (remove warning) and don't redefine it. + 2004-08-23 Not Zed ** 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;iargc;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; -- cgit