Remove unreachable code.
This commit is contained in:
parent
506e51598d
commit
683cc893e4
@ -170,9 +170,6 @@ MoveFileSystemJob::copyBlocks( Report& report, CopyTargetDevice& target, CopySou
|
|||||||
// copy the remainder
|
// copy the remainder
|
||||||
if ( rval && lastBlock > 0 )
|
if ( rval && lastBlock > 0 )
|
||||||
{
|
{
|
||||||
if ( lastBlock >= blockSize )
|
|
||||||
cLog() << "warning: lastBlock: " << lastBlock << ", blockSize: " << blockSize;
|
|
||||||
|
|
||||||
Q_ASSERT( lastBlock < blockSize );
|
Q_ASSERT( lastBlock < blockSize );
|
||||||
|
|
||||||
const qint64 lastBlockReadOffset = copyDir > 0 ? readOffset + blockSize * blocksCopied : source.firstSector();
|
const qint64 lastBlockReadOffset = copyDir > 0 ? readOffset + blockSize * blocksCopied : source.firstSector();
|
||||||
|
Loading…
Reference in New Issue
Block a user