[Bf-blender-cvs] [c8b85d32c53] master: Cleanup: quiet unused function warning

Campbell Barton noreply at git.blender.org
Fri Mar 27 01:36:23 CET 2020


Commit: c8b85d32c53aa0da13731274bec5c3788ba48d9c
Author: Campbell Barton
Date:   Fri Mar 27 11:23:22 2020 +1100
Branches: master
https://developer.blender.org/rBc8b85d32c53aa0da13731274bec5c3788ba48d9c

Cleanup: quiet unused function warning

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

M	source/blender/editors/sculpt_paint/sculpt.c

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

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 2f8ed929a1b..a15a8263a3b 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -426,7 +426,8 @@ void SCULPT_visibility_sync_all_face_sets_to_vertices(SculptSession *ss)
   }
 }
 
-static void sculpt_visibility_sync_vertex_to_face_sets(SculptSession *ss, int index)
+static void UNUSED_FUNCTION(sculpt_visibility_sync_vertex_to_face_sets)(SculptSession *ss,
+                                                                        int index)
 {
   MeshElemMap *vert_map = &ss->pmap[index];
   const bool visible = SCULPT_vertex_visible_get(ss, index);



More information about the Bf-blender-cvs mailing list