[gtk+] application: Fix compiler warnings



commit 75f0146c69a90f40f20def87c961be361dcd9754
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 30 21:23:39 2015 -0400

    application: Fix compiler warnings
    
    Fix warnings due to -Wdeclaration-after-statement and -Wshadow.

 gtk/gtkapplication.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index 639f549..f863533 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -414,7 +414,6 @@ accels_set_accels_for_action (Accels              *accels,
   if (keys)
     {
       gchar *my_key;
-      gint i;
 
       my_key = g_strdup (action_and_target);
 


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