aboutsummaryrefslogtreecommitdiffstats
path: root/xmlsave.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2009-09-02 14:58:13 +0200
committerDaniel Veillard <veillard@redhat.com>2009-09-02 14:58:13 +0200
commit141ebfa0282652910bc89f2f106eca408c03bd06 (patch)
tree80bec2676a82ec408116f27406c90b2141320b3d /xmlsave.c
parent1ba2aca3ebc3b47653a86849746b168a4e0bd8c6 (diff)
downloadandroid_external_libxml2-141ebfa0282652910bc89f2f106eca408c03bd06.tar.gz
android_external_libxml2-141ebfa0282652910bc89f2f106eca408c03bd06.tar.bz2
android_external_libxml2-141ebfa0282652910bc89f2f106eca408c03bd06.zip
Wrong block opening in htmlNodeDumpOutputInternal
* xmlsave.c: Jim Meyering ran clang on libxml2 and this is one of the error found, misplaced curly brace
Diffstat (limited to 'xmlsave.c')
-rw-r--r--xmlsave.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsave.c b/xmlsave.c
index 53b23e6c..c2760a8c 100644
--- a/xmlsave.c
+++ b/xmlsave.c
@@ -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;