Fix comparison-always-true warning with -Wextra.

TEST=build on Linux with -Wextra.

Review URL: https://webrtc-codereview.appspot.com/353005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1456 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2012-01-18 19:41:40 +00:00
parent ad1927d368
commit 267ca3162b

View File

@ -108,7 +108,7 @@ int32_t TransmissionBucket::GetNextPacket() {
bytes_rem_total_ -= num_bytes;
bytes_rem_interval_ -= num_bytes;
assert(accumulator_ - num_bytes >= 0);
assert(accumulator_ >= num_bytes);
accumulator_ -= num_bytes;
packets_.erase(packets_.begin());