com php-src: Removed not used field: ext/pcre/php_pcre.c ext/pcre/php_pcre.h
| From: | Xinchen Hui | Date: | Sun, 20 Nov 2016 07:52:52 +0000 |
| Subject: | com php-src: Removed not used field: ext/pcre/php_pcre.c ext/pcre/php_pcre.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95893@lists.php.net to get a copy of this message | ||
Commit: 6ee8581a0e7097f080a9bd47138fcf526ddd07ff
Author: Xinchen Hui <laruence@gmail.com> Sun, 20 Nov 2016 15:52:52 +0800
Parents: 575285987d23678b76cd937264e624f9204d49a2
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6ee8581a0e7097f080a9bd47138fcf526ddd07ff
Log:
Removed not used field
Changed paths:
M ext/pcre/php_pcre.c
M ext/pcre/php_pcre.h
Diff:
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index c882a09..fcd81d1 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 5ce3ced..e4bf79f 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;