[Bf-blender-cvs] [5fe83ffb3a5] master: Cleanup: unused functions

Campbell Barton noreply at git.blender.org
Mon Sep 9 16:49:04 CEST 2019


Commit: 5fe83ffb3a53e9b67c77fcc01d4928c816978e03
Author: Campbell Barton
Date:   Tue Sep 10 00:42:04 2019 +1000
Branches: master
https://developer.blender.org/rB5fe83ffb3a53e9b67c77fcc01d4928c816978e03

Cleanup: unused functions

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

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 69b23040993..b05d9db87f7 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -116,7 +116,7 @@ static void sculpt_vertex_random_access_init(SculptSession *ss)
   }
 }
 
-static int sculpt_active_vertex_get(SculptSession *ss)
+static int UNUSED_FUNCTION(sculpt_active_vertex_get)(SculptSession *ss)
 {
   switch (BKE_pbvh_type(ss->pbvh)) {
     case PBVH_FACES:
@@ -187,7 +187,7 @@ static float sculpt_vertex_mask_get(SculptSession *ss, int index)
   }
 }
 
-static void sculpt_vertex_co_set(SculptSession *ss, int index, float co[3])
+static void UNUSED_FUNCTION(sculpt_vertex_co_set)(SculptSession *ss, int index, float co[3])
 {
   switch (BKE_pbvh_type(ss->pbvh)) {
     case PBVH_FACES:
@@ -201,7 +201,7 @@ static void sculpt_vertex_co_set(SculptSession *ss, int index, float co[3])
   }
 }
 
-static void sculpt_vertex_tag_update(SculptSession *ss, int index)
+static void UNUSED_FUNCTION(sculpt_vertex_tag_update)(SculptSession *ss, int index)
 {
   switch (BKE_pbvh_type(ss->pbvh)) {
     case PBVH_FACES:



More information about the Bf-blender-cvs mailing list