[Bf-blender-cvs] [92bc2779503] master: Cleanup: undeclared warnings

Campbell Barton noreply at git.blender.org
Fri Jul 10 04:21:30 CEST 2020


Commit: 92bc2779503bf3f41ede76ce690f520ea9c09e5d
Author: Campbell Barton
Date:   Fri Jul 10 11:40:38 2020 +1000
Branches: master
https://developer.blender.org/rB92bc2779503bf3f41ede76ce690f520ea9c09e5d

Cleanup: undeclared warnings

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

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 71766a32814..edbd123c7a7 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -547,7 +547,7 @@ void SCULPT_visibility_sync_all_vertex_to_face_sets(SculptSession *ss)
   }
 }
 
-bool sculpt_check_unique_face_set_in_base_mesh(SculptSession *ss, int index)
+static bool sculpt_check_unique_face_set_in_base_mesh(SculptSession *ss, int index)
 {
   MeshElemMap *vert_map = &ss->pmap[index];
   int face_set = -1;
@@ -564,9 +564,11 @@ bool sculpt_check_unique_face_set_in_base_mesh(SculptSession *ss, int index)
   return true;
 }
 
-/* Checks if the face sets of the adjacent faces to the edge between v1 and v2 in the base mesh are
- * equal. */
-bool sculpt_check_unique_face_set_for_edge_in_base_mesh(SculptSession *ss, int v1, int v2)
+/**
+ * Checks if the face sets of the adjacent faces to the edge between \a v1 and \a v2
+ * in the base mesh are equal.
+ */
+static bool sculpt_check_unique_face_set_for_edge_in_base_mesh(SculptSession *ss, int v1, int v2)
 {
   MeshElemMap *vert_map = &ss->pmap[v1];
   int p1 = -1, p2 = -1;
@@ -786,7 +788,7 @@ void SCULPT_vertex_neighbors_get(SculptSession *ss,
   }
 }
 
-bool sculpt_check_boundary_vertex_in_base_mesh(SculptSession *ss, const int index)
+static bool sculpt_check_boundary_vertex_in_base_mesh(SculptSession *ss, const int index)
 {
   const MeshElemMap *vert_map = &ss->pmap[index];
   if (vert_map->count <= 1) {



More information about the Bf-blender-cvs mailing list