summaryrefslogtreecommitdiff
path: root/ext/dom/document.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/document.c')
-rw-r--r--ext/dom/document.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/dom/document.c b/ext/dom/document.c
index 9250b92700..0086d13c41 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -1628,9 +1628,6 @@ PHP_FUNCTION(dom_document_savexml)
doc_props = dom_get_doc_props(intern->document);
format = doc_props->formatoutput;
- if (format) {
- options = options | XML_SAVE_FORMAT;
- }
buf = xmlBufferCreate();
if (!buf) {