Bug 1437932 - fix unused variable error in non-diagnostic assertion builds; r=baku

This commit is contained in:
Nathan Froyd 2018-02-14 12:01:57 -05:00
Родитель c65a72ac1e
Коммит 29ed461192
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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());