Bug 665549 - Fix unused variable warning for 'shutdownObserved' in mozStorageService.cpp; r=sdwilsh

This commit is contained in:
Ed Morley 2011-06-23 19:01:17 -07:00
parent d44febb3ea
commit bae766be77

View File

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