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>2013-08-28 06:14:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-28 06:14:24 +0400
commit9e561a641ecd8db55a7bb67abe961b4f2eb1734d (patch)
tree6019a8e853243b65c7fc1df31360d1968874f1cd /source/creator
parent27df6a3b546bf4188b0f29bcb90df201a6730574 (diff)
remove callback BLI_localErrorCallBack from scanfill, was here for years and only ever wrapped printf.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 083fc5e128b..b442194bd7d 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -118,8 +118,6 @@
#include "GPU_draw.h"
#include "GPU_extensions.h"
-#include "BLI_scanfill.h" /* for BLI_setErrorCallBack, TODO, move elsewhere */
-
#ifdef WITH_FREESTYLE
# include "FRS_freestyle.h"
#endif
@@ -1685,12 +1683,6 @@ void main_python_exit(void)
}
#endif
-static void error_cb(const char *err)
-{
-
- printf("%s\n", err); /* XXX do this in WM too */
-}
-
static void mem_error_cb(const char *errorStr)
{
fputs(errorStr, stderr);
@@ -1701,9 +1693,4 @@ static void setCallbacks(void)
{
/* Error output from the alloc routines: */
MEM_set_error_callback(mem_error_cb);
-
-
- /* BLI_blenlib: */
-
- BLI_setErrorCallBack(error_cb); /* */
}