[dia] [warningectomy] variable ‘active_button ’ set but not used



commit f4cc750fa4ab9a1ebf649e1a9c61270b665ea71f
Author: Hans Breuer <hans breuer org>
Date:   Sat May 4 20:39:40 2013 +0200

    [warningectomy] variable ‘active_button’ set but not used

 app/sheets_dialog_callbacks.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/app/sheets_dialog_callbacks.c b/app/sheets_dialog_callbacks.c
index 63512b4..0fb96c6 100644
--- a/app/sheets_dialog_callbacks.c
+++ b/app/sheets_dialog_callbacks.c
@@ -1486,12 +1486,11 @@ on_sheets_dialog_button_copy_all_clicked
                                         (GtkButton       *button,
                                         gpointer         user_data)
 {
-  GtkWidget *active_button; 
   GtkWidget *wrapbox;
   GList *button_list, *iter_list;
   GtkWidget *target_wrapbox;
 
-  active_button = sheets_dialog_get_active_button(&wrapbox, &button_list);
+  sheets_dialog_get_active_button(&wrapbox, &button_list);
 
   target_wrapbox = sheets_dialog_get_target_wrapbox(wrapbox);
 
@@ -1539,14 +1538,13 @@ on_sheets_dialog_button_move_all_clicked
                                         (GtkButton       *button,
                                         gpointer         user_data)
 {
-  GtkWidget *active_button;
   GtkWidget *wrapbox;
   GList *button_list;
   GList *iter_list;
   GtkWidget *target_wrapbox;
   SheetObjectMod *som;
 
-  active_button = sheets_dialog_get_active_button(&wrapbox, &button_list);
+  sheets_dialog_get_active_button(&wrapbox, &button_list);
 
   target_wrapbox = sheets_dialog_get_target_wrapbox(wrapbox);
 


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