projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f31f9cf
)
trace: Silence unused variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Mon, 28 Dec 2009 02:12:58 +0000
(18:12 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 28 Dec 2009 02:12:58 +0000
(18:12 -0800)
src/gallium/drivers/trace/tr_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/trace/tr_context.c
b/src/gallium/drivers/trace/tr_context.c
index bf470b46ae1d01d753995e588ccf2c89228e6017..540855c067d8fc4e04b51d8ec9abaaaa82a4ce55 100644
(file)
--- 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;
}