[glib] Comment out an unused function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Comment out an unused function
- Date: Thu, 8 Jul 2010 20:33:53 +0000 (UTC)
commit e0f2d0f28e3074ba839f997a15997a2d878d2f76
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 8 16:32:08 2010 -0400
Comment out an unused function
it is causing warnings, so it needs to die...bug 622600
glib/pcre/pcre_ucp_searchfuncs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/pcre/pcre_ucp_searchfuncs.c b/glib/pcre/pcre_ucp_searchfuncs.c
index ce5c136..6d8ed56 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]