From 6c33a8f5ca5448461e9d698d3e5fa13c8da46449 Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Sat, 16 Mar 2013 21:25:58 +0000 Subject: [PATCH] Remove unused function copy_filesystem_simulation() The function is no longer used after commit: b9b4b2e55d1dadd5a5c0fef552dbbd2499561182 Remove simulation pass ( read test ) on move --- include/GParted_Core.h | 3 --- src/GParted_Core.cc | 12 ------------ 2 files changed, 15 deletions(-) diff --git a/include/GParted_Core.h b/include/GParted_Core.h index 25b5378c..50b1bda4 100644 --- a/include/GParted_Core.h +++ b/include/GParted_Core.h @@ -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, diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index dc1826ae..40d5b548 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -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,