Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2022-03-16 12:57:19 +0300
committerSergey Sharybin <sergey@blender.org>2022-03-18 14:07:08 +0300
commitc3ecfdf40b02f7d12775f1ded2f039d40f1470bb (patch)
tree1819bfb4c77444a82adfc79a7dbbfd5f2679e62e /source/blender/editors/space_nla
parent2252bc6a5527cd7360d1ccfe7a2d1bc640a8dfa6 (diff)
Cleanup: Compilation warnings
Mainly -Wset-but-unused-variable. Makes default compilation on macOS way less noisy. Differential Revision: https://developer.blender.org/D14357
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r--source/blender/editors/space_nla/space_nla.c6
1 files changed, 0 insertions, 6 deletions
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 = &region->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;