[glib] Don't compile an unused function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Don't compile an unused function
- Date: Mon, 9 Aug 2010 01:33:48 +0000 (UTC)
commit 7acdaf6f1db90c17985b81033050e1814723d6ae
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 8 18:35:12 2010 -0400
Don't compile an unused function
glib/pcre/pcre_compile.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/glib/pcre/pcre_compile.c b/glib/pcre/pcre_compile.c
index 653ab67..de0761c 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]