mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
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:
parent
817f89d586
commit
f80816d88f
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue