diff options
-rw-r--r-- | src/gallium/drivers/svga/svga_screen_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_screen_cache.c b/src/gallium/drivers/svga/svga_screen_cache.c index 686d94aa50d..0c2b594de00 100644 --- a/src/gallium/drivers/svga/svga_screen_cache.c +++ b/src/gallium/drivers/svga/svga_screen_cache.c @@ -364,7 +364,7 @@ svga_screen_cache_flush(struct svga_screen *svgascreen, * It will be done using the current context. */ if (svga->swc->surface_invalidate(svga->swc, entry->handle) != PIPE_OK) { - enum pipe_error ret; + MAYBE_UNUSED enum pipe_error ret; /* Even though surface invalidation here is done after the command * buffer is flushed, it is still possible that it will |