From: Dmitry Stogov Date: Tue, 25 Sep 2018 12:44:56 +0000 (+0300) Subject: Removed unused function X-Git-Tag: php-7.4.0alpha1~1821 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5edaa6f9470f40cee1b48c8e5b0a3e2654594f90;p=php Removed unused function --- diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index 41b704897c..144851f2e6 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -2158,16 +2158,6 @@ static void add_xml_array_elements(xmlNodePtr xmlParam, } } -static inline int array_num_elements(HashTable* ht) -{ - if (ht->nNumUsed && - Z_TYPE(ht->arData[ht->nNumUsed-1].val) != IS_UNDEF && - ht->arData[ht->nNumUsed-1].key == NULL) { - return ht->arData[ht->nNumUsed-1].h - 1; - } - return 0; -} - static xmlNodePtr to_xml_array(encodeTypePtr type, zval *data, int style, xmlNodePtr parent) { sdlTypePtr sdl_type = type->sdl_type;