[gparted] Remove (N/A) from comment in FileSystem::rm_temp_dir()



commit d123d36b67340312dc56aa33dbe6c9e3e3558932
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Mon Aug 2 10:47:08 2021 +0100

    Remove (N/A) from comment in FileSystem::rm_temp_dir()
    
    Extra hint of warning status being represented by enumeration constant
    STATUS_N_A is no longer needed since commit:
        8c5c13d613474d3853d6071c5be8055d49bef5aa
        Rename OperationDetailStatus STATUS_N_A to STATUS_WARNING

 src/FileSystem.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/FileSystem.cc b/src/FileSystem.cc
index 0d45177a..5b848c45 100644
--- a/src/FileSystem.cc
+++ b/src/FileSystem.cc
@@ -282,8 +282,8 @@ void FileSystem::rm_temp_dir( const Glib::ustring dir_name, OperationDetail & op
                                                     STATUS_EXECUTE, FONT_BOLD_ITALIC ) ) ;
        if ( rmdir( dir_name .c_str() ) )
        {
-               //Don't mark operation as errored just because rmdir
-               //  failed.  Set to Warning (N/A) instead.
+               // Don't mark operation as errored just because rmdir failed.  Set to
+               // Warning instead.
                int e = errno ;
                operationdetail .get_last_child() .add_child( OperationDetail(
                                Glib::ustring::compose( "rmdir(%1): ", dir_name ) + Glib::strerror( e ), 
STATUS_NONE ) ) ;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]