From c3ecfdf40b02f7d12775f1ded2f039d40f1470bb Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 16 Mar 2022 10:57:19 +0100 Subject: Cleanup: Compilation warnings Mainly -Wset-but-unused-variable. Makes default compilation on macOS way less noisy. Differential Revision: https://developer.blender.org/D14357 --- source/blender/editors/space_nla/space_nla.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source/blender/editors/space_nla') diff --git a/source/blender/editors/space_nla/space_nla.c b/source/blender/editors/space_nla/space_nla.c index 3e7784d0364..42d3d841f4b 100644 --- a/source/blender/editors/space_nla/space_nla.c +++ b/source/blender/editors/space_nla/space_nla.c @@ -216,7 +216,6 @@ static void nla_main_region_draw(const bContext *C, ARegion *region) Scene *scene = CTX_data_scene(C); bAnimContext ac; View2D *v2d = ®ion->v2d; - short cfra_flag = 0; /* clear and setup matrix */ UI_ThemeClearColor(TH_BACK); @@ -240,11 +239,6 @@ static void nla_main_region_draw(const bContext *C, ARegion *region) UI_view2d_text_cache_draw(region); } - /* current frame */ - if (snla->flag & SNLA_DRAWTIME) { - cfra_flag |= DRAWCFRA_UNIT_SECONDS; - } - /* markers */ UI_view2d_view_orthoSpecial(region, v2d, 1); int marker_draw_flag = DRAW_MARKERS_MARGIN; -- cgit v1.2.3