summaryrefslogtreecommitdiff
path: root/src/compiler/glsl/tests/array_refcount_test.cpp
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2018-10-20 18:00:08 +0100
committerEric Engestrom <eric.engestrom@intel.com>2018-10-25 12:43:18 +0100
commitbb84fa146f2252f22999205a2904d8a948bffd3b (patch)
tree2e4773252d67da46590ec4a545fc10f6125043a9 /src/compiler/glsl/tests/array_refcount_test.cpp
parent3d261cf77b35c56cc575ce9bb7909d2f8d920233 (diff)
downloadmesa-bb84fa146f2252f22999205a2904d8a948bffd3b.tar.gz
util: use C99 declaration in the for-loop hash_table_foreach() macro
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Diffstat (limited to 'src/compiler/glsl/tests/array_refcount_test.cpp')
-rw-r--r--src/compiler/glsl/tests/array_refcount_test.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/glsl/tests/array_refcount_test.cpp b/src/compiler/glsl/tests/array_refcount_test.cpp
index 0d8f4521cae..45c204dc2f8 100644
--- a/src/compiler/glsl/tests/array_refcount_test.cpp
+++ b/src/compiler/glsl/tests/array_refcount_test.cpp
@@ -160,7 +160,6 @@ validate_variables_in_hash_table(struct hash_table *ht,
va_end(args);
- struct hash_entry *entry;
hash_table_foreach(ht, entry) {
const ir_instruction *const ir = (ir_instruction *) entry->key;
const ir_variable *const v = ir->as_variable();