projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: use C99 declaration in the for-loop hash_table_foreach() macro
[mesa.git]
/
src
/
compiler
/
nir
/
nir_lower_io_to_scalar.c
diff --git
a/src/compiler/nir/nir_lower_io_to_scalar.c
b/src/compiler/nir/nir_lower_io_to_scalar.c
index f0c2a6a95d6d396cbfa02e6dd44952d727d53d7f..2b98e298cce4d1048d094c2bc5c71b299263fc2f 100644
(file)
--- a/
src/compiler/nir/nir_lower_io_to_scalar.c
+++ b/
src/compiler/nir/nir_lower_io_to_scalar.c
@@
-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);