зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1437932 - fix unused variable error in non-diagnostic assertion builds; r=baku
This commit is contained in:
Родитель
c65a72ac1e
Коммит
29ed461192
|
@ -70,9 +70,11 @@ NonBlockingAsyncInputStream::Create(already_AddRefed<nsIInputStream> aInputStrea
|
|||
|
||||
MOZ_DIAGNOSTIC_ASSERT(nonBlocking);
|
||||
|
||||
#ifdef MOZ_DIAGNOSTIC_ASSERT_ENABLED
|
||||
nsCOMPtr<nsIAsyncInputStream> asyncInputStream =
|
||||
do_QueryInterface(inputStream);
|
||||
MOZ_DIAGNOSTIC_ASSERT(!asyncInputStream);
|
||||
#endif // MOZ_DIAGNOSTIC_ASSERT_ENABLED
|
||||
|
||||
RefPtr<NonBlockingAsyncInputStream> stream =
|
||||
new NonBlockingAsyncInputStream(inputStream.forget());
|
||||
|
|
Загрузка…
Ссылка в новой задаче