diff options
author | Eric Engestrom <[email protected]> | 2018-10-20 18:00:08 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-10-25 12:43:18 +0100 |
commit | bb84fa146f2252f22999205a2904d8a948bffd3b (patch) | |
tree | 2e4773252d67da46590ec4a545fc10f6125043a9 /src/amd/common | |
parent | 3d261cf77b35c56cc575ce9bb7909d2f8d920233 (diff) |
util: use C99 declaration in the for-loop hash_table_foreach() macro
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/amd/common')
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index ee75e2890dd..5ab81987d08 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -3635,7 +3635,6 @@ static void visit_post_phi(struct ac_nir_context *ctx, static void phi_post_pass(struct ac_nir_context *ctx) { - struct hash_entry *entry; hash_table_foreach(ctx->phis, entry) { visit_post_phi(ctx, (nir_phi_instr*)entry->key, (LLVMValueRef)entry->data); |