From: Matthieu Gallien Date: Mon, 28 Feb 2022 13:45:36 +0000 (+0100) Subject: remove wrong assert that is blocing the run of debug client X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~17^2~104^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a7adca84e26471df3d4a097a3ef6fdd24c1a6a6c;p=nextcloud-desktop.git remove wrong assert that is blocing the run of debug client if the server has files with invalid modtime this assert will trigger even though the code is handling the situation Signed-off-by: Matthieu Gallien --- diff --git a/src/libsync/propagatedownload.cpp b/src/libsync/propagatedownload.cpp index 5bdd72d5b..bc2922070 100644 --- a/src/libsync/propagatedownload.cpp +++ b/src/libsync/propagatedownload.cpp @@ -563,7 +563,6 @@ void PropagateDownloadFile::startAfterIsEncryptedIsChecked() return checksum_header.startsWith("SHA") || checksum_header.startsWith("MD5:"); }; - Q_ASSERT(_item->_modtime > 0); if (_item->_modtime <= 0) { qCWarning(lcPropagateDownload()) << "invalid modified time" << _item->_file << _item->_modtime; }