diff --git a/test/core/promise/sleep_test.cc b/test/core/promise/sleep_test.cc index bc29a56c31d..3e97353ce3e 100644 --- a/test/core/promise/sleep_test.cc +++ b/test/core/promise/sleep_test.cc @@ -105,7 +105,7 @@ TEST(Sleep, StressTest) { auto notification = std::make_shared(); auto activity = MakeActivity( Sleep(exec_ctx.Now() + Duration::Seconds(1)), ExecCtxWakeupScheduler(), - [notification](absl::Status r) { notification->Notify(); }); + [notification](absl::Status /*r*/) { notification->Notify(); }); notifications.push_back(std::move(notification)); activities.push_back(std::move(activity)); }