From 6ee8581a0e7097f080a9bd47138fcf526ddd07ff Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sun, 20 Nov 2016 15:52:52 +0800 Subject: [PATCH] Removed not used field --- ext/pcre/php_pcre.c | 1 - ext/pcre/php_pcre.h | 1 - 2 files changed, 2 deletions(-) diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index c882a09238..fcd81d1c4a 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 5ce3cedcda..e4bf79f3aa 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; -- 2.40.0