aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-message-cache.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-07-17 04:39:08 +0800
committerPeter Williams <peterw@src.gnome.org>2002-07-17 04:39:08 +0800
commit5cb61aa42f97181881ca7d4586395f099c131228 (patch)
tree2ff550e84bfec0343e9bbea3c0f1443f41082eaa /camel/providers/imap/camel-imap-message-cache.c
parent8535245dde06ffb9b5f9679ca9e5e5944fffc3e5 (diff)
downloadgsoc2013-evolution-5cb61aa42f97181881ca7d4586395f099c131228.tar
gsoc2013-evolution-5cb61aa42f97181881ca7d4586395f099c131228.tar.gz
gsoc2013-evolution-5cb61aa42f97181881ca7d4586395f099c131228.tar.bz2
gsoc2013-evolution-5cb61aa42f97181881ca7d4586395f099c131228.tar.lz
gsoc2013-evolution-5cb61aa42f97181881ca7d4586395f099c131228.tar.xz
gsoc2013-evolution-5cb61aa42f97181881ca7d4586395f099c131228.tar.zst
gsoc2013-evolution-5cb61aa42f97181881ca7d4586395f099c131228.zip
Clean up some improper usage of CamelExceptions (looking at
2002-07-16 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_sync_online): Clean up some improper usage of CamelExceptions (looking at camel_exception_is_set when ex = NULL). * providers/imap/camel-imap-store.c (get_folder_online): Here too. * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_new): Nothing sets the exception so don't bother to check it at the end of this function. Prevents a warning about checking a NULL exception's value. svn path=/trunk/; revision=17482
Diffstat (limited to 'camel/providers/imap/camel-imap-message-cache.c')
-rw-r--r--camel/providers/imap/camel-imap-message-cache.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/camel/providers/imap/camel-imap-message-cache.c b/camel/providers/imap/camel-imap-message-cache.c
index 0138441b3b..b29a2280ef 100644
--- a/camel/providers/imap/camel-imap-message-cache.c
+++ b/camel/providers/imap/camel-imap-message-cache.c
@@ -190,11 +190,6 @@ camel_imap_message_cache_new (const char *path, CamelFolderSummary *summary,
}
g_ptr_array_free (deletes, TRUE);
- if (camel_exception_is_set (ex)) {
- camel_object_unref (CAMEL_OBJECT (cache));
- return NULL;
- }
-
return cache;
}