From 3a5562151fdfc3c1531350ffd99534b50fbb0f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 17 Dec 2019 15:20:53 +0100 Subject: [PATCH] Cleanup: Animation: mark function parameter as `const` `fcurve_path_rename(..., rna_path, ...)` doesn't change `rna_path` at all, so it can be marked as `const char *`. No functional changes. --- source/blender/editors/curve/editcurve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index af2d92533c3..f18b6e91d0f 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -908,7 +908,7 @@ static bool curve_is_animated(Curve *cu) static void fcurve_path_rename(AnimData *adt, const char *orig_rna_path, - char *rna_path, + const char *rna_path, ListBase *orig_curves, ListBase *curves) {