diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 4 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-utils.c | 4 | ||||
-rw-r--r-- | camel/providers/local/camel-spool-store.c | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 9b7ddaf180..7004b7d6a7 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -1951,8 +1951,8 @@ parse_list_response_as_folder_info (CamelImapStore *imap_store, const char *response) { CamelFolderInfo *fi; - int flags, i; - char sep, *dir, *name = NULL, *path; + int flags; + char sep, *dir; CamelURL *url; CamelImapStoreInfo *si; guint32 newflags; diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c index 7ec152afa7..8a089da7bf 100644 --- a/camel/providers/imap/camel-imap-utils.c +++ b/camel/providers/imap/camel-imap-utils.c @@ -362,7 +362,7 @@ imap_parse_list_response (CamelImapStore *store, const char *buf, int *flags, ch return FALSE; if (folder) { - char *astring, *mailbox; + char *astring; /* get the folder name */ word = imap_next_word (word); @@ -372,6 +372,8 @@ imap_parse_list_response (CamelImapStore *store, const char *buf, int *flags, ch *folder = astring; #if 0 + char *mailbox; + mailbox = imap_mailbox_decode (astring, strlen (astring)); g_free (astring); if (!mailbox) diff --git a/camel/providers/local/camel-spool-store.c b/camel/providers/local/camel-spool-store.c index f1f264f94a..09720e4a01 100644 --- a/camel/providers/local/camel-spool-store.c +++ b/camel/providers/local/camel-spool-store.c @@ -141,7 +141,6 @@ static CamelFolder * get_folder(CamelStore * store, const char *folder_name, guint32 flags, CamelException * ex) { CamelFolder *folder = NULL; - int fd; struct stat st; char *name; |