summaryrefslogtreecommitdiff
path: root/ext/intl/transliterator
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-07-15 23:09:18 +0200
committerNikita Popov <nikic@php.net>2016-07-16 23:16:43 +0200
commit29af302395923de0a701d61172051d3b637744c8 (patch)
tree7bbe8f618e1eccf4b655b8458779cc5751fc737f /ext/intl/transliterator
parentcbba1fff3f81bb7c4e6455d2170563e42cca559d (diff)
downloadphp-git-29af302395923de0a701d61172051d3b637744c8.tar.gz
Remove useless dtor handlers in intl
These are only indirections to the default handler
Diffstat (limited to 'ext/intl/transliterator')
-rw-r--r--ext/intl/transliterator/transliterator_class.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/intl/transliterator/transliterator_class.c b/ext/intl/transliterator/transliterator_class.c
index beeee41d8e..4325a45d06 100644
--- a/ext/intl/transliterator/transliterator_class.c
+++ b/ext/intl/transliterator/transliterator_class.c
@@ -97,14 +97,6 @@ static void transliterator_object_destroy( Transliterator_object* to )
}
/* }}} */
-/* {{{ Transliterator_objects_dtor */
-static void Transliterator_objects_dtor(
- zend_object *object )
-{
- zend_objects_destroy_object( object );
-}
-/* }}} */
-
/* {{{ Transliterator_objects_free */
static void Transliterator_objects_free( zend_object *object )
{
@@ -348,7 +340,6 @@ void transliterator_register_Transliterator_class( void )
memcpy( &Transliterator_handlers, zend_get_std_object_handlers(),
sizeof Transliterator_handlers );
Transliterator_handlers.offset = XtOffsetOf(Transliterator_object, zo);
- Transliterator_handlers.dtor_obj = Transliterator_objects_dtor;
Transliterator_handlers.free_obj = Transliterator_objects_free;
Transliterator_handlers.clone_obj = Transliterator_clone_obj;
Transliterator_handlers.get_property_ptr_ptr = Transliterator_get_property_ptr_ptr;