1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-14 13:58:27 +03:00

Fix a couple of misleading indentation errors

Raised by gcc as potential error, no semantic change needed but
fixed the indentation
This commit is contained in:
Daniel Veillard 2017-08-28 20:40:19 +02:00
parent dbb828feb9
commit f19385a589
2 changed files with 4 additions and 4 deletions

View File

@ -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;

4
tree.c
View File

@ -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)