From e0f2d0f28e3074ba839f997a15997a2d878d2f76 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 8 Jul 2010 16:32:08 -0400 Subject: [PATCH] Comment out an unused function it is causing warnings, so it needs to die...bug 622600 --- glib/pcre/pcre_ucp_searchfuncs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glib/pcre/pcre_ucp_searchfuncs.c b/glib/pcre/pcre_ucp_searchfuncs.c index ce5c136c2..6d8ed565c 100644 --- a/glib/pcre/pcre_ucp_searchfuncs.c +++ b/glib/pcre/pcre_ucp_searchfuncs.c @@ -51,9 +51,9 @@ properties. */ #include "ucp.h" /* Category definitions */ - /* Table to translate from particular type value to the general value. */ +#if 0 static int ucp_gentype[] = { ucp_C, ucp_C, ucp_C, ucp_C, ucp_C, /* Cc, Cf, Cn, Co, Cs */ ucp_L, ucp_L, ucp_L, ucp_L, ucp_L, /* Ll, Lu, Lm, Lo, Lt */ @@ -92,7 +92,7 @@ _pcre_ucp_findprop(const unsigned int c, int *type_ptr, int *script_ptr) *script_ptr = g_unichar_get_script(c); return ucp_gentype[*type_ptr]; } - +#endif