diff options
Diffstat (limited to 'camel/providers/imap4/camel-imap4-utils.c')
-rw-r--r-- | camel/providers/imap4/camel-imap4-utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/camel/providers/imap4/camel-imap4-utils.c b/camel/providers/imap4/camel-imap4-utils.c index c95438e95a..29ffb945fe 100644 --- a/camel/providers/imap4/camel-imap4-utils.c +++ b/camel/providers/imap4/camel-imap4-utils.c @@ -144,8 +144,7 @@ camel_imap4_get_path_delim (CamelIMAP4StoreSummary *s, const char *full_name) size_t len; char *top; - if (s->namespaces == NULL) - return '/'; + g_return_val_if_fail (s->namespaces != NULL, '/'); if ((slash = strchr (full_name, '/'))) len = (slash - full_name); |