diff options
| author | Xinchen Hui <laruence@php.net> | 2015-05-05 17:25:25 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@php.net> | 2015-05-05 17:25:25 +0800 |
| commit | 7b9e4e19e1358af0154180255ec8b4f84c7a992d (patch) | |
| tree | 4edc17e3606d03b177dcdd8b923738469f12f839 /ext/simplexml/simplexml.c | |
| parent | c380b2813a165ea3337954d7b7e9f7ed0c298427 (diff) | |
| download | php-git-7b9e4e19e1358af0154180255ec8b4f84c7a992d.tar.gz | |
Unused macros
Diffstat (limited to 'ext/simplexml/simplexml.c')
| -rw-r--r-- | ext/simplexml/simplexml.c | 11 |
1 files changed, 0 insertions, 11 deletions
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; \ |
