]> granicus.if.org Git - php/commitdiff
- That doesn't seem like a smart thing to do :)
authorAndi Gutmans <andi@php.net>
Sat, 27 Jan 2001 12:29:02 +0000 (12:29 +0000)
committerAndi Gutmans <andi@php.net>
Sat, 27 Jan 2001 12:29:02 +0000 (12:29 +0000)
- I wonder if gcc optimized it out.

Zend/zend_execute.c

index dc196c9940134aa7d57de5fa778678679bb8e962..bfebe6652419b32f39beaa41562234414a48171d 100644 (file)
@@ -344,7 +344,7 @@ static inline void zend_assign_to_variable(znode *result, znode *op1, znode *op2
                                        if (variable_ptr==value) {
                                                variable_ptr->refcount++;
                                        } else if (PZVAL_IS_REF(value)) {
-                                               zval tmp = *value;
+                                               zval tmp;
 
                                                tmp = *value;
                                                zval_copy_ctor(&tmp);