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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user