Index: webrtc/pc/mediasession_unittest.cc |
diff --git a/webrtc/pc/mediasession_unittest.cc b/webrtc/pc/mediasession_unittest.cc |
index f23e070797bbdcd39fd9c2e60cdf94188a425648..ca1e4b39394c4af9bb75a2fb03842662cbd32c75 100644 |
--- a/webrtc/pc/mediasession_unittest.cc |
+++ b/webrtc/pc/mediasession_unittest.cc |
@@ -192,8 +192,7 @@ GetMediaDirection(const ContentInfo* content) { |
static void AddRtxCodec(const VideoCodec& rtx_codec, |
std::vector<VideoCodec>* codecs) { |
- VideoCodec rtx; |
- ASSERT_FALSE(cricket::FindCodecById(*codecs, rtx_codec.id, &rtx)); |
+ ASSERT_FALSE(cricket::FindCodecById(*codecs, rtx_codec.id)); |
codecs->push_back(rtx_codec); |
} |