diff options
author | Campbell Barton <campbell@blender.org> | 2022-02-17 08:50:44 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-02-17 08:50:44 +0300 |
commit | 8c8d84fbc5681fd4dd3250a2df7422f7268263ce (patch) | |
tree | 6ca7ef49068e0ac13c05e873ac4b92194c64687b /source/blender/editors/space_graph/graph_slider_ops.c | |
parent | bdde8c72071fe6df52111d9b7625a087a70fb993 (diff) |
Cleanup: compiler warning, typo in comment
Diffstat (limited to 'source/blender/editors/space_graph/graph_slider_ops.c')
-rw-r--r-- | source/blender/editors/space_graph/graph_slider_ops.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/editors/space_graph/graph_slider_ops.c b/source/blender/editors/space_graph/graph_slider_ops.c index 2aebc6f2eeb..1a3355b0139 100644 --- a/source/blender/editors/space_graph/graph_slider_ops.c +++ b/source/blender/editors/space_graph/graph_slider_ops.c @@ -163,9 +163,11 @@ static void reset_bezts(tGraphSliderOp *gso) ANIM_animdata_freelist(&anim_data); } -/* Get factor value and store it in RNA property. Custom data of wmOperator needs to contain - * tGraphSliderOp. */ -const float slider_factor_get_and_remember(wmOperator *op) +/** + * Get factor value and store it in RNA property. + * Custom data of #wmOperator needs to contain #tGraphSliderOp. + */ +static float slider_factor_get_and_remember(wmOperator *op) { tGraphSliderOp *gso = op->customdata; const float factor = ED_slider_factor_get(gso->slider); |