From f8920f969fc4aeb90e5b50ec1c7aa087150cbc04 Mon Sep 17 00:00:00 2001 From: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> Date: Thu, 9 Jul 2020 21:47:19 +0200 Subject: [PATCH] Remove debug variable Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> --- src/libsync/syncengine.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libsync/syncengine.cpp b/src/libsync/syncengine.cpp index 942cae607..dda6cbb86 100644 --- a/src/libsync/syncengine.cpp +++ b/src/libsync/syncengine.cpp @@ -1044,7 +1044,6 @@ void SyncEngine::slotDiscoveryJobFinished(int discoveryResult) // See: https://github.com/nextcloud/desktop/issues/1433 // It's still unclear why we can get an empty FileMap even though folder isn't empty // For now: Re-check if folder is really empty, if not bail out - auto test = QDir(_localPath).entryInfoList(); if (_csync_ctx.data()->local.files.empty() && QDir(_localPath).entryInfoList(QDir::NoDotAndDotDot).count() > 0) { qCWarning(lcEngine) << "Received local tree with empty FileMap but sync folder isn't empty. Won't reconcile."; finalize(false); -- 2.30.2