summaryrefslogtreecommitdiff
path: root/test/ipc/unixsocket_ipc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/ipc/unixsocket_ipc.cpp')
-rw-r--r--test/ipc/unixsocket_ipc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ipc/unixsocket_ipc.cpp b/test/ipc/unixsocket_ipc.cpp
index 6fe7fd9b..60317a49 100644
--- a/test/ipc/unixsocket_ipc.cpp
+++ b/test/ipc/unixsocket_ipc.cpp
@@ -65,12 +65,12 @@ public:
}
private:
- void readyRead(IPCUnixSocket *ipc)
+ void readyRead([[maybe_unused]] IPCUnixSocket *ipc)
{
IPCUnixSocket::Payload message;
int ret;
- ret = ipc->receive(&message);
+ ret = ipc_.receive(&message);
if (ret) {
cerr << "Receive message failed: " << ret << endl;
return;