[libxml2] Fix a couple of misleading indentation errors
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Fix a couple of misleading indentation errors
- Date: Mon, 28 Aug 2017 19:14:05 +0000 (UTC)
commit f19385a589ad6f8e98fd183228858e04970368a3
Author: Daniel Veillard <veillard redhat com>
Date: Mon Aug 28 20:40:19 2017 +0200
Fix a couple of misleading indentation errors
Raised by gcc as potential error, no semantic change needed but
fixed the indentation
parserInternals.c | 4 ++--
tree.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/parserInternals.c b/parserInternals.c
index ef9e56b..81b0e0f 100644
--- a/parserInternals.c
+++ b/parserInternals.c
@@ -468,8 +468,8 @@ xmlNextChar(xmlParserCtxtPtr ctxt)
c = *cur;
if (c & 0x80) {
- if (c == 0xC0)
- goto encoding_error;
+ if (c == 0xC0)
+ goto encoding_error;
if (cur[1] == 0) {
xmlParserInputGrow(ctxt->input, INPUT_CHUNK);
cur = ctxt->input->cur;
diff --git a/tree.c b/tree.c
index cf81cc6..2536442 100644
--- a/tree.c
+++ b/tree.c
@@ -4764,8 +4764,8 @@ xmlGetNodePath(const xmlNode *node)
if (occur == 0) {
tmp = cur->next;
while (tmp != NULL && occur == 0) {
- if (tmp->type == XML_COMMENT_NODE)
- occur++;
+ if (tmp->type == XML_COMMENT_NODE)
+ occur++;
tmp = tmp->next;
}
if (occur != 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]