Mesa (mesa_7_7_branch): trace: Silence unused variable warnings.
Vinson Lee
vlee at kemper.freedesktop.org
Mon Dec 28 02:13:31 UTC 2009
Module: Mesa
Branch: mesa_7_7_branch
Commit: d1f64fa72f7e2362fa68f9cc8dc76be06fc846b4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1f64fa72f7e2362fa68f9cc8dc76be06fc846b4
Author: Vinson Lee <vlee at vmware.com>
Date: Sun Dec 27 18:12:58 2009 -0800
trace: Silence unused variable warnings.
---
src/gallium/drivers/trace/tr_context.c | 2 ++
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 bf470b4..540855c 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;
}
More information about the mesa-commit
mailing list