Silence warning from recent GPU simplify commit

Said commit introduced warnings and build problens. Let's be more
careful in the future. Warnings are not to be treated lightly either.
This commit is contained in:
Dalai Felinto 2019-03-15 18:14:24 -03:00
parent ddd28bad90
commit aaa35d1092
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ uint *ED_view3d_select_id_read(
/* smart function to sample a rect spiralling outside, nice for backbuf selection */
uint ED_view3d_select_id_read_nearest(
struct ViewContext *vc, const int mval[2],
struct ViewContext *UNUSED(vc), const int mval[2],
const uint min, const uint max, uint *r_dist)
{
uint index = 0;