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:
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 */
|
||||
|
||||
__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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue