From 877c54e2301dffeac4e46697070d323547cefead Mon Sep 17 00:00:00 2001 From: "andrew@webrtc.org" Date: Tue, 3 Jan 2012 18:32:01 +0000 Subject: [PATCH] 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 --- src/video_engine/vie_channel_manager.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/video_engine/vie_channel_manager.cc b/src/video_engine/vie_channel_manager.cc index 7bd22003e..8790da803 100644 --- a/src/video_engine/vie_channel_manager.cc +++ b/src/video_engine/vie_channel_manager.cc @@ -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())) {