summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-11-14 10:14:09 +0100
committerAnatol Belski <ab@php.net>2017-11-14 10:14:09 +0100
commit0618d7d2ee9a4c04a009ed12145794691cf7b362 (patch)
treee1e172b693c19fc26d9dfc99e9a2d4a2c2d1f08c /ext/pcre/php_pcre.c
parent5a6c49474ec5be7e195a24e4df5116bc229974e2 (diff)
parent3c241ea3262250262c63b92176e2eec2435cc6bb (diff)
downloadphp-git-0618d7d2ee9a4c04a009ed12145794691cf7b362.tar.gz
Merge branch 'PHP-7.2'
* PHP-7.2: Fix uninitialized flag when JIT is disabled
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index ed314622cc..985d2c5aef 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -2694,7 +2694,7 @@ PHPAPI void php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return
zval *entry; /* An entry in the input array */
uint32_t num_subpats; /* Number of captured subpatterns */
int count = 0; /* Count of matched subpatterns */
- uint32_t no_utf_check; /* Execution options */
+ uint32_t no_utf_check = 0; /* Execution options */
zend_string *string_key;
zend_ulong num_key;
zend_bool invert; /* Whether to return non-matching