summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2016-11-20 15:52:52 +0800
committerXinchen Hui <laruence@gmail.com>2016-11-20 15:52:52 +0800
commit6ee8581a0e7097f080a9bd47138fcf526ddd07ff (patch)
tree211d87fdaf4f62432936139b3755b51138e6f71a
parent575285987d23678b76cd937264e624f9204d49a2 (diff)
downloadphp-git-6ee8581a0e7097f080a9bd47138fcf526ddd07ff.tar.gz
Removed not used field
-rw-r--r--ext/pcre/php_pcre.c1
-rw-r--r--ext/pcre/php_pcre.h1
2 files changed, 0 insertions, 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;