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.
This commit is contained in:
Sybren A. Stüvel 2020-05-04 15:47:23 +02:00
parent 0a1fbfee2b
commit 194070e6f4
1 changed files with 2 additions and 0 deletions

View File

@ -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 */