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
Родитель 8e9e496bf0
Коммит c3ea1c9430
1 изменённых файлов: 2 добавлений и 1 удалений

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

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