From: Xinchen Hui Date: Mon, 10 Aug 2015 13:48:17 +0000 (+0800) Subject: Fixed no return statement in function returning non-void X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87a5f2c4862d823c16b562103a9b83ae732b5ec6;p=php Fixed no return statement in function returning non-void --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 8fd71d0aaf..c669c1f5cc 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -3505,7 +3505,7 @@ static int zend_handle_loops_and_finally_ex(zend_long depth) /* {{{ */ static int zend_handle_loops_and_finally(void) /* {{{ */ { - zend_handle_loops_and_finally_ex(zend_stack_count(&CG(loop_var_stack)) + 1); + return zend_handle_loops_and_finally_ex(zend_stack_count(&CG(loop_var_stack)) + 1); } /* }}} */