Skip to content

Commit effc3aa

Browse files
committed
Fix compile warning
1 parent 5089af3 commit effc3aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class TestableTcpServer : public urcl::comm::TCPServer
7373
connection_callback_ = true;
7474
}
7575

76-
void messageCallback(const socket_t filedescriptor, char* buffer, int nbytesrecv)
76+
void messageCallback([[maybe_unused]] const socket_t filedescriptor, char* buffer, int nbytesrecv)
7777
{
7878
std::lock_guard<std::mutex> lk(message_mutex_);
7979
received_message_ = std::string(buffer);

0 commit comments

Comments
 (0)