From: Vinson Lee Date: Mon, 28 Dec 2009 02:12:58 +0000 (-0800) Subject: trace: Silence unused variable warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1f64fa72f7e2362fa68f9cc8dc76be06fc846b4;p=mesa.git trace: Silence unused variable warnings. --- diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c index bf470b46ae1..540855c067d 100644 --- a/src/gallium/drivers/trace/tr_context.c +++ b/src/gallium/drivers/trace/tr_context.c @@ -52,6 +52,7 @@ trace_buffer_unwrap(struct trace_context *tr_ctx, assert(tr_buf->buffer); assert(tr_buf->buffer->screen == tr_scr->screen); + (void) tr_scr; return tr_buf->buffer; } @@ -90,6 +91,7 @@ trace_surface_unwrap(struct trace_context *tr_ctx, assert(tr_surf->surface); assert(tr_surf->surface->texture->screen == tr_scr->screen); + (void) tr_scr; return tr_surf->surface; }