[Bf-blender-cvs] [0e0139b3046] master: Cleanup: quiet warning for unused pose_propagate_fcurve

Campbell Barton noreply at git.blender.org
Mon Jan 9 07:41:55 CET 2023


Commit: 0e0139b30467c90fd37efa7692123e359b74d4a5
Author: Campbell Barton
Date:   Mon Jan 9 17:34:53 2023 +1100
Branches: master
https://developer.blender.org/rB0e0139b30467c90fd37efa7692123e359b74d4a5

Cleanup: quiet warning for unused pose_propagate_fcurve

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

M	source/blender/editors/armature/pose_slide.c

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

diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c
index 9ae71a32774..e2610628f97 100644
--- a/source/blender/editors/armature/pose_slide.c
+++ b/source/blender/editors/armature/pose_slide.c
@@ -1794,7 +1794,9 @@ static void propagate_curve_values(ListBase /*tPChanFCurveLink*/ *pflinks,
 /**
  * Propagate just works along each F-Curve in turn.
  */
-static void pose_propagate_fcurve(FCurve *fcu, float start_frame, const float end_frame)
+static void UNUSED_FUNCTION(pose_propagate_fcurve)(FCurve *fcu,
+                                                   float start_frame,
+                                                   const float end_frame)
 {
   /* Skip if no keyframes to edit. */
   if ((fcu->bezt == NULL) || (fcu->totvert < 2)) {



More information about the Bf-blender-cvs mailing list