From 68657d76b9ac5c302a0f492174137028e77bd35b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 29 Oct 2018 16:05:18 -0700 Subject: [PATCH 1/1] vc4: Fix unused variable warning. Fixes: bb84fa146f22 ("util: use C99 declaration in the for-loop hash_table_foreach() macro") --- src/gallium/drivers/vc4/vc4_program.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index 4896833177a..bc9bd76ae95 100644 --- a/src/gallium/drivers/vc4/vc4_program.c +++ b/src/gallium/drivers/vc4/vc4_program.c @@ -3031,7 +3031,6 @@ vc4_program_fini(struct pipe_context *pctx) { struct vc4_context *vc4 = vc4_context(pctx); - struct hash_entry *entry; hash_table_foreach(vc4->fs_cache, entry) { struct vc4_compiled_shader *shader = entry->data; vc4_bo_unreference(&shader->bo); -- 2.30.2