summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-01-27 12:29:02 +0000
committerAndi Gutmans <andi@php.net>2001-01-27 12:29:02 +0000
commitf67df57491234e2c8c38730d312e36caa5617b39 (patch)
tree5f940b46a77bf66f9aa6468b74c53a907e24ae2b
parenteb10bf2358e1b184e384c57d6281120b0be10235 (diff)
downloadphp-git-f67df57491234e2c8c38730d312e36caa5617b39.tar.gz
- That doesn't seem like a smart thing to do :)
- I wonder if gcc optimized it out.
-rw-r--r--Zend/zend_execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index dc196c9940..bfebe66524 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -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);