mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Remove unused variable doTreeWalk.
This commit is contained in:
parent
75f075feb0
commit
fd83bf2089
1 changed files with 1 additions and 4 deletions
|
@ -325,7 +325,6 @@ void CSyncThread::startSync()
|
|||
{
|
||||
qDebug() << "starting to sync " << qApp->thread() << QThread::currentThread();
|
||||
CSYNC *csync;
|
||||
bool doTreeWalk = true;
|
||||
int proxyPort = _proxy.port();
|
||||
|
||||
_mutex.lock();
|
||||
|
@ -391,11 +390,9 @@ void CSyncThread::startSync()
|
|||
|
||||
if( csync_walk_local_tree(csync, &treewalkLocal, 0) < 0 ) {
|
||||
qDebug() << "Error in local treewalk.";
|
||||
doTreeWalk = false;
|
||||
}
|
||||
if( doTreeWalk && csync_walk_remote_tree(csync, &treewalkRemote, 0) < 0 ) {
|
||||
if( csync_walk_remote_tree(csync, &treewalkRemote, 0) < 0 ) {
|
||||
qDebug() << "Error in remote treewalk.";
|
||||
doTreeWalk = false;
|
||||
}
|
||||
|
||||
if (_needsUpdate)
|
||||
|
|
Loading…
Reference in a new issue