[gparted] Remove out of date comment from the end of set_devices_thread()



commit ab4040c5472b55d7a74cd7b29628f2481ddd6e9b
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sat Aug 20 17:02:16 2016 +0100

    Remove out of date comment from the end of set_devices_thread()
    
    The comment became completely unnecessary with the transfer of
    mount_info and fstab_info into separate Mount_Info module by commit:
        63ec73dfdac70fde8fabb543d0a7dc5808e168d5
        Split mount_info and fstab_info maps into separate Mount_Info module
    
    It was never necessary to clear one of the mappings at the end of the
    device refresh because it was reloaded at the start of the next device
    refresh anyway and it is only a small amount of memory.

 src/GParted_Core.cc |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index 94e0c8f..c1df588 100644
--- a/src/GParted_Core.cc
+++ b/src/GParted_Core.cc
@@ -379,8 +379,6 @@ void GParted_Core::set_devices_thread( std::vector<Device> * pdevices )
                }
        }
 
-       //clear leftover information... 
-       //NOTE that we cannot clear mountinfo since it might be needed in get_all_mountpoints()
        set_thread_status_message("") ;
        g_idle_add( (GSourceFunc)_mainquit, NULL );
 }


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