From 0c50bedd9c960763d3e8e695b63957a964565be0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 11 Mar 2012 00:00:27 +0000 Subject: code cleanup: remove unused externs. --- source/blender/windowmanager/intern/wm_init_exit.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source/blender/windowmanager') 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 } -- cgit v1.2.3