From: Xinchen Hui Date: Tue, 5 May 2015 09:25:25 +0000 (+0800) Subject: Unused macros X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b9e4e19e1358af0154180255ec8b4f84c7a992d;p=php Unused macros --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index b76e3ca167..e71fadaa13 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -86,17 +86,6 @@ static void _node_as_zval(php_sxe_object *sxe, xmlNodePtr node, zval *value, SXE } /* }}} */ -#define APPEND_PREV_ELEMENT(__c, __v) \ - if ((__c) == 1) { \ - array_init(return_value); \ - add_next_index_zval(return_value, __v); \ - } - -#define APPEND_CUR_ELEMENT(__c, __v) \ - if (++(__c) > 1) { \ - add_next_index_zval(return_value, __v); \ - } - #define GET_NODE(__s, __n) { \ if ((__s)->node && (__s)->node->node) { \ __n = (__s)->node->node; \