[gnome-commander] Don't check for availability of info member in get_size method
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Don't check for availability of info member in get_size method
- Date: Sat, 15 May 2021 21:00:56 +0000 (UTC)
commit a05b10f6b8e6bb98ade7f57a2ef7bb185d07d9c4
Author: Uwe Scholz <u scholz83 gmx de>
Date: Wed May 12 23:13:18 2021 +0200
Don't check for availability of info member in get_size method
src/gnome-cmd-file.cc | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/gnome-cmd-file.cc b/src/gnome-cmd-file.cc
index c2127ae8..7f5285f4 100644
--- a/src/gnome-cmd-file.cc
+++ b/src/gnome-cmd-file.cc
@@ -783,8 +783,6 @@ const gchar *GnomeCmdFile::get_size()
{
static gchar dir_indicator[] = "<DIR> ";
- g_return_val_if_fail (info != nullptr, nullptr);
-
if (GetGfileAttributeUInt32(G_FILE_ATTRIBUTE_STANDARD_TYPE) == G_FILE_TYPE_DIRECTORY)
return dir_indicator;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]