Skip to content

Commit 81cdb8c

Browse files
committed
Remove unused code from xml/compat.c
1 parent 88e36a7 commit 81cdb8c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

ext/xml/compat.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,8 @@
1919
#include "expat_compat.h"
2020
#include "ext/libxml/php_libxml.h"
2121

22-
typedef struct _php_xml_ns {
23-
xmlNsPtr nsptr;
24-
int ref_count;
25-
void *next;
26-
void *prev;
27-
} php_xml_ns;
28-
2922
#ifdef LIBXML_EXPAT_COMPAT
3023

31-
#define IS_NS_DECL(__ns) \
32-
((__ns) != NULL && strlen(__ns) == 5 && *(__ns) == 'x' && *((__ns)+1) == 'm' && \
33-
*((__ns)+2) == 'l' && *((__ns)+3) == 'n' && *((__ns)+4) == 's')
34-
3524
static void
3625
_qualify_namespace(XML_Parser parser, const xmlChar *name, const xmlChar *URI, xmlChar **qualified)
3726
{

0 commit comments

Comments
 (0)