mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 665549 - Fix unused variable warning for 'shutdownObserved' in mozStorageService.cpp; r=sdwilsh
This commit is contained in:
parent
8e9e496bf0
commit
c3ea1c9430
@ -63,6 +63,7 @@
|
||||
#include "nsIMemoryReporter.h"
|
||||
|
||||
#include "mozilla/FunctionTimer.h"
|
||||
#include "mozilla/Util.h"
|
||||
|
||||
namespace {
|
||||
|
||||
@ -293,7 +294,7 @@ Service::~Service()
|
||||
if (rc != SQLITE_OK)
|
||||
NS_WARNING("sqlite3 did not shutdown cleanly.");
|
||||
|
||||
bool shutdownObserved = !sXPConnect;
|
||||
DebugOnly<bool> shutdownObserved = !sXPConnect;
|
||||
NS_ASSERTION(shutdownObserved, "Shutdown was not observed!");
|
||||
|
||||
gService = nsnull;
|
||||
|
Loading…
Reference in New Issue
Block a user