]> granicus.if.org Git - php/commitdiff
- Remove unused variable.
authorAndi Gutmans <andi@php.net>
Wed, 22 Dec 1999 14:38:00 +0000 (14:38 +0000)
committerAndi Gutmans <andi@php.net>
Wed, 22 Dec 1999 14:38:00 +0000 (14:38 +0000)
Zend/zend_compile.c

index 9d70d255fda6d23ad5a3a55adb58ed1f1db8d8b9..802cd7e0c7029b1fe7c1e90dc7a894dcc13d3788 100644 (file)
@@ -1244,17 +1244,12 @@ void do_brk_cont(int op, znode *expr CLS_DC)
 void do_switch_cond(znode *cond CLS_DC)
 {
        zend_switch_entry switch_entry;
-       zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1];
 
        switch_entry.cond = *cond;
        switch_entry.default_case = -1;
        switch_entry.control_var = -1;
        zend_stack_push(&CG(switch_cond_stack), (void *) &switch_entry, sizeof(switch_entry));
 
-/*     if (opline->result.op_type == IS_VAR) {
-               opline->result.u.EA.type |= EXT_TYPE_UNUSED;
-       }*/
-
        do_begin_loop(CLS_C);
 
        INC_BPC(CG(active_op_array));