aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-search-private.c
diff options
context:
space:
mode:
author5 <NotZed@Ximian.com>2001-10-26 08:37:52 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-26 08:37:52 +0800
commit5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce (patch)
treee60b95d8f22e5b1408919f13f5965ba57082ea23 /camel/camel-search-private.c
parentb822bc381f5370d64329d8892c8745a8708b214c (diff)
downloadgsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar
gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar.gz
gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar.bz2
gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar.lz
gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar.xz
gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.tar.zst
gsoc2013-evolution-5b449d9ca73f3b7428f18c75af49d9d0cf8f36ce.zip
Remove the stupid warning that should never have been there in the first
2001-10-25 <NotZed@Ximian.com> * camel-search-private.c (utf8_get): Remove the stupid warning that should never have been there in the first place. * camel-sasl-digest-md5.c (digest_response): s/iconv/e_iconv/ * camel-pgp-context.c (pgp_verify): " * camel-mime-utils.c (rfc2047_decode_word, rfc2047_decode_word, append_8bit, rfc2047_encode_word, rfc2184_decode, header_decode_param): " * camel-mime-part-utils.c (convert_buffer, convert_buffer): " * camel-mime-filter-charset.c (reset, complete, filter): " svn path=/trunk/; revision=14113
Diffstat (limited to 'camel/camel-search-private.c')
-rw-r--r--camel/camel-search-private.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/camel/camel-search-private.c b/camel/camel-search-private.c
index 3369409936..8aaccbf2e7 100644
--- a/camel/camel-search-private.c
+++ b/camel/camel-search-private.c
@@ -199,8 +199,9 @@ utf8_get (const char **inp)
{
const unsigned char *p = *inp;
gunichar c;
-
- g_return_val_if_fail (p != NULL, 0);
+
+ if (p == NULL)
+ return 0;
c = g_utf8_get_char (p);
*inp = g_unichar_validate (c) ? g_utf8_next_char (p) : NULL;