diff options
Diffstat (limited to 'src/mesa/main/hash.c')
-rw-r--r-- | src/mesa/main/hash.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/hash.c b/src/mesa/main/hash.c index 9a6d5ed5edb..902c5efc65a 100644 --- a/src/mesa/main/hash.c +++ b/src/mesa/main/hash.c @@ -283,8 +283,6 @@ _mesa_HashDeleteAll(struct _mesa_HashTable *table, void (*callback)(GLuint key, void *data, void *userData), void *userData) { - struct hash_entry *entry; - assert(callback); _mesa_HashLockMutex(table); table->InDeleteAll = GL_TRUE; @@ -316,7 +314,6 @@ hash_walk_unlocked(const struct _mesa_HashTable *table, assert(table); assert(callback); - struct hash_entry *entry; hash_table_foreach(table->ht, entry) { callback((uintptr_t)entry->key, entry->data, userData); } |