From b93da70a342b0599f1177925d6a8bc17c02aa889 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Mon, 10 Jun 2024 18:10:20 +0000 Subject: [PATCH] tests: Mark possibly unused functions as such This fixes compilation warnings --- tests/test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test.c b/tests/test.c index 0e91d3e..391693e 100644 --- a/tests/test.c +++ b/tests/test.c @@ -2585,6 +2585,7 @@ static int gen_test_config(FILE *output) #endif /* HAS_LIBCONFIG */ +__attribute__((unused)) static int lookup_test(const char *name) { int i; @@ -2595,6 +2596,7 @@ static int lookup_test(const char *name) return -1; } +__attribute__((unused)) static void test_skipped(void **state) { skip();