iris: tidy more warnings
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 8 Nov 2018 06:07:08 +0000 (22:07 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_resolve.c

index 15e89fac0d9dc461a2a5be3b759330d330f33529..06f44c022b9d660cd5d8b25cf3c182422433b20b 100644 (file)
@@ -153,11 +153,9 @@ iris_postdraw_update_resolve_tracking(struct iris_context *ice,
 void
 iris_cache_sets_clear(struct iris_batch *batch)
 {
-   struct hash_entry *render_entry;
    hash_table_foreach(batch->cache.render, render_entry)
       _mesa_hash_table_remove(batch->cache.render, render_entry);
 
-   struct set_entry *depth_entry;
    set_foreach(batch->cache.depth, depth_entry)
       _mesa_set_remove(batch->cache.depth, depth_entry);
 }