libyang BUGFIX return from void functions
diff --git a/src/tree_schema_free.c b/src/tree_schema_free.c
index 7c367b0..3b9dfdb 100644
--- a/src/tree_schema_free.c
+++ b/src/tree_schema_free.c
@@ -105,13 +105,13 @@
void
lysp_include_free_submodule(struct ly_ctx *ctx, struct lysp_include *include)
{
- return lysp_include_free_(ctx, include, 0);
+ lysp_include_free_(ctx, include, 0);
}
void
lysp_include_free(struct ly_ctx *ctx, struct lysp_include *include)
{
- return lysp_include_free_(ctx, include, 1);
+ lysp_include_free_(ctx, include, 1);
}
void
diff --git a/tests/utests/schema/test_parser_yang.c b/tests/utests/schema/test_parser_yang.c
index 80f3f76..84492c8 100644
--- a/tests/utests/schema/test_parser_yang.c
+++ b/tests/utests/schema/test_parser_yang.c
@@ -1292,13 +1292,13 @@
static void
test_anydata(void **state)
{
- return test_any(state, LY_STMT_ANYDATA);
+ test_any(state, LY_STMT_ANYDATA);
}
static void
test_anyxml(void **state)
{
- return test_any(state, LY_STMT_ANYXML);
+ test_any(state, LY_STMT_ANYXML);
}
static void