diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index c882a092385..fcd81d1c4a0 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -551,7 +551,6 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex) new_entry.preg_options = poptions; new_entry.compile_options = coptions; #if HAVE_SETLOCALE - new_entry.locale = NULL; new_entry.tables = tables; #endif new_entry.refcount = 0; diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h index 5ce3cedcda4..e4bf79f3aa5 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -50,7 +50,6 @@ typedef struct { int capture_count; int name_count; #if HAVE_SETLOCALE - zend_string *locale; unsigned const char *tables; #endif int compile_options;