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 <otte@gnome.org>
This commit is contained in:
Colin Walters 2013-04-02 14:10:15 -04:00
parent 8cddb54659
commit e359130e3e

View File

@ -841,8 +841,8 @@ g_hash_table_insert_node (GHashTable *hash_table,
{ {
gboolean already_exists; gboolean already_exists;
guint old_hash; guint old_hash;
gpointer key_to_free; gpointer key_to_free = NULL;
gpointer value_to_free; gpointer value_to_free = NULL;
old_hash = hash_table->hashes[node_index]; old_hash = hash_table->hashes[node_index];
already_exists = HASH_IS_REAL (old_hash); already_exists = HASH_IS_REAL (old_hash);