From: Dmitry Stogov Date: Thu, 29 Jul 2010 09:46:59 +0000 (+0000) Subject: ZEND_UNSET_* don't have results X-Git-Tag: php-5.4.0alpha1~191^2~1165 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6443445f2533ce98b401ce914054f490b5bdba7b;p=php ZEND_UNSET_* don't have results --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index ce19bd3cd8..f8efe8c43e 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -5536,12 +5536,15 @@ void zend_do_unset(const znode *variable TSRMLS_DC) /* {{{ */ switch (last_op->opcode) { case ZEND_FETCH_UNSET: last_op->opcode = ZEND_UNSET_VAR; + SET_UNUSED(last_op->result); break; case ZEND_FETCH_DIM_UNSET: last_op->opcode = ZEND_UNSET_DIM; + SET_UNUSED(last_op->result); break; case ZEND_FETCH_OBJ_UNSET: last_op->opcode = ZEND_UNSET_OBJ; + SET_UNUSED(last_op->result); break; }