com php-src: initialiize opline for the case it lands in default case: Zend/zend_compile.c
| From: | Anatol Belski | Date: | Mon, 10 Nov 2014 22:30:11 +0000 |
| Subject: | com php-src: initialiize opline for the case it lands in default case: Zend/zend_compile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83006@lists.php.net to get a copy of this message | ||
Commit: 09aa419d13204ffd1b4a705b8f04d6d25fc19556
Author: Anatol Belski <ab@php.net> Mon, 10 Nov 2014 17:31:31 +0100
Parents: 1e5077d1e85cf150b0aedb72da68c8e335f39841
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=09aa419d13204ffd1b4a705b8f04d6d25fc19556
Log:
initialiize opline for the case it lands in default case
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index ebbb005..c3a572a 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -5468,7 +5468,7 @@ void zend_compile_isset_or_empty(znode *result, zend_ast *ast TSRMLS_DC) /*
{{{
zend_ast *var_ast = ast->child[0];
znode var_node;
- zend_op *opline;
+ zend_op *opline = NULL;
ZEND_ASSERT(ast->kind == ZEND_AST_ISSET || ast->kind == ZEND_AST_EMPTY);