Module: Mesa Branch: master Commit: 8822ea100cfd7482290c3c6b2a7200c8b888a7f4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8822ea100cfd7482290c3c6b2a7200c8b888a7f4
Author: Brian Paul <[email protected]> Date: Mon Sep 25 14:10:53 2017 -0600 svga: silence unused var warning in optimized build with MAYBE_UNUSED Trivial --- src/gallium/drivers/svga/svga_screen_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/svga/svga_screen_cache.c b/src/gallium/drivers/svga/svga_screen_cache.c index 686d94aa50..0c2b594de0 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 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
