util: use C99 declaration in the for-loop hash_table_foreach() macro
[mesa.git] / src / compiler / nir / nir_lower_io_to_scalar.c
index f0c2a6a95d6d396cbfa02e6dd44952d727d53d7f..2b98e298cce4d1048d094c2bc5c71b299263fc2f 100644 (file)
@@ -360,7 +360,6 @@ nir_lower_io_to_scalar_early(nir_shader *shader, nir_variable_mode mask)
    }
 
    /* Remove old input from the shaders inputs list */
-   struct hash_entry *entry;
    hash_table_foreach(split_inputs, entry) {
       nir_variable *var = (nir_variable *) entry->key;
       exec_node_remove(&var->node);