mirror of
https://invent.kde.org/network/kdeconnect-kde.git
synced 2025-12-12 20:35:55 +01:00
Remove unreachable code in CompositeFileTransferJob
Removes unreachable return statement in CompositeFileTransferJob::addSubjob. This return statement was placed after the if-else block and would never be executed.
This commit is contained in:
committed by
Aleix Pol Gonzalez
parent
61ddd6a1ac
commit
79cf3a3363
@@ -75,7 +75,6 @@ bool CompositeFileTransferJob::addSubjob(KJob *job)
|
||||
qCDebug(KDECONNECT_CORE) << "CompositeFileTransferJob::addSubjob() - you can only add FileTransferJob's, ignoring";
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CompositeFileTransferJob::doKill()
|
||||
|
||||
Reference in New Issue
Block a user