From 05c48fe7d88fc6e92d4fd45177872680a7b71bbd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 11 Jun 2012 06:51:01 +0000 Subject: quiet 'unused' warning. --- source/blender/editors/gpencil/gpencil_paint.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/editors/gpencil/gpencil_paint.c') diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index c6b2c1554f0..4004efacadc 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -1271,7 +1271,7 @@ static void gp_paint_cleanup(tGPsdata *p) /* ------------------------------- */ /* Helper callback for drawing the cursor itself */ -static void gpencil_draw_eraser(bContext *C, int x, int y, void *p_ptr) +static void gpencil_draw_eraser(bContext *UNUSED(C), int x, int y, void *p_ptr) { tGPsdata *p = (tGPsdata *)p_ptr; @@ -1285,7 +1285,7 @@ static void gpencil_draw_eraser(bContext *C, int x, int y, void *p_ptr) glEnable(GL_LINE_SMOOTH); glEnable(GL_BLEND); - glutil_draw_lined_arc(0.0, M_PI*2.0, p->radius, 40); + glutil_draw_lined_arc(0.0, M_PI * 2.0, p->radius, 40); glDisable(GL_BLEND); glDisable(GL_LINE_SMOOTH); @@ -1305,8 +1305,8 @@ static void gpencil_draw_toggle_eraser_cursor(bContext *C, tGPsdata *p, short en else if (enable) { /* enable cursor */ p->erasercursor = WM_paint_cursor_activate(CTX_wm_manager(C), - NULL, // XXX - gpencil_draw_eraser, p); + NULL, // XXX + gpencil_draw_eraser, p); } } -- cgit v1.2.3