util: use C99 declaration in the for-loop hash_table_foreach() macro
[mesa.git] / src / compiler / glsl / opt_dead_code.cpp
index 75e668ae46da727dfd3ad0f169fa828daeafe5ab..1eff3f2fd143c2da2603c0381c5fd6aab80ebe01 100644 (file)
@@ -50,7 +50,6 @@ do_dead_code(exec_list *instructions, bool uniform_locations_assigned)
 
    v.run(instructions);
 
-   struct hash_entry *e;
    hash_table_foreach(v.ht, e) {
       ir_variable_refcount_entry *entry = (ir_variable_refcount_entry *)e->data;