]> granicus.if.org Git - php/commitdiff
- Drop dead code
authorMarcus Boerger <helly@php.net>
Sat, 6 Dec 2008 15:14:46 +0000 (15:14 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 6 Dec 2008 15:14:46 +0000 (15:14 +0000)
ext/spl/spl_engine.h

index 9ed5e8a8678edb95431caaf570a9bf8a550e5fe8..4e93497cca4910d3b91aa69d93237ec560da0937 100755 (executable)
 #include "zend_interfaces.h"
 #include "zend_unicode.h"
 
-/* {{{ zend_class_entry */
-static inline zend_class_entry *spl_get_class_entry(zval *obj TSRMLS_DC)
-{
-       if (obj && Z_TYPE_P(obj) == IS_OBJECT && Z_OBJ_HT_P(obj)->get_class_entry) {
-               return Z_OBJ_HT_P(obj)->get_class_entry(obj TSRMLS_CC);
-       } else {
-               return NULL;
-       }
-}
-/* }}} */
-
 PHPAPI void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC);
 
 PHPAPI long spl_offset_convert_to_long(zval *offset TSRMLS_DC);