Remove unused targetFile QString in propagateremotemove

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2022-12-19 17:38:35 +01:00 committed by Claudio Cambra
parent 16b33fa658
commit bbb77dc4f7

View file

@ -82,8 +82,6 @@ void PropagateRemoteMove::start()
QString origin = propagator()->adjustRenamedPath(_item->_file);
qCInfo(lcPropagateRemoteMove) << origin << _item->_renameTarget;
QString targetFile(propagator()->fullLocalPath(_item->_renameTarget));
if (origin == _item->_renameTarget) {
// The parent has been renamed already so there is nothing more to do.