[Bf-blender-cvs] [433aaa8c2e8] master: Cleanup: remove unused wmReport struct

Campbell Barton noreply at git.blender.org
Tue May 8 07:53:32 CEST 2018


Commit: 433aaa8c2e8db5c8f65a8942c59d66d99d5fa340
Author: Campbell Barton
Date:   Tue May 8 07:52:13 2018 +0200
Branches: master
https://developer.blender.org/rB433aaa8c2e8db5c8f65a8942c59d66d99d5fa340

Cleanup: remove unused wmReport struct

===================================================================

M	source/blender/windowmanager/WM_types.h

===================================================================

diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h
index 8c94c2ff043..7892e71ab11 100644
--- a/source/blender/windowmanager/WM_types.h
+++ b/source/blender/windowmanager/WM_types.h
@@ -622,26 +622,6 @@ typedef struct wmIMEData {
 
 typedef void (*wmPaintCursorDraw)(struct bContext *C, int, int, void *customdata);
 
-
-/* ****************** Messages ********************* */
-
-enum {
-	WM_LOG_DEBUG				= 0,
-	WM_LOG_INFO					= 1000,
-	WM_LOG_WARNING				= 2000,
-	WM_ERROR_UNDEFINED			= 3000,
-	WM_ERROR_INVALID_INPUT		= 3001,
-	WM_ERROR_INVALID_CONTEXT	= 3002,
-	WM_ERROR_OUT_OF_MEMORY		= 3003
-};
-
-typedef struct wmReport {
-	struct wmReport *next, *prev;
-	const char *typestr;
-	char *message;
-	int type;
-} wmReport;
-
 /* *************** Drag and drop *************** */
 
 #define WM_DRAG_ID		0



More information about the Bf-blender-cvs mailing list