[gtk+] Remove redundant variable declaration



commit 857d241e22bbe69cc9e72f93519275073edb3f5d
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Oct 17 11:52:00 2016 +0100

    Remove redundant variable declaration
    
    The inner `var` declaration is shadowing the outer one.

 gtk/gtkimmodule.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index 289cec0..d69f9e8 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -374,7 +374,6 @@ gtk_get_im_module_file (void)
 
   if (!result)
     {
-      const gchar *var;
       gchar *path;
 
       var = g_getenv ("GTK_EXE_PREFIX");


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