diff options
author | Brian Paul <[email protected]> | 2017-09-25 14:10:53 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-09-26 09:51:43 -0600 |
commit | 8822ea100cfd7482290c3c6b2a7200c8b888a7f4 (patch) | |
tree | c23c33471d21ae1e9b8a7e112ca6428f07c23711 | |
parent | d86bc364469b1a413de5dbc357de0516b506e29e (diff) |
svga: silence unused var warning in optimized build with MAYBE_UNUSED
Trivial
-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 |