summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_context.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-27 18:12:58 -0800
committerVinson Lee <[email protected]>2009-12-27 18:12:58 -0800
commitd1f64fa72f7e2362fa68f9cc8dc76be06fc846b4 (patch)
tree86b134819da93754bffc6fe358a579f28b540953 /src/gallium/drivers/trace/tr_context.c
parentf31f9cf485ba3e735c9e10acc715897e0151492c (diff)
trace: Silence unused variable warnings.
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.c')
-rw-r--r--src/gallium/drivers/trace/tr_context.c2
1 files changed, 2 insertions, 0 deletions
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;
}