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:
    8c5c13d613
    Rename OperationDetailStatus STATUS_N_A to STATUS_WARNING
This commit is contained in:
Mike Fleetwood 2021-08-02 10:47:08 +01:00 committed by Curtis Gedak
parent 48fd3cba74
commit d123d36b67
1 changed files with 2 additions and 2 deletions

View File

@ -282,8 +282,8 @@ void FileSystem::rm_temp_dir( const Glib::ustring dir_name, OperationDetail & op
STATUS_EXECUTE, FONT_BOLD_ITALIC ) ) ; STATUS_EXECUTE, FONT_BOLD_ITALIC ) ) ;
if ( rmdir( dir_name .c_str() ) ) if ( rmdir( dir_name .c_str() ) )
{ {
//Don't mark operation as errored just because rmdir // Don't mark operation as errored just because rmdir failed. Set to
// failed. Set to Warning (N/A) instead. // Warning instead.
int e = errno ; int e = errno ;
operationdetail .get_last_child() .add_child( OperationDetail( operationdetail .get_last_child() .add_child( OperationDetail(
Glib::ustring::compose( "rmdir(%1): ", dir_name ) + Glib::strerror( e ), STATUS_NONE ) ) ; Glib::ustring::compose( "rmdir(%1): ", dir_name ) + Glib::strerror( e ), STATUS_NONE ) ) ;