Commit: aaa35d10924c9a6258ecb916f8b7c819041a8085
Author: Dalai Felinto
Date:   Fri Mar 15 18:14:24 2019 -0300
Branches: master
https://developer.blender.org/rBaaa35d10924c9a6258ecb916f8b7c819041a8085

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.

===================================================================

M       source/blender/editors/space_view3d/view3d_draw_legacy.c

===================================================================

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;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to