Don't compile an unused function

This commit is contained in:
Matthias Clasen 2010-08-08 18:35:12 -04:00
parent 3fd1fc4f9a
commit 7acdaf6f1d

View File

@ -6290,13 +6290,14 @@ Returns: pointer to compiled data block, or NULL on error,
with errorptr and erroroffset set with errorptr and erroroffset set
*/ */
#if 0
PCRE_EXP_DEFN pcre * PCRE_CALL_CONVENTION PCRE_EXP_DEFN pcre * PCRE_CALL_CONVENTION
pcre_compile(const char *pattern, int options, const char **errorptr, pcre_compile(const char *pattern, int options, const char **errorptr,
int *erroroffset, const unsigned char *tables) int *erroroffset, const unsigned char *tables)
{ {
return pcre_compile2(pattern, options, NULL, errorptr, erroroffset, tables); return pcre_compile2(pattern, options, NULL, errorptr, erroroffset, tables);
} }
#endif
PCRE_EXP_DEFN pcre * PCRE_CALL_CONVENTION PCRE_EXP_DEFN pcre * PCRE_CALL_CONVENTION
pcre_compile2(const char *pattern, int options, int *errorcodeptr, pcre_compile2(const char *pattern, int options, int *errorcodeptr,