diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-07-03 18:20:41 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-07-03 18:42:45 +0300 |
commit | a201020cd3048af0a3068e4ba387ee8d16a35c1a (patch) | |
tree | 163f21c6c6e16f5f987c46d9bce6c40833128cf3 /source/blender/editors/space_clip/tracking_ops_track.c | |
parent | f254f66587f257b7de252644dd73574ad27a32af (diff) |
Cleanup: Editors/Space/Clip, Clang-Tidy else-after-return fixes
This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/editors/space_clip` module.
No functional changes.
Diffstat (limited to 'source/blender/editors/space_clip/tracking_ops_track.c')
-rw-r--r-- | source/blender/editors/space_clip/tracking_ops_track.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops_track.c b/source/blender/editors/space_clip/tracking_ops_track.c index 05623347366..cec7b371457 100644 --- a/source/blender/editors/space_clip/tracking_ops_track.c +++ b/source/blender/editors/space_clip/tracking_ops_track.c @@ -358,14 +358,13 @@ static int track_markers(bContext *C, wmOperator *op, bool use_job) return OPERATOR_RUNNING_MODAL; } - else { - short stop = 0, do_update = 0; - float progress = 0.0f; - track_markers_startjob(tmj, &stop, &do_update, &progress); - track_markers_endjob(tmj); - track_markers_freejob(tmj); - return OPERATOR_FINISHED; - } + + short stop = 0, do_update = 0; + float progress = 0.0f; + track_markers_startjob(tmj, &stop, &do_update, &progress); + track_markers_endjob(tmj); + track_markers_freejob(tmj); + return OPERATOR_FINISHED; } static int track_markers_exec(bContext *C, wmOperator *op) |