From ddd6e26e181df3f1ce042d1be505539fb2269a45 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Sat, 20 Apr 2019 10:39:20 -0700 Subject: [PATCH] Fix unused-variable warning in linux-only code --- fdbrpc/AsyncFileKAIO.actor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbrpc/AsyncFileKAIO.actor.h b/fdbrpc/AsyncFileKAIO.actor.h index a325cce11c..fd8922fc62 100644 --- a/fdbrpc/AsyncFileKAIO.actor.h +++ b/fdbrpc/AsyncFileKAIO.actor.h @@ -639,7 +639,7 @@ private: ACTOR static void poll( Reference ev ) { loop { - int64_t evfd_count = wait( ev->read() ); + wait(success(ev->read())); wait(delay(0, TaskDiskIOComplete));