Cleanup: unused function
authorCampbell Barton <ideasman42@gmail.com>
Wed, 6 Jun 2018 14:36:00 +0000 (16:36 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 6 Jun 2018 14:36:00 +0000 (16:36 +0200)
source/blender/blenkernel/intern/DerivedMesh.c

index ab5b4100ab65b952331aa0a7cb157bb31565b806..24fee9e815df617448488d6286fdb195b6391f82 100644 (file)
@@ -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;