Fix unused-variable warning in Release.

TBR=mflodman@webrtc.org
TEST=Build Debug/Release on Linux

Review URL: http://webrtc-codereview.appspot.com/338003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1316 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2012-01-03 18:32:01 +00:00
parent f175125e96
commit 877c54e230

View File

@ -473,8 +473,7 @@ bool ViEChannelManager::ChannelUsingViEEncoder(int channel_id) const {
void ViEChannelManager::ChannelsUsingViEEncoder(int channel_id,
ChannelList* channels) const {
CriticalSectionScoped cs(*channel_id_critsect_);
MapItem* encoder_item = vie_encoder_map_.Find(channel_id);
assert(encoder_item);
assert(vie_encoder_map_.Find(channel_id));
MapItem* channel_item = channel_map_.First();
while (channel_item) {
if (vie_encoder_map_.Find(channel_item->GetId())) {