diff --git a/src/libsync/discoveryphase.cpp b/src/libsync/discoveryphase.cpp index f97c57a27..767a6a981 100644 --- a/src/libsync/discoveryphase.cpp +++ b/src/libsync/discoveryphase.cpp @@ -377,13 +377,11 @@ void DiscoverySingleDirectoryJob::directoryListingIteratedSlot(QString file, con std::unique_ptr file_stat(new csync_file_stat_t); file_stat->path = file.toUtf8(); file_stat->size = -1; - file_stat->modtime = -1; propertyMapToFileStat(map, file_stat.get()); if (file_stat->type == ItemTypeDirectory) file_stat->size = 0; if (file_stat->type == ItemTypeSkip || file_stat->size == -1 - || file_stat->modtime == -1 || file_stat->remotePerm.isNull() || file_stat->etag.isEmpty() || file_stat->file_id.isEmpty()) {