From: alex-z Date: Thu, 9 Dec 2021 09:11:02 +0000 (+0200) Subject: Do not crash on findAndCancelDeletedJob. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~17^2~239^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6381acf85beba4bdf0aacbc9c18c04b20eb6d5af;p=nextcloud-desktop.git Do not crash on findAndCancelDeletedJob. Signed-off-by: alex-z --- diff --git a/src/libsync/discoveryphase.cpp b/src/libsync/discoveryphase.cpp index 5206f7e90..aea3780e2 100644 --- a/src/libsync/discoveryphase.cpp +++ b/src/libsync/discoveryphase.cpp @@ -185,7 +185,7 @@ QPair DiscoveryPhase::findAndCancelDeletedJob(const QString &o qCWarning(lcDiscovery) << "instruction" << instruction; qCWarning(lcDiscovery) << "(*it)->_type" << (*it)->_type; qCWarning(lcDiscovery) << "(*it)->_isRestoration " << (*it)->_isRestoration; - ENFORCE(false); + Q_ASSERT(false); } (*it)->_instruction = CSYNC_INSTRUCTION_NONE; result = true;