summaryrefslogtreecommitdiff
path: root/test/event-thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/event-thread.cpp')
-rw-r--r--test/event-thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/event-thread.cpp b/test/event-thread.cpp
index 57526166..12021710 100644
--- a/test/event-thread.cpp
+++ b/test/event-thread.cpp
@@ -66,9 +66,9 @@ public:
}
private:
- void readReady(EventNotifier *notifier)
+ void readReady([[maybe_unused]] EventNotifier *notifier)
{
- size_ = read(notifier->fd(), data_, sizeof(data_));
+ size_ = read(notifier_->fd(), data_, sizeof(data_));
notified_ = true;
}