Skip to content

Commit

Permalink
Fix compile issues.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <[email protected]>
  • Loading branch information
allexzander committed Jan 10, 2024
1 parent fc63e98 commit 3f2c953
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/common/syncjournaldb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1061,9 +1061,7 @@ bool SyncJournalDb::updateParentForAllChildren(const QByteArray &oldParentPath,
}
query->bindValue(1, oldParentPath);
query->bindValue(2, newParentPath);
auto res = query->exec();
auto numRows = query->numRowsAffected();
return res;
return query->exec();
}

void SyncJournalDb::keyValueStoreSet(const QString &key, QVariant value)
Expand Down
5 changes: 1 addition & 4 deletions src/libsync/owncloudpropagator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,10 +600,7 @@ void OwncloudPropagator::start(SyncFileItemVector &&items)
}

// when a folder is moved on the local device we only need to perform one MOVE on the server and then just update database, so we only keep unique moves (topmost moved folder items)
bool isCleanup = true;
if (isCleanup) {
cleanupLocallyMovedFoldersFromNestedItems(items);
}
cleanupLocallyMovedFoldersFromNestedItems(items);

qCInfo(lcPropagator) << "END ITEMS CLEANUP";
for (const auto &item : items) {
Expand Down

0 comments on commit 3f2c953

Please sign in to comment.