[Bf-blender-cvs] [8afb13019dd] master: Cleanup: Silence compiler warning with release builds

Sergey Sharybin noreply at git.blender.org
Wed Apr 17 11:18:33 CEST 2019


Commit: 8afb13019dd9b9096c5eb4854e73fa513f83c739
Author: Sergey Sharybin
Date:   Wed Apr 17 10:54:56 2019 +0200
Branches: master
https://developer.blender.org/rB8afb13019dd9b9096c5eb4854e73fa513f83c739

Cleanup: Silence compiler warning with release builds

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

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

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

diff --git a/source/blender/blenkernel/intern/armature_update.c b/source/blender/blenkernel/intern/armature_update.c
index 917d29a9bbf..e6e9b561e78 100644
--- a/source/blender/blenkernel/intern/armature_update.c
+++ b/source/blender/blenkernel/intern/armature_update.c
@@ -806,6 +806,7 @@ static void pose_eval_cleanup_common(Object *object)
   bPose *pose = object->pose;
   BLI_assert(pose != NULL);
   BLI_assert(pose->chan_array != NULL || BLI_listbase_is_empty(&pose->chanbase));
+  UNUSED_VARS_NDEBUG(pose);
 }
 
 void BKE_pose_eval_done(struct Depsgraph *depsgraph, Object *object)



More information about the Bf-blender-cvs mailing list