summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/simplexml/simplexml.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index e7eafa32d9..464a77be26 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -368,15 +368,6 @@ sxe_property_exists(zval *object, zval *member, int check_empty TSRMLS_DC)
GET_NODE(sxe, node);
if (node) {
- attr = node->properties;
- while (attr) {
- if (!xmlStrcmp(attr->name, name)) {
- return 1;
- }
-
- attr = attr->next;
- }
-
node = node->children;
while (node) {
SKIP_TEXT(node);