quiet unused warnings
authorCampbell Barton <ideasman42@gmail.com>
Sun, 29 Apr 2012 13:19:22 +0000 (13:19 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 29 Apr 2012 13:19:22 +0000 (13:19 +0000)
source/blender/editors/space_clip/clip_buttons.c
source/blender/editors/space_clip/space_clip.c
source/blender/editors/transform/transform.c

index 6bf7c4e3dc8881865a0472266eed73b4dfee9ed3..ba77cd726d3702b00a5d6a4780ec9c8fd5ce9d47 100644 (file)
@@ -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;
 }
index 58582df7a3ff601dc8866a1a3cbdb6a618162d3d..d3d4cbebc974dedb0c4bd6f0c6cc1aaf5a18f46b 100644 (file)
@@ -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);
 }
index 82bb30d660f83a762bfd5f60efa9fc38f9360d3c..f972375a413175736333b613a68d1e0e1cebae32 100644 (file)
@@ -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;