SyncEngine: silence coverity issue 12885

It was complaining that we use the context later in the function
but the csync context should never be null anyway
This commit is contained in:
Olivier Goffart 2014-06-20 11:36:25 +02:00
parent 817f89d586
commit f80816d88f

View file

@ -432,9 +432,7 @@ void SyncEngine::startSync()
Q_ASSERT(!_syncRunning); Q_ASSERT(!_syncRunning);
_syncRunning = true; _syncRunning = true;
if( ! _csync_ctx ) { Q_ASSERT(_csync_ctx);
qDebug() << "XXXXXXXXXXXXXXXX FAIL: do not have csync_ctx!";
}
_syncedItems.clear(); _syncedItems.clear();
_needsUpdate = false; _needsUpdate = false;