hash_table: Fix compiler warnings from the renaming.

Not sure how we both missed this.  None of the callers were using the
return value, though.
This commit is contained in:
Eric Anholt 2014-12-14 20:21:32 -08:00
parent 94303a0750
commit 6c3115af85
1 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@ struct hash_entry *
_mesa_hash_table_insert(struct hash_table *ht, const void *key, void *data)
{
assert(ht->key_hash_function);
hash_table_insert(ht, ht->key_hash_function(key), key, data);
return hash_table_insert(ht, ht->key_hash_function(key), key, data);
}
struct hash_entry *
@ -338,7 +338,7 @@ _mesa_hash_table_insert_with_hash(struct hash_table *ht, uint32_t hash,
const void *key, void *data)
{
assert(ht->key_hash_function == NULL || hash == ht->key_hash_function(key));
hash_table_insert(ht, hash, key, data);
return hash_table_insert(ht, hash, key, data);
}
/**