summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-11-14 10:12:33 +0100
committerAnatol Belski <ab@php.net>2017-11-14 10:12:55 +0100
commit3c241ea3262250262c63b92176e2eec2435cc6bb (patch)
tree1b04a5806ca79c2ea38513c14ba48a907f989809 /ext/pcre/php_pcre.c
parent0a45e8f096a04464bda6277c6f3d0b5461737a27 (diff)
downloadphp-git-3c241ea3262250262c63b92176e2eec2435cc6bb.tar.gz
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 44b5ff55b0..c71335fe26 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -2537,7 +2537,7 @@ PHPAPI void php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return
int *offsets; /* Array of subpattern offsets */
int size_offsets; /* Size of the offsets array */
int count = 0; /* Count of matched subpatterns */
- int no_utf_check; /* Execution options */
+ int no_utf_check = 0; /* Execution options */
zend_string *string_key;
zend_ulong num_key;
zend_bool invert; /* Whether to return non-matching