Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2019-12-17 17:20:53 +0300
committerSybren A. Stüvel <sybren@blender.org>2019-12-17 17:22:29 +0300
commit3a5562151fdfc3c1531350ffd99534b50fbb0f37 (patch)
tree3a5d85ea29e54918b999dafbd090c9ea90ca6503 /source/blender/editors/curve/editcurve.c
parent84c1e57dfeed1f6a84bd210d949b4285c3132064 (diff)
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.
Diffstat (limited to 'source/blender/editors/curve/editcurve.c')
-rw-r--r--source/blender/editors/curve/editcurve.c2
1 files changed, 1 insertions, 1 deletions
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)
{