mirror of
https://github.com/linux-usb-gadgets/libusbgx.git
synced 2025-07-13 20:59:43 +03:00
tests: Mark possibly unused functions as such
This fixes compilation warnings
This commit is contained in:
parent
9b83e77ebb
commit
b93da70a34
1 changed files with 2 additions and 0 deletions
|
@ -2585,6 +2585,7 @@ static int gen_test_config(FILE *output)
|
||||||
|
|
||||||
#endif /* HAS_LIBCONFIG */
|
#endif /* HAS_LIBCONFIG */
|
||||||
|
|
||||||
|
__attribute__((unused))
|
||||||
static int lookup_test(const char *name)
|
static int lookup_test(const char *name)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -2595,6 +2596,7 @@ static int lookup_test(const char *name)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__attribute__((unused))
|
||||||
static void test_skipped(void **state)
|
static void test_skipped(void **state)
|
||||||
{
|
{
|
||||||
skip();
|
skip();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue