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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-01-16 22:22:46 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-01-16 22:22:46 +0300
commitf65b369f16773601d932881649e89bd59a6d0e6b (patch)
tree418e0526b1c0224878ef4112e3336d668c3d7ae4 /source/blender/blenlib/intern/path_util.c
parent89e562e19bba4098d01bed7402fec23d9660a89b (diff)
Fix compilation error with strict compiler rules
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r--source/blender/blenlib/intern/path_util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c
index 793f4d589cd..35398939ab7 100644
--- a/source/blender/blenlib/intern/path_util.c
+++ b/source/blender/blenlib/intern/path_util.c
@@ -438,8 +438,7 @@ void BLI_cleanup_file(const char *relabase, char *path)
*/
void BLI_filename_make_safe(char *fname)
{
- char *invalid = "/\\?%*:|\"<>. ";
- char *c;
+ const char *invalid = "/\\?%*:|\"<>. ";
for (; *fname && (fname = strpbrk(fname, invalid)); fname++) {
*fname = '_';