[gnome-commander] do_file_specific_action: info member is not needed to do the action



commit fb975303ac587ac8cd5ec0fd9a13ed0579d99d88
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sun May 16 17:05:59 2021 +0200

    do_file_specific_action: info member is not needed to do the action

 src/gnome-cmd-file-selector.cc | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index 0dba9a89..eb972bc8 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -244,7 +244,6 @@ void GnomeCmdFileSelector::do_file_specific_action (GnomeCmdFileList *fl, GnomeC
 {
     g_return_if_fail (GNOME_CMD_IS_FILE_LIST (fl));
     g_return_if_fail (f != nullptr);
-    g_return_if_fail (f->info != nullptr);
 
     if (f->GetGfileAttributeUInt32(G_FILE_ATTRIBUTE_STANDARD_TYPE) == G_FILE_TYPE_DIRECTORY)
     {


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