uncrustify FORMAT minor problems in recent changes
diff --git a/src/hash_table.h b/src/hash_table.h
index 575bc9f..22f49c4 100644
--- a/src/hash_table.h
+++ b/src/hash_table.h
@@ -246,5 +246,4 @@
*/
LY_ERR lyht_remove_with_resize_cb(struct hash_table *ht, void *val_p, uint32_t hash, values_equal_cb resize_val_equal);
-
#endif /* LY_HASH_TABLE_H_ */
diff --git a/src/log.c b/src/log.c
index 3a96e4a..d6032c4 100644
--- a/src/log.c
+++ b/src/log.c
@@ -313,7 +313,6 @@
return;
}
-
/* store the error/warning (if we need to store errors internally, it does not matter what are the user log options) */
if ((level < LY_LLVRB) && ctx && (ly_log_opts & LY_LOSTORE)) {
assert(format);
diff --git a/src/parser_yang.c b/src/parser_yang.c
index 009020f..18c76bc 100644
--- a/src/parser_yang.c
+++ b/src/parser_yang.c
@@ -1553,7 +1553,6 @@
CHECK_NONEMPTY(ctx, word_len, "when");
INSERT_WORD_RET(ctx, buf, when->cond, word, word_len);
-
YANG_READ_SUBSTMT_FOR(ctx, in, kw, word, word_len, ret, ) {
switch (kw) {
case LY_STMT_DESCRIPTION:
diff --git a/src/tree_schema_compile.c b/src/tree_schema_compile.c
index a81609f..02f40a0 100644
--- a/src/tree_schema_compile.c
+++ b/src/tree_schema_compile.c
@@ -4945,7 +4945,7 @@
for (i = 0; i < ctx->uses_augs.count; ++i) {
LOGVAL(ctx->ctx, LY_VLOG_STR, ctx->path, LYVE_REFERENCE,
"Augment target node \"%s\" in grouping \"%s\" was not found.",
- ((struct lysc_augment *)ctx->uses_augs.objs[i])->nodeid->expr, grp->name);
+ ((struct lysc_augment *)ctx->uses_augs.objs[i])->nodeid->expr, grp->name);
ret = LY_ENOTFOUND;
}
LY_CHECK_GOTO(ret, cleanup);
@@ -4954,7 +4954,7 @@
for (i = 0; i < ctx->uses_rfns.count; ++i) {
LOGVAL(ctx->ctx, LY_VLOG_STR, ctx->path, LYVE_REFERENCE,
"Refine(s) target node \"%s\" in grouping \"%s\" was not found.",
- ((struct lysc_refine *)ctx->uses_rfns.objs[i])->nodeid->expr, grp->name);
+ ((struct lysc_refine *)ctx->uses_rfns.objs[i])->nodeid->expr, grp->name);
ret = LY_ENOTFOUND;
}
LY_CHECK_GOTO(ret, cleanup);
@@ -7009,7 +7009,7 @@
node = (struct lysc_node *)calloc(1, sizeof(struct lysc_node_choice));
node_compile_spec = lys_compile_node_choice;
break;
- case LYS_CASE:
+ case LYS_CASE:
node = (struct lysc_node *)calloc(1, sizeof(struct lysc_node_case));
node_compile_spec = lys_compile_node_case;
break;
diff --git a/src/tree_schema_helpers.c b/src/tree_schema_helpers.c
index 142f2cb..7b15269 100644
--- a/src/tree_schema_helpers.c
+++ b/src/tree_schema_helpers.c
@@ -1666,4 +1666,3 @@
return 1;
}
-