From aaa35d10924c9a6258ecb916f8b7c819041a8085 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 15 Mar 2019 18:14:24 -0300 Subject: 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. --- source/blender/editors/space_view3d/view3d_draw_legacy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender') diff --git a/source/blender/editors/space_view3d/view3d_draw_legacy.c b/source/blender/editors/space_view3d/view3d_draw_legacy.c index 1f13f308005..4660220fe27 100644 --- a/source/blender/editors/space_view3d/view3d_draw_legacy.c +++ b/source/blender/editors/space_view3d/view3d_draw_legacy.c @@ -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; -- cgit v1.2.3