]> granicus.if.org Git - php/commitdiff
- Small fix
authorAndi Gutmans <andi@php.net>
Sat, 5 Jan 2002 20:55:56 +0000 (20:55 +0000)
committerAndi Gutmans <andi@php.net>
Sat, 5 Jan 2002 20:55:56 +0000 (20:55 +0000)
Zend/zend_compile.c

index 2cab42e07071d3d02af32342f9c8833f43eef365..a88a1473d82751f1f5db4ed547b53dfb738ceae0 100644 (file)
@@ -926,7 +926,8 @@ void zend_do_begin_method_call(znode *left_bracket TSRMLS_DC)
 
        if (last_op->op2.op_type == IS_UNUSED && last_op->op2.u.EA.type == ZEND_FETCH_FROM_THIS) {
                last_op->op2 = last_op->op1;
-               memset(&last_op->op1, 0, sizeof(znode));  
+               memset(&last_op->op1, 0, sizeof(znode));
+               SET_UNUSED(last_op->op1);
                last_op->extended_value = ZEND_FETCH_FROM_THIS;
        }