Bug 1258144: warnings-as-errors bustage r=cpearce

MozReview-Commit-ID: 6CIkX6F6cl2
This commit is contained in:
Randell Jesup 2016-03-28 21:00:21 -04:00
Родитель d990461ce1
Коммит 3fd01980f6
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -7,6 +7,7 @@
#include "mozilla/dom/AudioContext.h"
#include "mozilla/SharedThreadPool.h"
#include "mozilla/ClearOnShutdown.h"
#include "mozilla/unused.h"
#include "CubebUtils.h"
#ifdef MOZ_WEBRTC
@ -227,7 +228,7 @@ void
ThreadedDriver::Start()
{
LIFECYCLE_LOG("Starting thread for a SystemClockDriver %p\n", mGraphImpl);
NS_WARN_IF(mThread);
Unused << NS_WARN_IF(mThread);
if (!mThread) { // Ensure we haven't already started it
nsCOMPtr<nsIRunnable> event = new MediaStreamGraphInitThreadRunnable(this);
// Note: mThread may be null during event->Run() if we pass to NewNamedThread! See AudioInitTask