[dia] [warningectomy] unused variable



commit 678d2a38926594202f02e2c3ed01365cbc5d6d41
Author: Hans Breuer <hans breuer org>
Date:   Sat Apr 5 22:17:19 2014 +0200

    [warningectomy] unused variable
    
    disp_callbacks.c:176:14: warning: unused variable 'obj' [-Wunused-variable]
      DiaObject *obj;
                 ^
    display.c:142:14: warning: unused variable 'im_menu_item' [-Wunused-variable]
      GtkAction* im_menu_item;
                 ^

 app/disp_callbacks.c |    1 -
 app/display.c        |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/app/disp_callbacks.c b/app/disp_callbacks.c
index 2378330..b8d25bd 100644
--- a/app/disp_callbacks.c
+++ b/app/disp_callbacks.c
@@ -173,7 +173,6 @@ add_follow_link_menu_item (GtkMenu *menu)
 static void
 _convert_to_path_callback (GtkAction *action, gpointer data)
 {
-  DiaObject *obj;
   DDisplay *ddisp = ddisplay_active();
   GList *selected, *list;
   ObjectChange *change_list = NULL;
diff --git a/app/display.c b/app/display.c
index 6684a5e..e94f587 100644
--- a/app/display.c
+++ b/app/display.c
@@ -139,7 +139,6 @@ selection_changed (Diagram* dia, int n, DDisplay* ddisp)
 static void
 initialize_display_widgets(DDisplay *ddisp)
 {
-  GtkAction* im_menu_item;
   Diagram *dia = ddisp->diagram;
   gchar *filename;
 


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