From 7acdaf6f1db90c17985b81033050e1814723d6ae Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 8 Aug 2010 18:35:12 -0400 Subject: [PATCH] Don't compile an unused function --- glib/pcre/pcre_compile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glib/pcre/pcre_compile.c b/glib/pcre/pcre_compile.c index 653ab6745..de0761ca8 100644 --- a/glib/pcre/pcre_compile.c +++ b/glib/pcre/pcre_compile.c @@ -6290,13 +6290,14 @@ Returns: pointer to compiled data block, or NULL on error, with errorptr and erroroffset set */ +#if 0 PCRE_EXP_DEFN pcre * PCRE_CALL_CONVENTION pcre_compile(const char *pattern, int options, const char **errorptr, int *erroroffset, const unsigned char *tables) { return pcre_compile2(pattern, options, NULL, errorptr, erroroffset, tables); } - +#endif PCRE_EXP_DEFN pcre * PCRE_CALL_CONVENTION pcre_compile2(const char *pattern, int options, int *errorcodeptr,