From: Brian Paul Date: Fri, 29 May 2015 22:00:14 +0000 (-0600) Subject: pipebuffer: silence unused var warnings for non-debug build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71afc13eda53f36827f19e96404ff782561b523b;p=mesa.git pipebuffer: silence unused var warnings for non-debug build Reviewed-by: Jose Fonseca --- diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c index 3bd9cd70ae3..fc81e11b972 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c +++ b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c @@ -376,6 +376,7 @@ fenced_buffer_finish_locked(struct fenced_manager *fenced_mgr, /* TODO: remove consequents buffers with the same fence? */ assert(!destroyed); + (void) destroyed; /* silence unused var warning for non-debug build */ fenced_buf->flags &= ~PB_USAGE_GPU_READ_WRITE;