mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 19:28:36 +00:00
stress2: Fix warnings
This commit is contained in:
parent
5d1ee799de
commit
acfb06062a
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue