From: Sterling Hughes Date: Fri, 31 Aug 2001 21:47:26 +0000 (+0000) Subject: MFZE1 X-Git-Tag: PRE_SUBST_Z_MACROS~277 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69c7346f0efe129b066c07377e0090ad03513471;p=php MFZE1 --- 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; } }