]> granicus.if.org Git - php/commitdiff
MFZE1
authorSterling Hughes <sterling@php.net>
Fri, 31 Aug 2001 21:47:26 +0000 (21:47 +0000)
committerSterling Hughes <sterling@php.net>
Fri, 31 Aug 2001 21:47:26 +0000 (21:47 +0000)
Zend/zend_execute_locks.h

index b0ff6308c0389c19564f83818c081faa557364ed..88381268a2a2dce5b81fdb156bdc76827e9aad59 100644 (file)
@@ -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;
        }
 }