projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc54e1a
)
vc4: Fix unused variable warning.
author
Eric Anholt
<eric@anholt.net>
Mon, 29 Oct 2018 23:05:18 +0000
(16:05 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 30 Oct 2018 17:46:52 +0000
(10:46 -0700)
Fixes: bb84fa146f22 ("util: use C99 declaration in the for-loop hash_table_foreach() macro")
src/gallium/drivers/vc4/vc4_program.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_program.c
b/src/gallium/drivers/vc4/vc4_program.c
index 4896833177a941c2d28e5fb9afb7a352eb05cb83..bc9bd76ae9503de9b401adb79f7ba050d11989e9 100644
(file)
--- 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);