selftests/nolibc: avoid unused parameter warnings

This warning will be enabled later so avoid triggering it.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
This commit is contained in:
Thomas Weißschuh 2023-08-03 09:28:53 +02:00 committed by Willy Tarreau
parent 17e66f235e
commit c8d078153f

View File

@ -1108,7 +1108,8 @@ static int smash_stack(void)
return 1;
}
static int run_protection(int min, int max)
static int run_protection(int min __attribute__((unused)),
int max __attribute__((unused)))
{
pid_t pid;
int llen = 0, status;