1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

Wrong block opening in htmlNodeDumpOutputInternal

* xmlsave.c: Jim Meyering ran clang on libxml2 and this is one of
  the error found, misplaced curly brace
This commit is contained in:
Daniel Veillard 2009-09-02 14:58:13 +02:00
parent 1ba2aca3eb
commit 141ebfa028

View File

@ -690,8 +690,8 @@ htmlNodeDumpOutputInternal(xmlSaveCtxtPtr ctxt, xmlNodePtr cur) {
xmlInitParser();
doc = cur->doc; {
if (doc != NULL)
doc = cur->doc;
if (doc != NULL) {
oldenc = doc->encoding;
if (ctxt->encoding != NULL) {
doc->encoding = BAD_CAST ctxt->encoding;