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 update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
clock-nanosleep.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
forkExec.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
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 Remove unused variables in hermetic_infra/reverie/tests/c_tests/forkMany.c 2023-01-11 16:27:54 -08:00
forkNoWait.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
getpid-pie.c Get tests building under aarch64 2022-10-27 10:56:09 -07:00
getpid.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
nanosleep.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
open-many.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
openat1.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
signal1.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
signal2.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
signal3.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
sigprocmask1.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
thread8-cond-wait.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
thread9-cond-bcast.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
threads1.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
threads2.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
threads3.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
threads4.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
threads5.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
threads6.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
threads_dual_exit.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
threads_exit_group.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
threads_exit_mixed.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
threads_group_exit_blocking.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
threads_group_exit_stress.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
vforkExec.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00
write-many.c update hermetic_infra/** files with correct license header - 1/x 2022-10-26 12:18:14 -07:00