From bb84fa146f2252f22999205a2904d8a948bffd3b Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 20 Oct 2018 18:00:08 +0100 Subject: util: use C99 declaration in the for-loop hash_table_foreach() macro Signed-off-by: Eric Engestrom Reviewed-by: Timothy Arceri --- src/amd/common/ac_nir_to_llvm.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/amd') 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); -- cgit v1.2.3