[gnome-commander] Remove unused open_failed_reason variable



commit 16da9af5b3654c88d4ae9262d86ab49c74545aa4
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sat Sep 25 15:27:43 2021 +0200

    Remove unused open_failed_reason variable

 src/gnome-cmd-con.cc | 1 -
 src/gnome-cmd-con.h  | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-con.cc b/src/gnome-cmd-con.cc
index 5cffc19c..96b2c646 100644
--- a/src/gnome-cmd-con.cc
+++ b/src/gnome-cmd-con.cc
@@ -204,7 +204,6 @@ static void init (GnomeCmdCon *con)
 
     con->state = GnomeCmdCon::STATE_CLOSED;
     con->open_result = GnomeCmdCon::OPEN_NOT_STARTED;
-    con->open_failed_reason = GNOME_VFS_OK;
     con->open_failed_msg = nullptr;
     con->open_failed_error = nullptr;
 
diff --git a/src/gnome-cmd-con.h b/src/gnome-cmd-con.h
index 624bdece..e4333498 100644
--- a/src/gnome-cmd-con.h
+++ b/src/gnome-cmd-con.h
@@ -1,4 +1,4 @@
-/** 
+/**
  * @file gnome-cmd-con.h
  * @copyright (C) 2001-2006 Marcus Bjurman\n
  * @copyright (C) 2007-2012 Piotr Eljasiak\n
@@ -112,7 +112,6 @@ struct GnomeCmdCon
     GnomeCmdPixmap      *close_pixmap;
 
     OpenResult          open_result;
-    GnomeVFSResult      open_failed_reason;
     GError              *open_failed_error;
     gchar               *open_failed_msg;
 


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