From 683cc893e40ffb33f5ba15f2f95612b390549728 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Sun, 21 Jun 2015 01:55:15 +0200 Subject: [PATCH] Remove unreachable code. --- src/modules/partition/jobs/MoveFileSystemJob.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/modules/partition/jobs/MoveFileSystemJob.cpp b/src/modules/partition/jobs/MoveFileSystemJob.cpp index 8ed1d65f8..ab384ec2a 100644 --- a/src/modules/partition/jobs/MoveFileSystemJob.cpp +++ b/src/modules/partition/jobs/MoveFileSystemJob.cpp @@ -170,9 +170,6 @@ MoveFileSystemJob::copyBlocks( Report& report, CopyTargetDevice& target, CopySou // copy the remainder if ( rval && lastBlock > 0 ) { - if ( lastBlock >= blockSize ) - cLog() << "warning: lastBlock: " << lastBlock << ", blockSize: " << blockSize; - Q_ASSERT( lastBlock < blockSize ); const qint64 lastBlockReadOffset = copyDir > 0 ? readOffset + blockSize * blocksCopied : source.firstSector();