summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-10-29 16:05:18 -0700
committerEric Anholt <[email protected]>2018-10-30 10:46:52 -0700
commit68657d76b9ac5c302a0f492174137028e77bd35b (patch)
treeb7f7ab953a16e3e70760f59a1b7374273caaaaa7 /src/gallium/drivers
parentcc54e1acf91dfefb17a7a43166aff9d0d8532879 (diff)
vc4: Fix unused variable warning.
Fixes: bb84fa146f22 ("util: use C99 declaration in the for-loop hash_table_foreach() macro")
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/vc4/vc4_program.c1
1 files changed, 0 insertions, 1 deletions
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);