mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 20:10:14 +01:00
trace: Silence unused variable warnings.
This commit is contained in:
parent
f31f9cf485
commit
d1f64fa72f
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue