[Bf-blender-cvs] [36000e6da3f] blender2.8: Cleanup: unused function

Campbell Barton noreply at git.blender.org
Wed Jun 6 16:36:12 CEST 2018


Commit: 36000e6da3fccc94b8623a66e3f2572aa5647db7
Author: Campbell Barton
Date:   Wed Jun 6 16:36:00 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB36000e6da3fccc94b8623a66e3f2572aa5647db7

Cleanup: unused function

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

M	source/blender/blenkernel/intern/DerivedMesh.c

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

diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c
index ab5b4100ab6..24fee9e815d 100644
--- a/source/blender/blenkernel/intern/DerivedMesh.c
+++ b/source/blender/blenkernel/intern/DerivedMesh.c
@@ -95,7 +95,6 @@
 static ThreadRWMutex loops_cache_lock = PTHREAD_RWLOCK_INITIALIZER;
 
 
-static void add_shapekey_layers(DerivedMesh *dm, Mesh *me, Object *ob);
 static void shapekey_layers_to_keyblocks(DerivedMesh *dm, Mesh *me, int actshape_uid);
 
 static void mesh_init_origspace(Mesh *mesh);
@@ -1924,7 +1923,7 @@ static void shapekey_layers_to_keyblocks(DerivedMesh *dm, Mesh *me, int actshape
 	}
 }
 
-static void add_shapekey_layers(DerivedMesh *dm, Mesh *me, Object *UNUSED(ob))
+static void UNUSED_FUNCTION(add_shapekey_layers)(DerivedMesh *dm, Mesh *me, Object *UNUSED(ob))
 {
 	KeyBlock *kb;
 	Key *key = me->key;



More information about the Bf-blender-cvs mailing list