Don't compile an unused function
authorMatthias Clasen <mclasen@redhat.com>
Sun, 8 Aug 2010 22:35:12 +0000 (18:35 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Aug 2010 01:32:04 +0000 (21:32 -0400)
glib/pcre/pcre_compile.c

index 653ab67..de0761c 100644 (file)
@@ -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,