Bug 825105 - Fix two clang warnings in media/mtransport/. r=ekr.

--HG--
extra : rebase_source : 5a1aa4960f364f50f12c1cee1f0838202be6191d
This commit is contained in:
Nicholas Nethercote 2013-02-10 18:01:07 -08:00
parent 6da51915ea
commit 420347d889
2 changed files with 10 additions and 2 deletions

View File

@ -198,7 +198,11 @@ class NrIceCtx {
ctx_(nullptr),
peer_(nullptr),
ice_handler_vtbl_(nullptr),
ice_handler_(nullptr) {}
ice_handler_(nullptr)
{
// XXX: offerer_ will be used eventually; placate clang in the meantime.
(void)offerer_;
}
DISALLOW_COPY_ASSIGN(NrIceCtx);

View File

@ -126,7 +126,11 @@ class NrIceMediaStream {
ctx_(ctx),
name_(name),
components_(components),
stream_(nullptr) {}
stream_(nullptr)
{
// XXX: components_ will be used eventually; placate clang in the meantime.
(void)components_;
}
DISALLOW_COPY_ASSIGN(NrIceMediaStream);