mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 14:46:02 +00:00
Bug 1106050 - Fix variable ‘fifoCallbacksRegistered’ set but not used warning. r=njn
This commit is contained in:
parent
0504bfc33a
commit
4ada9ac75e
@ -7,6 +7,7 @@
|
||||
#include "mozilla/JSONWriter.h"
|
||||
#include "mozilla/UniquePtr.h"
|
||||
#include "mozilla/nsMemoryInfoDumper.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "nsDumpUtils.h"
|
||||
|
||||
#include "mozilla/unused.h"
|
||||
@ -221,7 +222,7 @@ doGCCCDump(const nsCString& aInputStr)
|
||||
bool
|
||||
SetupFifo()
|
||||
{
|
||||
static bool fifoCallbacksRegistered = false;
|
||||
static DebugOnly<bool> fifoCallbacksRegistered = false;
|
||||
|
||||
if (!FifoWatcher::MaybeCreate()) {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user