[Bf-blender-cvs] [8c8d84fbc56] master: Cleanup: compiler warning, typo in comment
Campbell Barton
noreply at git.blender.org
Thu Feb 17 06:52:05 CET 2022
Commit: 8c8d84fbc5681fd4dd3250a2df7422f7268263ce
Author: Campbell Barton
Date: Thu Feb 17 16:50:44 2022 +1100
Branches: master
https://developer.blender.org/rB8c8d84fbc5681fd4dd3250a2df7422f7268263ce
Cleanup: compiler warning, typo in comment
===================================================================
M source/blender/blenkernel/BKE_curves.hh
M source/blender/editors/space_graph/graph_slider_ops.c
===================================================================
diff --git a/source/blender/blenkernel/BKE_curves.hh b/source/blender/blenkernel/BKE_curves.hh
index 6bcbb0f6e66..0f0b77902cc 100644
--- a/source/blender/blenkernel/BKE_curves.hh
+++ b/source/blender/blenkernel/BKE_curves.hh
@@ -50,7 +50,7 @@ class CurvesGeometryRuntime {
/**
* A C++ class that wraps the DNA struct for better encapsulation and ease of use. It inherits
- * directly from the struct rather than storing a pointer to avoid more complcated ownership
+ * directly from the struct rather than storing a pointer to avoid more complicated ownership
* handling.
*/
class CurvesGeometry : public ::CurvesGeometry {
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);
More information about the Bf-blender-cvs
mailing list