[Bf-blender-cvs] [285b09d] master: Cleanup: remove unused struct

Campbell Barton noreply at git.blender.org
Thu Dec 3 01:00:44 CET 2015


Commit: 285b09d8b9717925d97e8fc0aa8903f7d6cff29a
Author: Campbell Barton
Date:   Thu Dec 3 10:03:33 2015 +1100
Branches: master
https://developer.blender.org/rB285b09d8b9717925d97e8fc0aa8903f7d6cff29a

Cleanup: remove unused struct

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

M	source/blender/editors/space_console/console_draw.c

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

diff --git a/source/blender/editors/space_console/console_draw.c b/source/blender/editors/space_console/console_draw.c
index d206ce4..6396b39 100644
--- a/source/blender/editors/space_console/console_draw.c
+++ b/source/blender/editors/space_console/console_draw.c
@@ -68,21 +68,6 @@ static void console_line_color(unsigned char fg[3], int type)
 	}
 }
 
-typedef struct ConsoleDrawContext {
-	int cwidth;
-	int lheight;
-	int console_width;
-	int ymin, ymax;
-#if 0 /* used by textview, may use later */
-	int winx;
-	int *xy; // [2]
-	int *sel; // [2]
-	int *pos_pick;  /* bottom of view == 0, top of file == combine chars, end of line is lower then start. */
-	int *mval; // [2]
-	int draw;
-#endif
-} ConsoleDrawContext;
-
 void console_scrollback_prompt_begin(struct SpaceConsole *sc, ConsoleLine *cl_dummy)
 {
 	/* fake the edit line being in the scroll buffer */




More information about the Bf-blender-cvs mailing list