diff options
author | Eric Engestrom <[email protected]> | 2018-10-20 18:00:09 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-10-25 12:43:18 +0100 |
commit | e27902a261361e8a7980db14138ef13753db196d (patch) | |
tree | 021b6638314baf37073766f1092e2be736da75aa /src/compiler/nir/nir_lower_vars_to_ssa.c | |
parent | bb84fa146f2252f22999205a2904d8a948bffd3b (diff) |
util: use C99 declaration in the for-loop set_foreach() macro
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_lower_vars_to_ssa.c')
-rw-r--r-- | src/compiler/nir/nir_lower_vars_to_ssa.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_lower_vars_to_ssa.c b/src/compiler/nir/nir_lower_vars_to_ssa.c index b3f29e07b63..8e517a78957 100644 --- a/src/compiler/nir/nir_lower_vars_to_ssa.c +++ b/src/compiler/nir/nir_lower_vars_to_ssa.c @@ -460,7 +460,6 @@ lower_copies_to_load_store(struct deref_node *node, nir_builder b; nir_builder_init(&b, state->impl); - struct set_entry *copy_entry; set_foreach(node->copies, copy_entry) { nir_intrinsic_instr *copy = (void *)copy_entry->key; @@ -727,7 +726,6 @@ nir_lower_vars_to_ssa_impl(nir_function_impl *impl) assert(node->path.path[0]->var->constant_initializer == NULL); if (node->stores) { - struct set_entry *store_entry; set_foreach(node->stores, store_entry) { nir_intrinsic_instr *store = (nir_intrinsic_instr *)store_entry->key; |