diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-29 17:19:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-29 17:19:22 +0400 |
commit | 40489e378d33517997cd8b5502102c42c9c6d905 (patch) | |
tree | 7784b9c5409e2b513934fc37e7802fe84827c880 /source | |
parent | d47528b2f49d092120fbb32e3d1695aa6ecae391 (diff) |
quiet unused warnings
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_clip/clip_buttons.c | 4 | ||||
-rw-r--r-- | source/blender/editors/space_clip/space_clip.c | 2 | ||||
-rw-r--r-- | source/blender/editors/transform/transform.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_clip/clip_buttons.c b/source/blender/editors/space_clip/clip_buttons.c index 6bf7c4e3dc8..ba77cd726d3 100644 --- a/source/blender/editors/space_clip/clip_buttons.c +++ b/source/blender/editors/space_clip/clip_buttons.c @@ -63,9 +63,9 @@ /* Panels */ -static int clip_grease_pencil_panel_poll(const bContext *C, PanelType *UNUSED(pt)) +static int clip_grease_pencil_panel_poll(const bContext *UNUSED(C), PanelType *UNUSED(pt)) { - SpaceClip *sc = CTX_wm_space_clip(C); + /* SpaceClip *sc = CTX_wm_space_clip(C); */ /* UNUSED */ return TRUE; } diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c index 58582df7a3f..d3d4cbebc97 100644 --- a/source/blender/editors/space_clip/space_clip.c +++ b/source/blender/editors/space_clip/space_clip.c @@ -977,7 +977,7 @@ static void graph_area_draw(const bContext *C, ARegion *ar) static void clip_preview_area_draw(const bContext *C, ARegion *ar) { - SpaceClip *sc = CTX_wm_space_clip(C); + /* SpaceClip *sc = CTX_wm_space_clip(C); */ /* UNUSED */ graph_area_draw(C, ar); } diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 82bb30d660f..f972375a413 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -1591,7 +1591,7 @@ int initTransform(bContext *C, TransInfo *t, wmOperator *op, wmEvent *event, int t->draw_handle_cursor = WM_paint_cursor_activate(CTX_wm_manager(C), helpline_poll, drawHelpline, t); } else if (t->spacetype == SPACE_CLIP) { - SpaceClip *sc = CTX_wm_space_clip(C); + /* SpaceClip *sc = CTX_wm_space_clip(C); */ /* UNUSED */ unit_m3(t->spacemtx); t->draw_handle_view = ED_region_draw_cb_activate(t->ar->type, drawTransformView, t, REGION_DRAW_POST_VIEW); t->options |= CTX_MOVIECLIP; |