diff options
author | kwolekr <kwolekr@minetest.net> | 2015-01-18 23:29:19 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-01-18 23:29:19 -0500 |
commit | 38bd9e93a252cb2dd5ace6b0132514edff38b504 (patch) | |
tree | 07a891ba1f709cdb1651e7169a0e0a7f80425552 /src/connection.cpp | |
parent | e36681101efdfec3ed9cf9d70f7c5296c4124cd6 (diff) | |
download | minetest-38bd9e93a252cb2dd5ace6b0132514edff38b504.tar.gz minetest-38bd9e93a252cb2dd5ace6b0132514edff38b504.tar.bz2 minetest-38bd9e93a252cb2dd5ace6b0132514edff38b504.zip |
Fix all warnings and remove -Wno-unused-but-set cflag
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index eff8a70d1..2ee6d2c6e 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -707,14 +707,14 @@ void Channel::UpdateTimers(float dtime,bool legacy_peer) unsigned int packet_loss = 11; /* use a neutral value for initialization */ unsigned int packets_successfull = 0; - unsigned int packet_too_late = 0; + //unsigned int packet_too_late = 0; bool reasonable_amount_of_data_transmitted = false; { JMutexAutoLock internal(m_internal_mutex); packet_loss = current_packet_loss; - packet_too_late = current_packet_too_late; + //packet_too_late = current_packet_too_late; packets_successfull = current_packet_successfull; if (current_bytes_transfered > (unsigned int) (window_size*512/2)) |