From 91407fb82d0eb4425864bb1c30e2def05ee3ea49 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 14 Nov 2017 21:44:46 +0100 Subject: [PATCH] Fix wrong return --- ext/pcre/php_pcre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index b7527aedad..b852a5fa18 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -196,8 +196,8 @@ static void php_pcre_init_pcre2(uint8_t jit) mdata = pcre2_match_data_create(PHP_PCRE_PREALLOC_MDATA_SIZE, gctx); if (!mdata) { pcre2_init_ok = 0; + return; } - return; } pcre2_init_ok = 1; -- 2.40.0