From e359130e3ec840b72628253d0bde44144225fa1a Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 2 Apr 2013 14:10:15 -0400 Subject: [PATCH] ghash: Suppress -Wmaybe-uninitialized from GCC 4.4 It's not clever enough to figure out that these are always initialized in code paths that use them. Reviewed-By: Benjamin Otte --- glib/ghash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glib/ghash.c b/glib/ghash.c index eb828bd42..9150f3257 100644 --- a/glib/ghash.c +++ b/glib/ghash.c @@ -841,8 +841,8 @@ g_hash_table_insert_node (GHashTable *hash_table, { gboolean already_exists; guint old_hash; - gpointer key_to_free; - gpointer value_to_free; + gpointer key_to_free = NULL; + gpointer value_to_free = NULL; old_hash = hash_table->hashes[node_index]; already_exists = HASH_IS_REAL (old_hash);