Remove unused supportedTransmissionChecksums from bulkpropagatorjob

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

View file

@ -256,10 +256,6 @@ void BulkPropagatorJob::checkPropagationIsDone()
void BulkPropagatorJob::slotComputeTransmissionChecksum(SyncFileItemPtr item,
UploadFileInfo fileToUpload)
{
// Reuse the content checksum as the transmission checksum if possible
const auto supportedTransmissionChecksums =
propagator()->account()->capabilities().supportedChecksumTypes();
// Compute the transmission checksum.
auto computeChecksum = std::make_unique<ComputeChecksum>(this);
if (uploadChecksumEnabled()) {