com php-src: Unused macros: ext/simplexml/simplexml.c

From: Date: Tue, 05 May 2015 09:25:25 +0000
Subject: com php-src: Unused macros: ext/simplexml/simplexml.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86592@lists.php.net to get a copy of this message
Commit: 7b9e4e19e1358af0154180255ec8b4f84c7a992d Author: Xinchen Hui <laruence@php.net> Tue, 5 May 2015 17:25:25 +0800 Parents: c380b2813a165ea3337954d7b7e9f7ed0c298427 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7b9e4e19e1358af0154180255ec8b4f84c7a992d Log: Unused macros Changed paths: M ext/simplexml/simplexml.c Diff: diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index b76e3ca..e71fada 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; \

« previous php.cvs (#86592) next »