[gtk+] Fix compilation warning: initialize the variable



commit e70a46c7e3266e38294ac49e97646d99ab4c83a9
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Nov 9 06:09:40 2009 +0100

    Fix compilation warning: initialize the variable

 gtk/gtkkeyhash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkkeyhash.c b/gtk/gtkkeyhash.c
index 298f94c..0bd8f16 100644
--- a/gtk/gtkkeyhash.c
+++ b/gtk/gtkkeyhash.c
@@ -468,7 +468,7 @@ _gtk_key_hash_lookup (GtkKeyHash      *key_hash,
        * define these keyvals; if yes, discard results because a widget up in 
        * the stack may have an exact match and we don't want to 'steal' it.
        */
-      gint oldkeyval;
+      guint oldkeyval = 0;
       GtkKeyHashEntry *keyhashentry;
 
       results = sort_lookup_results_by_keyval (results);



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