summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-11-14 21:44:46 +0100
committerAnatol Belski <ab@php.net>2017-11-14 21:44:46 +0100
commit91407fb82d0eb4425864bb1c30e2def05ee3ea49 (patch)
treef859027c3dee8da2ad17864ea0fc115cec4cc33c /ext/pcre/php_pcre.c
parenta57f370e590367a149b39e5908a2c84228547b00 (diff)
downloadphp-git-91407fb82d0eb4425864bb1c30e2def05ee3ea49.tar.gz
Fix wrong return
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 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;