From 2578300eeece674493c735a57d85dbc294d602d1 Mon Sep 17 00:00:00 2001 From: "stefan@webrtc.org" Date: Tue, 11 Sep 2012 14:25:05 +0000 Subject: [PATCH] Fix GCC 4.6 build error. TBR=kjellander BUG= Review URL: https://webrtc-codereview.appspot.com/794004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2742 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/modules/remote_bitrate_estimator/bitrate_estimator.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/modules/remote_bitrate_estimator/bitrate_estimator.cc b/src/modules/remote_bitrate_estimator/bitrate_estimator.cc index 2e5befad56..5c2d05ad62 100644 --- a/src/modules/remote_bitrate_estimator/bitrate_estimator.cc +++ b/src/modules/remote_bitrate_estimator/bitrate_estimator.cc @@ -71,11 +71,6 @@ WebRtc_UWord32 BitRateStats::BitRate(WebRtc_Word64 nowMs) // Calculate the average bit rate the past BITRATE_AVERAGE_WINDOW ms. // Removes any old samples from the list. EraseOld(nowMs); - WebRtc_Word64 timeOldest = nowMs; - if (_dataSamples.size() > 0) - { - timeOldest = _dataSamples.front()->_timeCompleteMs; - } return static_cast(_accumulatedBytes * 8.0f * 1000.0f / kBitrateAverageWindow + 0.5f); }