[Bf-blender-cvs] [c41e8b8f6f3] master: GPencil: Remove unused var

Clément Foucault noreply at git.blender.org
Mon Mar 25 20:27:05 CET 2019


Commit: c41e8b8f6f38b9f5a037e11b83b49c4481256716
Author: Clément Foucault
Date:   Mon Mar 25 20:24:02 2019 +0100
Branches: master
https://developer.blender.org/rBc41e8b8f6f38b9f5a037e11b83b49c4481256716

GPencil: Remove unused var

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

M	source/blender/editors/gpencil/gpencil_utils.c

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

diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c
index ab116f115cc..3cab71272fa 100644
--- a/source/blender/editors/gpencil/gpencil_utils.c
+++ b/source/blender/editors/gpencil/gpencil_utils.c
@@ -1663,7 +1663,6 @@ static bool gp_brush_cursor_poll(bContext *C)
 /* Helper callback for drawing the cursor itself */
 static void gp_brush_cursor_draw(bContext *C, int x, int y, void *customdata)
 {
-	Main *bmain = CTX_data_main(C);
 	Scene *scene = CTX_data_scene(C);
 	Object *ob = CTX_data_active_object(C);
 	ARegion *ar = CTX_wm_region(C);



More information about the Bf-blender-cvs mailing list