Remove variables tagged as unused. Easier to synchronize with current patches and makes

patches easier to read when variables are creating or e-using, but not un-commenting.
This commit is contained in:
Sergey Sharybin
2012-04-29 13:45:31 +00:00
parent 38c2d34d47
commit d30ee954f8
3 changed files with 0 additions and 5 deletions

View File

@@ -65,8 +65,6 @@
static int clip_grease_pencil_panel_poll(const bContext *UNUSED(C), PanelType *UNUSED(pt))
{
/* SpaceClip *sc = CTX_wm_space_clip(C); */ /* UNUSED */
return TRUE;
}

View File

@@ -977,8 +977,6 @@ 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); */ /* UNUSED */
graph_area_draw(C, ar);
}

View File

@@ -1591,7 +1591,6 @@ 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); */ /* 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;