Fix unused parameter error (#30482)

pull/30490/head
Vignesh Babu 3 years ago committed by GitHub
parent a5cab10d6f
commit 49f340fd16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/core/promise/sleep_test.cc

@ -105,7 +105,7 @@ TEST(Sleep, StressTest) {
auto notification = std::make_shared<absl::Notification>();
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));
}

Loading…
Cancel
Save