From: Eric Anholt Date: Mon, 29 Oct 2018 23:05:18 +0000 (-0700) Subject: vc4: Fix unused variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68657d76b9ac5c302a0f492174137028e77bd35b;p=mesa.git vc4: Fix unused variable warning. Fixes: bb84fa146f22 ("util: use C99 declaration in the for-loop hash_table_foreach() macro") --- 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);