Skip to content

Commit 152efe1

Browse files
committed
Zend/Optimizer/block_pass.c: remove useless variable declaration and assignment
src is already VAR_SOURCE(opline->op2) from before the if condition
1 parent 67c6634 commit 152efe1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/Optimizer/block_pass.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,6 @@ static void zend_optimize_block(zend_basic_block *block, zend_op_array *op_array
822822
src->extended_value == IS_STRING &&
823823
src->op1_type != IS_CONST) {
824824
/* convert T1 = CAST(STRING, X), T2 = CONCAT(Y, T1) to T2 = CONCAT(Y,X) */
825-
zend_op *src = VAR_SOURCE(opline->op2);
826825
VAR_SOURCE(opline->op2) = NULL;
827826
COPY_NODE(opline->op2, src->op1);
828827
MAKE_NOP(src);

0 commit comments

Comments
 (0)