diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-11 10:51:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-11 10:51:01 +0400 |
commit | 05c48fe7d88fc6e92d4fd45177872680a7b71bbd (patch) | |
tree | 098480cd94ec09b4365cb0ab3f3a42c9b50a7155 /source/blender/editors/gpencil | |
parent | 61fe88aedc27759bcf8abcaa862dfb2cc9164081 (diff) |
quiet 'unused' warning.
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } } |