diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-13 04:47:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-13 04:47:47 +0400 |
commit | 0260e4b8a38cc567eda0679aaf7723ff442bdc34 (patch) | |
tree | cc389308b7db49d80733bcadaec28654b482649f /source/blender/windowmanager/intern | |
parent | d6a291ca37fbe183873a62034692eab53e8d9278 (diff) |
code cleanup: quiet warnings
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 6c16c968a81..df463076919 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -1006,7 +1006,7 @@ void wm_autosave_timer(const bContext *C, wmWindowManager *wm, wmTimer *UNUSED(w if (U.uiflag & USER_GLOBALUNDO) { /* fast save of last undobuffer, now with UI */ - BKE_undo_save_file(C, filepath); + BKE_undo_save_file(filepath); } else { /* save as regular blend file */ diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index 563cb592d5a..734941b8907 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -385,7 +385,7 @@ void WM_exit_ext(bContext *C, const short do_python) BLI_make_file_string("/", filename, BLI_temporary_dir(), "quit.blend"); - if (BKE_undo_save_file(C, filename)) + if (BKE_undo_save_file(filename)) printf("Saved session recovery to '%s'\n", filename); } } |