diff options
author | Sfan5 <sfan5@live.de> | 2014-04-15 19:49:32 +0200 |
---|---|---|
committer | Sfan5 <sfan5@live.de> | 2014-04-15 21:34:53 +0200 |
commit | 118e2ae865bd7a0020586ef72d05bf14d66f4eae (patch) | |
tree | 5da3d9bc1d4e26e7e75f61b5ea10916161f29cba /src/connection.cpp | |
parent | d436502fa499255236350fc9204f9c508414704e (diff) | |
download | hax-minetest-server-118e2ae865bd7a0020586ef72d05bf14d66f4eae.tar.gz hax-minetest-server-118e2ae865bd7a0020586ef72d05bf14d66f4eae.zip |
Fix all warnings reported by clang
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index c77ee7f4d..32634ac89 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -212,7 +212,7 @@ SharedBuffer<u8> makeReliablePacket( ReliablePacketBuffer */ -ReliablePacketBuffer::ReliablePacketBuffer(): m_list_size(0),writeptr(0) {} +ReliablePacketBuffer::ReliablePacketBuffer(): m_list_size(0) {} void ReliablePacketBuffer::print() { @@ -1941,8 +1941,7 @@ void ConnectionSendThread::sendAsPacket(u16 peer_id, u8 channelnum, ConnectionReceiveThread::ConnectionReceiveThread(Connection* parent, unsigned int max_packet_size) : - m_connection(parent), - m_max_packet_size(max_packet_size) + m_connection(parent) { } |