1
0
Fork 0
mirror of https://github.com/linux-usb-gadgets/libusbgx.git synced 2025-07-13 06:29:44 +03:00

tests: Mark possibly unused functions as such

This fixes compilation warnings
This commit is contained in:
Andri Yngvason 2024-06-10 18:10:20 +00:00 committed by Michael Grzeschik
parent 9b83e77ebb
commit b93da70a34

View file

@ -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();