com php-src: Fixed no return statement in function returning non-void: Zend/zend_compile.c
| From: | Anatol Belski | Date: | Mon, 10 Aug 2015 13:48:17 +0000 |
| Subject: | com php-src: Fixed no return statement in function returning non-void: Zend/zend_compile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88617@lists.php.net to get a copy of this message | ||
Commit: 87a5f2c4862d823c16b562103a9b83ae732b5ec6
Author: Xinchen Hui <laruence@php.net> Mon, 10 Aug 2015 21:48:17 +0800
Parents: aaf76387064e0ed16464bc843b9d31041bf831f0
Branches: PHP-7.0.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=87a5f2c4862d823c16b562103a9b83ae732b5ec6
Log:
Fixed no return statement in function returning non-void
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 8fd71d0..c669c1f 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);
}
/* }}} */