From 5edaa6f9470f40cee1b48c8e5b0a3e2654594f90 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 25 Sep 2018 15:44:56 +0300 Subject: [PATCH] Removed unused function --- ext/soap/php_encoding.c | 10 ---------- 1 file changed, 10 deletions(-) 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; -- 2.40.0