diff options
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-folder.c | 4 |
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; |