diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 04:00:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 04:00:27 +0400 |
commit | 0c50bedd9c960763d3e8e695b63957a964565be0 (patch) | |
tree | cd155d7f484052fcc959f5b74b5b413a998889a3 /source/blender/windowmanager | |
parent | 7f34653f59ad3f7bed75eb9a36aa6ed928eef181 (diff) |
code cleanup: remove unused externs.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index f5dec4dbcd3..9656a45509c 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -317,9 +317,6 @@ static void free_openrecent(void) /* bad stuff*/ -extern wchar_t *copybuf; -extern wchar_t *copybufinfo; - // XXX copy/paste buffer stuff... extern void free_anim_copybuf(void); extern void free_anim_drivers_copybuf(void); @@ -419,9 +416,7 @@ void WM_exit_ext(bContext *C, const short do_python) GPU_global_buffer_pool_free(); GPU_free_unused_buffers(); GPU_extensions_exit(); - -// if (copybuf) MEM_freeN(copybuf); -// if (copybufinfo) MEM_freeN(copybufinfo); + if (!G.background) { BKE_undo_save_quit(); // saves quit.blend if global undo is on } |