From 3c241ea3262250262c63b92176e2eec2435cc6bb Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 14 Nov 2017 10:12:33 +0100 Subject: Fix uninitialized flag when JIT is disabled --- ext/pcre/php_pcre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pcre/php_pcre.c') 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 -- cgit v1.2.1