summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-02-27 20:26:16 +0000
committerAndi Gutmans <andi@php.net>2001-02-27 20:26:16 +0000
commitd3625c0a90fbc9ee306738d59d8c04c165377c1f (patch)
tree0bbe8b07eec14c0f5e1283690472d427b3be2b11 /Zend/zend_variables.c
parent01ed33d1b610084d7bdd206613b3351133a78e0b (diff)
downloadphp-git-d3625c0a90fbc9ee306738d59d8c04c165377c1f.tar.gz
- Nuke zval_del_ref()
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r--Zend/zend_variables.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c
index 7fed1b6fb2..fb7c1a1642 100644
--- a/Zend/zend_variables.c
+++ b/Zend/zend_variables.c
@@ -90,16 +90,6 @@ ZEND_API void _zval_dtor(zval *zvalue ZEND_FILE_LINE_DC)
}
-ZEND_API void zval_del_ref(zval **p)
-{
- (*p)->refcount--;
- if ((*p)->refcount==0) {
- zval_dtor(*p);
- FREE_ZVAL(*p);
- }
-}
-
-
ZEND_API void zval_add_ref(zval **p)
{
(*p)->refcount++;