Skip to content

Commit 0c2327b

Browse files
weltlingcmb69
authored andcommitted
Cleanup
(cherry picked from commit 8b3174f)
1 parent ddd73d4 commit 0c2327b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/dom/document.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2193,11 +2193,7 @@ PHP_FUNCTION(dom_document_save_html)
21932193
}
21942194
if (!outBuf->error) {
21952195
xmlOutputBufferFlush(outBuf);
2196-
#ifdef LIBXML2_NEW_BUFFER
21972196
mem = (xmlChar*) xmlBufferContent(buf);
2198-
#else
2199-
mem = (xmlChar*) outBuf->buffer->content;
2200-
#endif
22012197
if (!mem) {
22022198
RETVAL_FALSE;
22032199
} else {

0 commit comments

Comments
 (0)