diff options
author | mano-wii <germano.costa@ig.com.br> | 2020-02-15 22:22:04 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2020-02-15 22:26:18 +0300 |
commit | b5f17f6b8a058185cf1c85b308557e5cf9d7a573 (patch) | |
tree | 2286e0acaa490a2b696c1c644c41f6bbe5afd822 /source/blender/editors/transform/transform_mode_timescale.c | |
parent | e0499387ca0a641a92f3ad22bcdfc356d4828f12 (diff) |
Cleanup: Silence warnings
Diffstat (limited to 'source/blender/editors/transform/transform_mode_timescale.c')
-rw-r--r-- | source/blender/editors/transform/transform_mode_timescale.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform_mode_timescale.c b/source/blender/editors/transform/transform_mode_timescale.c index 6af5dc3033c..b75ef4da0f2 100644 --- a/source/blender/editors/transform/transform_mode_timescale.c +++ b/source/blender/editors/transform/transform_mode_timescale.c @@ -64,15 +64,12 @@ static void headerTimeScale(TransInfo *t, char str[UI_MAX_DRAW_STR]) static void applyTimeScaleValue(TransInfo *t, float value) { Scene *scene = t->scene; - int i; - const short autosnap = getAnimEdit_SnapMode(t); - const double secf = FPS; FOREACH_TRANS_DATA_CONTAINER (t, tc) { TransData *td = tc->data; TransData2D *td2d = tc->data_2d; - for (i = 0; i < tc->data_len; i++, td++, td2d++) { + for (int i = 0; i < tc->data_len; i++, td++, td2d++) { /* it is assumed that td->extra is a pointer to the AnimData, * whose active action is where this keyframe comes from * (this is only valid when not in NLA) |