]> granicus.if.org Git - php/commitdiff
These aren't necessary
authorZeev Suraski <zeev@php.net>
Sat, 31 Jul 1999 18:48:47 +0000 (18:48 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 31 Jul 1999 18:48:47 +0000 (18:48 +0000)
Zend/zend_API.h

index d1535a3ed63b069ff84b9296653c563f97b5ebc7..c8ba5e671532d5647c209db6ad5e6418ce711e5b 100644 (file)
@@ -240,9 +240,6 @@ ZEND_API int add_property_stringl(zval *arg, char *key, char *str, uint length,
                                                                                                                                                                                                                \
                if (zend_hash_find(symtable, (name), (name_length), (void **) &orig_var)==SUCCESS                               \
                        && PZVAL_IS_REF(*orig_var)) {                                                                                                                           \
-                       int locks = (*orig_var)->EA.locks;                                                                                                                      \
-                       int refcount = (*orig_var)->refcount;                                                                                                           \
-                                                                                                                                                                                                               \
                        var->refcount = (*orig_var)->refcount;                                                                                                          \
                        var->EA.locks = (*orig_var)->EA.locks;                                                                                                          \
                        var->EA.is_ref = 1;                                                                                                                                                     \