Comment out an unused function

it is causing warnings, so it needs to die...bug 622600
This commit is contained in:
Matthias Clasen 2010-07-08 16:32:08 -04:00
parent 448ac22e80
commit e0f2d0f28e

View File

@ -51,9 +51,9 @@ properties. */
#include "ucp.h" /* Category definitions */ #include "ucp.h" /* Category definitions */
/* Table to translate from particular type value to the general value. */ /* Table to translate from particular type value to the general value. */
#if 0
static int ucp_gentype[] = { static int ucp_gentype[] = {
ucp_C, ucp_C, ucp_C, ucp_C, ucp_C, /* Cc, Cf, Cn, Co, Cs */ 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 */ 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); *script_ptr = g_unichar_get_script(c);
return ucp_gentype[*type_ptr]; return ucp_gentype[*type_ptr];
} }
#endif