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:
parent
0a1fbfee2b
commit
194070e6f4
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue