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
/
glsl
/
opt_dead_code.cpp
diff --git
a/src/compiler/glsl/opt_dead_code.cpp
b/src/compiler/glsl/opt_dead_code.cpp
index 75e668ae46da727dfd3ad0f169fa828daeafe5ab..1eff3f2fd143c2da2603c0381c5fd6aab80ebe01 100644
(file)
--- a/
src/compiler/glsl/opt_dead_code.cpp
+++ b/
src/compiler/glsl/opt_dead_code.cpp
@@
-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;