diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index ee7f7ae3a847a..29acbc67b438b 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -1355,6 +1355,8 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo( << "but looks odd, keeping"; item->_instruction = CSYNC_INSTRUCTION_IGNORE; + Q_ASSERT(false); + return; } @@ -1376,6 +1378,7 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo( item->_direction = SyncFileItem::Down; // this flag needs to be unset, otherwise a folder would get marked as new in the processSubJobs _childModified = false; + Q_ASSERT(false); }; // Check if it is a move