dmitry                                   Thu, 29 Jul 2010 09:46:59 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=301679

Log:
ZEND_UNSET_* don't have results

Changed paths:
    U   php/php-src/trunk/Zend/zend_compile.c

Modified: php/php-src/trunk/Zend/zend_compile.c
===================================================================
--- php/php-src/trunk/Zend/zend_compile.c       2010-07-29 07:27:19 UTC (rev 
301678)
+++ php/php-src/trunk/Zend/zend_compile.c       2010-07-29 09:46:59 UTC (rev 
301679)
@@ -5536,12 +5536,15 @@
                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;

                }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to