[gnome-commander] Remove unused variables



commit 657c46927ac1d195a905f27b7b56c6b685eaf311
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Thu Oct 7 21:40:58 2021 +0200

    Remove unused variables

 src/dirlist.cc       | 1 -
 src/gnome-cmd-con.cc | 1 -
 src/gnome-cmd-con.h  | 1 -
 src/gnome-cmd-dir.h  | 1 -
 src/gnome-cmd-xfer.h | 2 --
 5 files changed, 6 deletions(-)
---
diff --git a/src/dirlist.cc b/src/dirlist.cc
index c65c2250..c94300f9 100644
--- a/src/dirlist.cc
+++ b/src/dirlist.cc
@@ -262,7 +262,6 @@ void dirlist_list (GnomeCmdDir *dir, gboolean visualProgress)
 
     dir->infolist = NULL;
     dir->gFileInfoList = nullptr;
-    dir->list_handle = NULL;
     dir->list_counter = 0;
     dir->state = GnomeCmdDir::STATE_LISTING;
 
diff --git a/src/gnome-cmd-con.cc b/src/gnome-cmd-con.cc
index d3d34862..277b3238 100644
--- a/src/gnome-cmd-con.cc
+++ b/src/gnome-cmd-con.cc
@@ -180,7 +180,6 @@ static void init (GnomeCmdCon *con)
     con->method = CON_URI;
 
     con->base_path = nullptr;
-    con->base_info = nullptr;
     con->root_path = g_string_sized_new (128);
     con->open_msg = nullptr;
     con->should_remember_dir = FALSE;
diff --git a/src/gnome-cmd-con.h b/src/gnome-cmd-con.h
index 5ed1e112..eaae6073 100644
--- a/src/gnome-cmd-con.h
+++ b/src/gnome-cmd-con.h
@@ -84,7 +84,6 @@ struct GnomeCmdCon
     guint16             port{0};
     gchar               *open_msg;
     GnomeCmdPath        *base_path;
-    GnomeVFSFileInfo    *base_info;
     GFileInfo           *base_gFileInfo;
     GString             *root_path;             // Root path of the connection, used for calculation of 
relative paths
     gboolean            should_remember_dir;
diff --git a/src/gnome-cmd-dir.h b/src/gnome-cmd-dir.h
index f6ee2ac9..b83b5fa5 100644
--- a/src/gnome-cmd-dir.h
+++ b/src/gnome-cmd-dir.h
@@ -60,7 +60,6 @@ struct GnomeCmdDir
     gint voffset;
     GList *infolist;
     GList *gFileInfoList;
-    GnomeVFSAsyncHandle *list_handle;
     gint list_counter;
     State state;
     GError *error;
diff --git a/src/gnome-cmd-xfer.h b/src/gnome-cmd-xfer.h
index 23d5b45e..86c7d78f 100644
--- a/src/gnome-cmd-xfer.h
+++ b/src/gnome-cmd-xfer.h
@@ -44,8 +44,6 @@ struct XferData
 {
     GFileCopyFlags copyFlags;
     GnomeCmdConfirmOverwriteMode overwriteMode;
-    GnomeVFSXferOptions xferOptions;
-    GnomeVFSAsyncHandle *handle;
     GnomeCmdTransferType transferType{COPY};
 
     // Source and target GFile's. The first srcGFile should be transfered to the first destGFile and so on...


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