summaryrefslogtreecommitdiff
path: root/libc/test/UnitTest/LibcDeathTestExecutors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/test/UnitTest/LibcDeathTestExecutors.cpp')
-rw-r--r--libc/test/UnitTest/LibcDeathTestExecutors.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/test/UnitTest/LibcDeathTestExecutors.cpp b/libc/test/UnitTest/LibcDeathTestExecutors.cpp
index 943e2c23c5fd..5f8d7b86a518 100644
--- a/libc/test/UnitTest/LibcDeathTestExecutors.cpp
+++ b/libc/test/UnitTest/LibcDeathTestExecutors.cpp
@@ -22,7 +22,8 @@ namespace LIBC_NAMESPACE_DECL {
namespace testing {
bool Test::testProcessKilled(testutils::FunctionCaller *Func, int Signal,
- const char *LHSStr, const char *RHSStr,
+ const char *LHSStr,
+ [[maybe_unused]] const char *RHSStr,
internal::Location Loc) {
testutils::ProcessStatus Result =
testutils::invoke_in_subprocess(Func, TIMEOUT_MS);