From 71afc13eda53f36827f19e96404ff782561b523b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 29 May 2015 16:00:14 -0600 Subject: [PATCH] pipebuffer: silence unused var warnings for non-debug build Reviewed-by: Jose Fonseca --- src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2