diff options
author | Timothy Arceri <[email protected]> | 2016-10-04 11:15:07 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-10-05 10:13:58 +1100 |
commit | 6fdfcd4d1cad0e83442d061bac3836b1ba1e8b04 (patch) | |
tree | 5fbe2f08412df3887e8202a4671c1c80fef49f7b /src/mesa/drivers/dri | |
parent | 4340294af8a2a21a0a613c2c7995cc61e8cb03de (diff) |
i965: add MAYBE_UNUSED to assert param
Fixes unused variable warning in release build.
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_tcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_tcs.c b/src/mesa/drivers/dri/i965/brw_tcs.c index 1f1b1a575d2..7209ae2125a 100644 --- a/src/mesa/drivers/dri/i965/brw_tcs.c +++ b/src/mesa/drivers/dri/i965/brw_tcs.c @@ -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); |