[Bf-blender-cvs] [5ba727861db] master: Cleanup: compiler warnings

Brecht Van Lommel noreply at git.blender.org
Fri Feb 14 14:11:42 CET 2020


Commit: 5ba727861db2603fe1ca9857b7f140a1271807ef
Author: Brecht Van Lommel
Date:   Fri Feb 14 14:10:53 2020 +0100
Branches: master
https://developer.blender.org/rB5ba727861db2603fe1ca9857b7f140a1271807ef

Cleanup: compiler warnings

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

M	source/blender/editors/transform/transform.c
M	source/blender/editors/transform/transform_mode_vert_slide.c

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

diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index e00af488f46..13a7ffae141 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -75,8 +75,6 @@ static void drawTransformApply(const struct bContext *C, ARegion *ar, void *arg)
 
 static void initSnapSpatial(TransInfo *t, float r_snap[3]);
 
-static void storeCustomLNorValue(TransDataContainer *t, BMesh *bm);
-
 bool transdata_check_local_islands(TransInfo *t, short around)
 {
   return ((around == V3D_AROUND_LOCAL_ORIGINS) && ((ELEM(t->obedit_type, OB_MESH))));
diff --git a/source/blender/editors/transform/transform_mode_vert_slide.c b/source/blender/editors/transform/transform_mode_vert_slide.c
index 1ca6fc11579..d3798cce9f8 100644
--- a/source/blender/editors/transform/transform_mode_vert_slide.c
+++ b/source/blender/editors/transform/transform_mode_vert_slide.c
@@ -525,7 +525,7 @@ void doVertSlide(TransInfo *t, float perc)
   }
 }
 
-void applyVertSlide(TransInfo *t, const int UNUSED(mval[2]))
+static void applyVertSlide(TransInfo *t, const int UNUSED(mval[2]))
 {
   char str[UI_MAX_DRAW_STR];
   size_t ofs = 0;



More information about the Bf-blender-cvs mailing list