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>2021-03-15 06:09:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-15 06:48:17 +0300
commitd611f2889ec78993d7d7e644c78b0e2775573da9 (patch)
treeb9c3442dbd5f532d6fd5b3f5ab2d3b09b071e0f4 /source/blender/windowmanager/intern/wm_files.c
parent6cd15203788b80ab45cb2e7503de42e665a70869 (diff)
Cleanup: remove unused auto-save read function
Also make wm_autosave_location a static function.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index bada86b13aa..fb0b9ed39e4 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -1607,7 +1607,7 @@ static bool wm_file_write(bContext *C,
/** \name Auto-Save API
* \{ */
-void wm_autosave_location(char *filepath)
+static void wm_autosave_location(char *filepath)
{
const int pid = abs(getpid());
char path[1024];
@@ -1722,14 +1722,6 @@ void wm_autosave_delete(void)
}
}
-void wm_autosave_read(bContext *C, ReportList *reports)
-{
- char filename[FILE_MAX];
-
- wm_autosave_location(filename);
- WM_file_read(C, filename, reports);
-}
-
/** \} */
/* -------------------------------------------------------------------- */