diff --git a/src/mirall/csyncthread.cpp b/src/mirall/csyncthread.cpp index 9d28451a7..8f4e6d7c4 100644 --- a/src/mirall/csyncthread.cpp +++ b/src/mirall/csyncthread.cpp @@ -328,10 +328,6 @@ void CSyncThread::startSync() { qDebug() << Q_FUNC_INFO << "Sync started"; - static int syncsRunning = 0; - syncsRunning++; - assert(syncsRunning == 1); - qDebug() << "starting to sync " << qApp->thread() << QThread::currentThread(); CSYNC *csync; int proxyPort = _proxy.port(); @@ -423,7 +419,6 @@ void CSyncThread::startSync() emit treeWalkResult(_syncedItems); } } - syncsRunning--; qDebug() << Q_FUNC_INFO << "Sync finished"; }