Cleanup: Silence compiler warning with release builds
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 17 Apr 2019 08:54:56 +0000 (10:54 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 17 Apr 2019 08:54:56 +0000 (10:54 +0200)
source/blender/blenkernel/intern/armature_update.c

index 917d29a..e6e9b56 100644 (file)
@@ -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)