Mesa (master): vc4: Fix unused variable warning.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Oct 30 17:58:28 UTC 2018
Module: Mesa
Branch: master
Commit: 68657d76b9ac5c302a0f492174137028e77bd35b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68657d76b9ac5c302a0f492174137028e77bd35b
Author: Eric Anholt <eric at anholt.net>
Date: Mon Oct 29 16:05:18 2018 -0700
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 4896833177..bc9bd76ae9 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);
More information about the mesa-commit
mailing list