diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-05-04 16:47:23 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-05-04 16:47:33 +0300 |
commit | 194070e6f4d6efe5a1594b1dd0faf1a337b71249 (patch) | |
tree | 793302dfe4c324777d9029addc8d592c2ce17ccc /source/blender/blenkernel/intern | |
parent | 0a1fbfee2ba51e88436fd9c1ab4d349f97c47491 (diff) |
Added missing return statement
Every code path through the `fcurve_eval_keyframes_interpolate()` function
has a valid `return` statement, but in debug mode GCC still doesn't like it.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/fcurve.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/fcurve.c b/source/blender/blenkernel/intern/fcurve.c index 3f55831cfeb..543d5c8b7c7 100644 --- a/source/blender/blenkernel/intern/fcurve.c +++ b/source/blender/blenkernel/intern/fcurve.c @@ -1719,6 +1719,8 @@ static float fcurve_eval_keyframes_interpolate(FCurve *fcu, BezTriple *bezts, fl default: return prevbezt->vec[1][1]; } + + return 0.0f; } /* Calculate F-Curve value for 'evaltime' using BezTriple keyframes */ |