Remove unused function copy_filesystem_simulation()

The function is no longer used after commit:

    b9b4b2e55d
    Remove simulation pass ( read test ) on move
This commit is contained in:
Mike Fleetwood 2013-03-16 21:25:58 +00:00 committed by Curtis Gedak
parent a39079211b
commit 6c33a8f5ca
2 changed files with 0 additions and 15 deletions

View file

@ -140,9 +140,6 @@ private:
Partition & partition_dst,
Byte_Value min_size,
OperationDetail & operationdetail ) ;
bool copy_filesystem_simulation( const Partition & partition_src,
const Partition & partition_dst,
OperationDetail & operationdetail ) ;
bool copy_filesystem( const Partition & partition_src,
const Partition & partition_dst,
OperationDetail & operationdetail,

View file

@ -2654,18 +2654,6 @@ bool GParted_Core::copy( const Partition & partition_src,
return false ;
}
bool GParted_Core::copy_filesystem_simulation( const Partition & partition_src,
const Partition & partition_dst,
OperationDetail & operationdetail )
{
operationdetail .add_child( OperationDetail( _("perform read-only test") ) ) ;
bool succes = copy_filesystem( partition_src, partition_dst, operationdetail .get_last_child(), true, true ) ;
operationdetail .get_last_child() .set_status( succes ? STATUS_SUCCES : STATUS_ERROR ) ;
return succes ;
}
bool GParted_Core::copy_filesystem( const Partition & partition_src,
const Partition & partition_dst,
OperationDetail & operationdetail,