mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
i965: add MAYBE_UNUSED to assert param
Fixes unused variable warning in release build. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
4340294af8
commit
6fdfcd4d1c
1 changed files with 1 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ brw_upload_tcs_prog(struct brw_context *brw)
|
|||
/* BRW_NEW_TESS_PROGRAMS */
|
||||
struct brw_tess_ctrl_program *tcp =
|
||||
(struct brw_tess_ctrl_program *) brw->tess_ctrl_program;
|
||||
struct brw_tess_eval_program *tep =
|
||||
MAYBE_UNUSED struct brw_tess_eval_program *tep =
|
||||
(struct brw_tess_eval_program *) brw->tess_eval_program;
|
||||
assert(tep);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue