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:
authorCampbell Barton <ideasman42@gmail.com>2020-06-18 05:21:38 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-06-18 07:30:04 +0300
commit3aa1143d57bc8e35622f02e9bc570135a472af77 (patch)
treefa0c49e8b58f82aa0b573f28cba18324a465c75c /source/blender/windowmanager
parent790d942b69d1b8d085732665cd76dfec839cd712 (diff)
Cleanup: redundant parenthesis
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index ed1b29d61ce..d4b87a44da1 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -1408,7 +1408,9 @@ static ImBuf *blend_file_thumb(const bContext *C,
bool write_crash_blend(void)
{
char path[FILE_MAX];
- int fileflags = G.fileflags & ~(G_FILE_HISTORY); /* don't do file history on crash file */
+
+ /* Don't do file history on crash file. */
+ const int fileflags = G.fileflags & ~G_FILE_HISTORY;
BLI_strncpy(path, BKE_main_blendfile_path_from_global(), sizeof(path));
BLI_path_extension_replace(path, sizeof(path), "_crash.blend");