summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_execute_locks.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/zend_execute_locks.h b/Zend/zend_execute_locks.h
index b0ff6308c0..88381268a2 100644
--- a/Zend/zend_execute_locks.h
+++ b/Zend/zend_execute_locks.h
@@ -5,18 +5,18 @@
static inline void zend_pzval_lock_func(zval *z)
{
- ((z)->refcount++);
+ z->refcount++;
}
#define PZVAL_UNLOCK(z) zend_pzval_unlock_func(z TSRMLS_CC)
static inline void zend_pzval_unlock_func(zval *z TSRMLS_DC)
{
- ((z)->refcount--);
- if (!(z)->refcount) {
- (z)->refcount = 1;
- (z)->is_ref = 0;
- EG(garbage)[EG(garbage_ptr)++] = (z);
+ z->refcount--;
+ if (!z->refcount) {
+ z->refcount = 1;
+ z->is_ref = 0;
+ EG(garbage)[EG(garbage_ptr)++] = z;
}
}