From 0da5203d0f3aeba6f7e9d532246877dd18c7d06b Mon Sep 17 00:00:00 2001 From: "sdwilsh%shawnwilsher.com" Date: Fri, 22 Jun 2007 20:24:43 +0000 Subject: [PATCH] Bug 385431 - mozStorageAsyncIO.cpp:559: warning: unused variable 'message'. Patch by Ryan Jones . r=sdwilsh --- storage/src/mozStorageAsyncIO.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/storage/src/mozStorageAsyncIO.cpp b/storage/src/mozStorageAsyncIO.cpp index df3e5215230..9044791b9fa 100644 --- a/storage/src/mozStorageAsyncIO.cpp +++ b/storage/src/mozStorageAsyncIO.cpp @@ -556,9 +556,6 @@ mozStorageService::InitStorageAsyncIO() nsresult mozStorageService::FlushAsyncIO() { - AsyncMessage *message = 0; - int rc; - // single threaded? nothing to do. if (!AsyncWriteThreadInstance) return NS_OK; @@ -575,7 +572,7 @@ mozStorageService::FlushAsyncIO() PR_Lock(flushLock); - rc = AsyncBarrier(flushLock, flushCond); + int rc = AsyncBarrier(flushLock, flushCond); if (rc == SQLITE_OK) { // the async thread will notify us once it reaches // the ASYNC_BARRIER operation; only wait if