com php-src: Remove unused variable: Zend/zend_compile.c
| From: | Nikita Popov | Date: | Fri, 13 Feb 2015 14:33:50 +0000 |
| Subject: | com php-src: Remove unused variable: Zend/zend_compile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84861@lists.php.net to get a copy of this message | ||
Commit: 03ded8c7ea9b8c2ee3e18b53fcadc55851b7b43a
Author: Nikita Popov <nikic@php.net> Fri, 13 Feb 2015 15:33:50 +0100
Parents: 4498d34aeaadcbc2ab64b9c0f40f336bf363b2d6
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=03ded8c7ea9b8c2ee3e18b53fcadc55851b7b43a
Log:
Remove unused variable
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index d4e71aa..ba5046f 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -5838,7 +5838,7 @@ void zend_compile_class_const(znode *result, zend_ast *ast) /* {{{ */
zend_ast *const_ast = ast->child[1];
znode class_node, const_node;
- zend_op *opline, *class_op = NULL;
+ zend_op *opline;
zend_string *resolved_name;
zend_eval_const_expr(&class_ast);
@@ -5860,7 +5860,7 @@ void zend_compile_class_const(znode *result, zend_ast *ast) /* {{{ */
if (class_ast->kind == ZEND_AST_ZVAL) {
zend_string_release(resolved_name);
}
- class_op = zend_compile_class_ref(&class_node, class_ast);
+ zend_compile_class_ref(&class_node, class_ast);
}
zend_compile_expr(&const_node, const_ast);