From a7adca84e26471df3d4a097a3ef6fdd24c1a6a6c Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Mon, 28 Feb 2022 14:45:36 +0100 Subject: [PATCH] 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 --- src/libsync/propagatedownload.cpp | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.30.2