Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
(cherry picked from commit 8b3174f)
  • Loading branch information
weltling authored and cmb69 committed Aug 17, 2018
1 parent ddd73d4 commit 0c2327b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ext/dom/document.c
Original file line number Diff line number Diff line change
Expand Up @@ -2193,11 +2193,7 @@ PHP_FUNCTION(dom_document_save_html)
}
if (!outBuf->error) {
xmlOutputBufferFlush(outBuf);
#ifdef LIBXML2_NEW_BUFFER
mem = (xmlChar*) xmlBufferContent(buf);
#else
mem = (xmlChar*) outBuf->buffer->content;
#endif
if (!mem) {
RETVAL_FALSE;
} else {
Expand Down

0 comments on commit 0c2327b

Please sign in to comment.