From b134434224254d4ac3fc73d023f2f6d914746690 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 7 Aug 2020 22:36:11 +1000 Subject: Cleanup: declare arrays arrays where possible --- source/blender/makesrna/intern/makesrna.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna/intern/makesrna.c') diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index bebb3a49c04..8781a3f448f 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -175,7 +175,7 @@ static int replace_if_different(const char *tmpfile, const char *dep_files[]) if (dep_files) { int pass; for (pass = 0; dep_files[pass]; pass++) { - char from_path[4096] = __FILE__; + const char from_path[4096] = __FILE__; char *p1, *p2; /* dir only */ -- cgit v1.2.3