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_global_vars_to_local.c
diff --git
a/src/compiler/nir/nir_lower_global_vars_to_local.c
b/src/compiler/nir/nir_lower_global_vars_to_local.c
index d441215a44d6aceed1671f059d1a60ff67903848..be99cf9ad02c84c6dd26cf52832604da3dfb3048 100644
(file)
--- a/
src/compiler/nir/nir_lower_global_vars_to_local.c
+++ b/
src/compiler/nir/nir_lower_global_vars_to_local.c
@@
-85,7
+85,6
@@
nir_lower_global_vars_to_local(nir_shader *shader)
}
}
- struct hash_entry *entry;
hash_table_foreach(var_func_table, entry) {
nir_variable *var = (void *)entry->key;
nir_function_impl *impl = entry->data;