libyang MAINTENANCE code formatting
diff --git a/src/printer_json.c b/src/printer_json.c
index a284844..5c80863 100644
--- a/src/printer_json.c
+++ b/src/printer_json.c
@@ -665,8 +665,9 @@
if (!is_open_array(ctx, node)) {
LY_CHECK_RET(json_print_member(ctx, node, 0));
LY_CHECK_RET(json_print_array_open(ctx, node));
- if (node->schema->nodetype == LYS_LEAFLIST)
+ if (node->schema->nodetype == LYS_LEAFLIST) {
ly_print_(ctx->out, "%*s", INDENT);
+ }
} else if (node->schema->nodetype == LYS_LEAFLIST) {
ly_print_(ctx->out, ",%s%*s", DO_FORMAT ? "\n" : "", INDENT);
}
diff --git a/tools/lint/common.c b/tools/lint/common.c
index 4f72ab8..a115c36 100644
--- a/tools/lint/common.c
+++ b/tools/lint/common.c
@@ -105,7 +105,6 @@
}
}
-
void
get_features(struct ly_set *fset, const char *module, const char ***features)
{