stress2: Fix warnings

This commit is contained in:
Peter Holm 2023-05-27 10:31:00 +02:00
parent 5d1ee799de
commit acfb06062a
3 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ test(void) {
struct procctl_reaper_kill killemall;
pid_t pid;
time_t start;
int data[20], e, n, m;
int data[20], e, n __unused, m;
n = m = 0;
if (procctl(P_PID, getpid(), PROC_REAP_ACQUIRE, NULL) == -1)

View file

@ -86,7 +86,7 @@ test(void) {
struct procctl_reaper_kill killemall;
pid_t pid;
time_t start;
int data[20], e, n, m;
int data[20], e, n __unused, m;
n = m = 0;
if (procctl(P_PID, getpid(), PROC_REAP_ACQUIRE, NULL) == -1)

View file

@ -85,7 +85,7 @@ test(void) {
struct procctl_reaper_kill killemall;
pid_t pid;
time_t start;
int data[20], e, n, m;
int data[20], e, n __unused, m;
n = m = 0;
if (procctl(P_PID, getpid(), PROC_REAP_ACQUIRE, NULL) == -1)