[anjuta] cvs-plugin: remove unused variables



commit 56c140e19b86555118b890e64f0d91951a18e898
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Wed May 15 18:20:20 2013 +0200

    cvs-plugin: remove unused variables

 plugins/cvs-plugin/cvs-callbacks.c |    4 +---
 plugins/cvs-plugin/plugin.c        |    2 --
 2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/plugins/cvs-plugin/cvs-callbacks.c b/plugins/cvs-plugin/cvs-callbacks.c
index fdb3c1e..7b15bd7 100644
--- a/plugins/cvs-plugin/cvs-callbacks.c
+++ b/plugins/cvs-plugin/cvs-callbacks.c
@@ -292,8 +292,7 @@ on_cvs_diff_response(GtkDialog* dialog, gint response, CVSData* data)
                GtkWidget* norecurse;
                GtkWidget* revisionentry;
                GtkWidget* diff_type;
-               GtkWidget* unified_diff;
-               
+
                GtkWidget* fileentry = GTK_WIDGET(gtk_builder_get_object(data->bxml, "cvs_diff_filename"));
                const gchar* filename = g_strdup(gtk_entry_get_text(GTK_ENTRY(fileentry)));
                
@@ -303,7 +302,6 @@ on_cvs_diff_response(GtkDialog* dialog, gint response, CVSData* data)
                norecurse = GTK_WIDGET(gtk_builder_get_object(data->bxml, "cvs_diff_norecurse"));
                
                diff_type = GTK_WIDGET(gtk_builder_get_object(data->bxml, "cvs_diff_type"));
-               unified_diff = GTK_WIDGET(gtk_builder_get_object(data->bxml, "cvs_unified"));
                diff_type_nr = gtk_combo_box_get_active(GTK_COMBO_BOX(diff_type));
                if (diff_type_nr == DIFF_PATCH)
                {
diff --git a/plugins/cvs-plugin/plugin.c b/plugins/cvs-plugin/plugin.c
index af86f84..b08a0fd 100644
--- a/plugins/cvs-plugin/plugin.c
+++ b/plugins/cvs-plugin/plugin.c
@@ -304,7 +304,6 @@ static void
 value_added_current_editor (AnjutaPlugin *plugin, const char *name,
                                                        const GValue *value, gpointer data)
 {
-       AnjutaUI *ui;
        GFile* file;
        GObject *editor;
        
@@ -314,7 +313,6 @@ value_added_current_editor (AnjutaPlugin *plugin, const char *name,
                return;
        
        CVSPlugin *cvs_plugin = ANJUTA_PLUGIN_CVS (plugin);
-       ui = anjuta_shell_get_ui (plugin->shell, NULL);
        
        if (cvs_plugin->current_editor_filename)
                g_free (cvs_plugin->current_editor_filename);


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