[gtk+] Fix compilation warning: initialize the variable
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix compilation warning: initialize the variable
- Date: Mon, 9 Nov 2009 08:37:20 +0000 (UTC)
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]