From: Eric Anholt Date: Mon, 29 Oct 2018 23:05:18 +0000 (-0700) Subject: vc4: Fix unused variable warning. X-Git-Tag: upstream/19.0.0~1907 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68657d76b9ac5c302a0f492174137028e77bd35b;p=platform%2Fupstream%2Fmesa.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 4896833..bc9bd76 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);