From 38bd9e93a252cb2dd5ace6b0132514edff38b504 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 18 Jan 2015 23:29:19 -0500 Subject: Fix all warnings and remove -Wno-unused-but-set cflag --- src/connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/connection.cpp') 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)) -- cgit v1.2.3