зеркало из https://github.com/mozilla/gecko-dev.git
Bug 821621 - Fix unused variable warning in PeerConnectionCtx.cpp. r=jesup
This commit is contained in:
Родитель
1812f76ddc
Коммит
6b59cd00d7
|
@ -33,13 +33,13 @@ nsresult PeerConnectionCtx::InitializeGlobal(nsIThread *mainThread) {
|
|||
} else {
|
||||
MOZ_ASSERT(gMainThread == mainThread);
|
||||
}
|
||||
bool on;
|
||||
|
||||
nsresult res;
|
||||
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
// This check fails on the unit tests because they do not
|
||||
// have the right thread behavior.
|
||||
bool on;
|
||||
res = gMainThread->IsOnCurrentThread(&on);
|
||||
NS_ENSURE_SUCCESS(res, res);
|
||||
MOZ_ASSERT(on);
|
||||
|
|
Загрузка…
Ссылка в новой задаче