]> granicus.if.org Git - php/commitdiff
Fixed no return statement in function returning non-void
authorXinchen Hui <laruence@php.net>
Mon, 10 Aug 2015 13:48:17 +0000 (21:48 +0800)
committerXinchen Hui <laruence@php.net>
Mon, 10 Aug 2015 13:48:17 +0000 (21:48 +0800)
Zend/zend_compile.c

index 8fd71d0aafee65b440fbbf1efc6528db13458ec5..c669c1f5cc02b5ee2f1f4261613508a387043879 100644 (file)
@@ -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);
 }
 /* }}} */