Remove unreachable code.

This commit is contained in:
Teo Mrnjavac 2015-06-21 01:55:15 +02:00
parent 506e51598d
commit 683cc893e4

View File

@ -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();