reverie/tests/c_tests
Richard Barnes 567988736d Remove unused variables in hermetic_infra/reverie/tests/c_tests/forkMany-blockSigchld.c
Summary:
LLVM-15 has a warning `-Wunused-but-set-variable` which we treat as an error because it's so often diagnostic of a code issue. Unused variables can compromise readability or, worse, performance.

This diff either (a) removes an unused variable and, possibly, it's associated code, or (b) qualifies the variable with `[[maybe_unused]]`, mostly in cases where the variable _is_ used, but, eg, in an `assert` statement that isn't present in production code.

 - If you approve of this diff, please use the "Accept & Ship" button :-)

Reviewed By: luciang

Differential Revision: D42465117

fbshipit-source-id: 64e7dec0eecaa4e3c50d4fea5ffd1c57cd8b58d7
2023-01-11 16:31:31 -08:00
..
cc_no_shlib.sh
clock-nanosleep.c
forkExec.c
forkMany-blockSigchld.c Remove unused variables in hermetic_infra/reverie/tests/c_tests/forkMany-blockSigchld.c 2023-01-11 16:31:31 -08:00
forkMany.c
forkNoWait.c
getpid-pie.c
getpid.c
nanosleep.c
open-many.c
openat1.c
signal1.c
signal2.c
signal3.c
sigprocmask1.c
thread8-cond-wait.c
thread9-cond-bcast.c
threads1.c
threads2.c
threads3.c
threads4.c
threads5.c
threads6.c
threads_dual_exit.c
threads_exit_group.c
threads_exit_mixed.c
threads_group_exit_blocking.c
threads_group_exit_stress.c
vforkExec.c
write-many.c