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:
parent
17e66f235e
commit
c8d078153f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user