Skip to content

Commit

Permalink
- Beautify by using the standard #define.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Gutmans committed Nov 11, 2000
1 parent b69dd89 commit 86a13dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Zend/zend_opcode.c
Expand Up @@ -189,7 +189,7 @@ void init_op(zend_op *op CLS_DC)
{
memset(&op->result, 0, sizeof(znode));
op->lineno = CG(zend_lineno);
op->result.op_type = IS_UNUSED;
SET_UNUSED(op->result);
op->extended_value = 0;
memset(&op->op1, 0, sizeof(znode));
memset(&op->op2, 0, sizeof(znode));
Expand Down Expand Up @@ -260,8 +260,8 @@ static void zend_update_extended_info(zend_op_array *op_array CLS_DC)
}
opline = get_next_op(op_array CLS_CC);
opline->opcode = ZEND_EXT_STMT;
opline->op1.op_type = IS_UNUSED;
opline->op2.op_type = IS_UNUSED;
SET_UNUSED(opline->op1);
SET_UNUSED(opline->op2);
if (op_array->last>0) {
opline->lineno= op_array->opcodes[op_array->last-2].lineno;
}
Expand Down

0 comments on commit 86a13dd

Please sign in to comment.