From f80816d88f35f36bdebaa51dfb51b80b3b2d334d Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Fri, 20 Jun 2014 11:36:25 +0200 Subject: [PATCH] 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 --- src/mirall/syncengine.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mirall/syncengine.cpp b/src/mirall/syncengine.cpp index 65267d186..7da259c42 100644 --- a/src/mirall/syncengine.cpp +++ b/src/mirall/syncengine.cpp @@ -432,9 +432,7 @@ void SyncEngine::startSync() Q_ASSERT(!_syncRunning); _syncRunning = true; - if( ! _csync_ctx ) { - qDebug() << "XXXXXXXXXXXXXXXX FAIL: do not have csync_ctx!"; - } + Q_ASSERT(_csync_ctx); _syncedItems.clear(); _needsUpdate = false;