mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 19:35:36 -04:00
Remove unreachable code.
This commit is contained in:
parent
506e51598d
commit
683cc893e4
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue