com php-src: Fix unused variable warning: Zend/zend_compile .c
| From: | Nikita Popov | Date: | Sun, 05 Oct 2014 19:58:38 +0000 |
| Subject: | com php-src: Fix unused variable warning: Zend/zend_compile .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82113@lists.php.net to get a copy of this message | ||
Commit: 292421d3a1fcefe88c3017ffdb9f889c39a6c8c1
Author: Nikita Popov <nikic@php.net> Sun, 5 Oct 2014 21:58:38 +0200
Parents: e756333bbb0dd1496ee8f51044b104f3a997aa5f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=292421d3a1fcefe88c3017ffdb9f889c39a6c8c1
Log:
Fix unused variable warning
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 0172b19..e242bac 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -2188,7 +2188,6 @@ static void zend_compile_list_assign(znode *result, zend_ast *ast, znode
*expr_n
for (i = 0; i < list->children; ++i) {
zend_ast *var_ast = list->child[i];
znode fetch_result, dim_node;
- zend_op *opline;
if (var_ast == NULL) {
continue;
@@ -2201,9 +2200,7 @@ static void zend_compile_list_assign(znode *result, zend_ast *ast, znode
*expr_n
Z_TRY_ADDREF(expr_node->u.constant);
}
- opline = zend_emit_op(&fetch_result,
- ZEND_FETCH_LIST, expr_node, &dim_node TSRMLS_CC);
-
+ zend_emit_op(&fetch_result, ZEND_FETCH_LIST, expr_node, &dim_node TSRMLS_CC);
zend_emit_assign_znode(var_ast, &fetch_result TSRMLS_CC);
}
*result = *expr_node;