[gnome-commander] Removes unused variables



commit a1e109ec8dd35fff052d0756d685a3c4b40e1cca
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sun Oct 2 17:51:31 2016 +0200

    Removes unused variables

 src/dialogs/gnome-cmd-con-dialog.cc        |    1 -
 src/dialogs/gnome-cmd-file-props-dialog.cc |    1 -
 src/gnome-cmd-xfer.cc                      |    2 --
 3 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-con-dialog.cc b/src/dialogs/gnome-cmd-con-dialog.cc
index 3d3f448..abdccbb 100644
--- a/src/dialogs/gnome-cmd-con-dialog.cc
+++ b/src/dialogs/gnome-cmd-con-dialog.cc
@@ -414,7 +414,6 @@ static void gnome_cmd_connect_dialog_init (GnomeCmdConnectDialog *dialog)
     GtkWidget *label;
     GtkWidget *table;
     GtkWidget *combo;
-    GtkWidget *check;
     GtkWidget *hbox;
     GtkWidget *vbox;
 
diff --git a/src/dialogs/gnome-cmd-file-props-dialog.cc b/src/dialogs/gnome-cmd-file-props-dialog.cc
index 0a0da73..c22e7f6 100644
--- a/src/dialogs/gnome-cmd-file-props-dialog.cc
+++ b/src/dialogs/gnome-cmd-file-props-dialog.cc
@@ -339,7 +339,6 @@ inline GtkWidget *create_properties_tab (GnomeCmdFilePropsDialogPrivate *data)
     GtkWidget *table;
     GtkWidget *label;
     GtkWidget *hbox;
-    GtkWidget *btn;
     gchar *fname;
 
     GtkWidget *space_frame = create_space_frame (dialog, 6);
diff --git a/src/gnome-cmd-xfer.cc b/src/gnome-cmd-xfer.cc
index 5fbf1f6..ce590ca 100644
--- a/src/gnome-cmd-xfer.cc
+++ b/src/gnome-cmd-xfer.cc
@@ -196,8 +196,6 @@ static gint async_xfer_callback (GnomeVFSAsyncHandle *handle, GnomeVFSXferProgre
         gchar *source_details = file_details (info->source_name);
         gchar *target_details = file_details (info->target_name);
 
-        GtkWidget *msg;
-
         gchar *text = g_strdup_printf (_("Overwrite file:\n\n<b>%s</b>\n<span color='dimgray' 
size='smaller'>%s</span>\n\nWith:\n\n<b>%s</b>\n<span color='dimgray' size='smaller'>%s</span>"), 
target_filename, target_details, source_filename, source_details);
 
         g_free (source_filename);


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