summaryrefslogtreecommitdiff
path: root/ext/pcntl
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2019-10-29 17:16:27 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-10-30 16:05:20 +0100
commit94938934127c43b02b23c95de99e4a08aa194122 (patch)
treea47a75d952e29688359a9340c3560a89259d3128 /ext/pcntl
parent969e7a3c8b7ee3cc51502f1ff1e751ad71fd049c (diff)
downloadphp-git-94938934127c43b02b23c95de99e4a08aa194122.tar.gz
Cleanup return values when parameter parsing is unsuccessful
Diffstat (limited to 'ext/pcntl')
-rw-r--r--ext/pcntl/pcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c
index 254c025ef8..465392f439 100644
--- a/ext/pcntl/pcntl.c
+++ b/ext/pcntl/pcntl.c
@@ -1279,7 +1279,7 @@ PHP_FUNCTION(pcntl_setpriority)
zend_long pri;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|ll", &pri, &pid, &who) == FAILURE) {
- RETURN_FALSE;
+ return;
}
if (setpriority(who, pid, pri)) {