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.
This commit is contained in:
Sybren A. Stüvel 2019-12-17 15:20:53 +01:00
parent 84c1e57dfe
commit 3a5562151f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{