Skip to content

Commit

Permalink
style: silence unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Pespiri committed Mar 13, 2024
1 parent e11d4b9 commit 388f6dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ void Connection::searchForServer() {
}

// receive incoming UDP packets
int len = m_UDP.read(m_Packet, sizeof(m_Packet));
int len __attribute__((unused)) = m_UDP.read(m_Packet, sizeof(m_Packet));

#ifdef DEBUG_NETWORK
m_Logger.trace(
Expand Down

0 comments on commit 388f6dd

Please sign in to comment.