Bug 385431 - mozStorageAsyncIO.cpp:559: warning: unused variable 'message'. Patch by Ryan Jones <sciguyryan@gmail.com>. r=sdwilsh

This commit is contained in:
sdwilsh@shawnwilsher.com 2007-06-22 13:24:43 -07:00
Родитель 313674e7fc
Коммит b81af09a35
1 изменённых файлов: 1 добавлений и 4 удалений

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

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