schema MAINTENANCE code formatting
diff --git a/src/schema_compile_amend.c b/src/schema_compile_amend.c
index 240804c..8a45764 100644
--- a/src/schema_compile_amend.c
+++ b/src/schema_compile_amend.c
@@ -1416,7 +1416,7 @@
if (pnode) {
/* compare on the last parsed-only node */
- if (pnode_mod != mod || ly_strncmp(pnode->name, name, name_len)) {
+ if ((pnode_mod != mod) || ly_strncmp(pnode->name, name, name_len)) {
return 0;
}
} else {
diff --git a/src/tree_schema_helpers.c b/src/tree_schema_helpers.c
index 61b7c89..36b2c50 100644
--- a/src/tree_schema_helpers.c
+++ b/src/tree_schema_helpers.c
@@ -1280,7 +1280,7 @@
return NULL;
}
- switch(node->nodetype) {
+ switch (node->nodetype) {
case LYS_CONTAINER:
return &((struct lysp_node_container *)node)->musts;
case LYS_LEAF:
@@ -1322,7 +1322,7 @@
return NULL;
}
- switch(node->nodetype) {
+ switch (node->nodetype) {
case LYS_CONTAINER:
return &((struct lysp_node_container *)node)->when;
case LYS_CHOICE:
@@ -1478,7 +1478,7 @@
return NULL;
}
- switch(node->nodetype) {
+ switch (node->nodetype) {
case LYS_CONTAINER:
return &((struct lysc_node_container *)node)->musts;
case LYS_LEAF:
@@ -1520,7 +1520,7 @@
return NULL;
}
- switch(node->nodetype) {
+ switch (node->nodetype) {
case LYS_CONTAINER:
return &((struct lysc_node_container *)node)->when;
case LYS_CHOICE: