Remove variables tagged as unused. Easier to synchronize with current patches and...
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 29 Apr 2012 13:45:31 +0000 (13:45 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 29 Apr 2012 13:45:31 +0000 (13:45 +0000)
patches easier to read when variables are creating or e-using, but not un-commenting.

source/blender/editors/space_clip/clip_buttons.c
source/blender/editors/space_clip/space_clip.c
source/blender/editors/transform/transform.c

index ba77cd726d3702b00a5d6a4780ec9c8fd5ce9d47..82178e47ae527069ac9b0640d699bab9ba18bc92 100644 (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;
 }
 
index d3d4cbebc974dedb0c4bd6f0c6cc1aaf5a18f46b..4044568b70d254833d6ef7df5e990b91d05cc35b 100644 (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);
 }
 
index f972375a413175736333b613a68d1e0e1cebae32..fd21bd1922fde0aef8343c6561ac2cb4d18586ea 100644 (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;