summaryrefslogtreecommitdiff
path: root/ext/xml/php_xml.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-01-18 19:28:10 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-01-18 19:28:10 +0000
commit72b356c1bccb511e9a3414cbfe6ff25b5a20b91f (patch)
treeb5ac19d75d629c064e8e68bd3182b594760f33be /ext/xml/php_xml.h
parent94c25df5923aa6d91c0431fdde940afd3d843f08 (diff)
downloadphp-git-72b356c1bccb511e9a3414cbfe6ff25b5a20b91f.tar.gz
Removed pointless memory allocation checks.
Diffstat (limited to 'ext/xml/php_xml.h')
-rw-r--r--ext/xml/php_xml.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/xml/php_xml.h b/ext/xml/php_xml.h
index b1232c2c0b..2504f8b6c2 100644
--- a/ext/xml/php_xml.h
+++ b/ext/xml/php_xml.h
@@ -98,10 +98,6 @@ enum php_xml_option {
PHP_XML_OPTION_SKIP_WHITE
};
-#define RETURN_OUT_OF_MEMORY \
- php_error(E_WARNING, "Out of memory");\
- RETURN_FALSE
-
/* for xml_parse_into_struct */
#define XML_MAXLEVEL 255 /* XXX this should be dynamic */