diff options
author | Brendan Cully <brendan@kublai.com> | 2007-04-10 19:23:16 -0700 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2007-04-10 19:23:16 -0700 |
commit | 3935ab9865c105fa171b6d5f34e5ab667f5ed7b1 (patch) | |
tree | 6888b5c6ddfc6a65248c68215ebdb3acaa58e403 /imap | |
parent | bf0d41942c2b97653a068f8a682aadd6b6201a78 (diff) |
Fix some warnings
Diffstat (limited to 'imap')
-rw-r--r-- | imap/imap.c | 3 | ||||
-rw-r--r-- | imap/util.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/imap/imap.c b/imap/imap.c index e192f841..4030c913 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -1567,9 +1567,6 @@ IMAP_STATUS* imap_mboxcache_get (IMAP_DATA* idata, const char* mbox, int create) IMAP_STATUS scache; #ifdef USE_HCACHE header_cache_t *hc = NULL; - ciss_url_t url; - char urlstr[LONG_STRING]; - char cpath[LONG_STRING]; unsigned int *uidvalidity = NULL; unsigned int *uidnext = NULL; #endif diff --git a/imap/util.c b/imap/util.c index 076c7587..fff96e22 100644 --- a/imap/util.c +++ b/imap/util.c @@ -84,7 +84,7 @@ header_cache_t* imap_hcache_open (IMAP_DATA* idata, const char* path) char mbox[LONG_STRING]; if (imap_parse_path (idata->ctx->path, &mx) < 0) - return -1; + return NULL; if (path) imap_cachepath (idata, path, mbox, sizeof (mbox)); |