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:
authorCampbell Barton <ideasman42@gmail.com>2014-03-19 05:46:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-19 05:47:09 +0400
commita91247c2b4702cbdd423fb5526c2f5a8d04c65d8 (patch)
treeb18f3c10365e52f78eb10f249f5beb8f94477468 /source/blender/editors/space_clip
parentf127f49b4d8f06fc4328d470e6fae3e4ebf5cff6 (diff)
Code cleanup: unreachable break/return
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/clip_ops.c1
-rw-r--r--source/blender/editors/space_clip/tracking_ops.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c
index bb6c50d6224..14cd7de0125 100644
--- a/source/blender/editors/space_clip/clip_ops.c
+++ b/source/blender/editors/space_clip/clip_ops.c
@@ -1378,7 +1378,6 @@ static int clip_prefetch_modal(bContext *C, wmOperator *UNUSED(op), const wmEven
switch (event->type) {
case ESCKEY:
return OPERATOR_RUNNING_MODAL;
- break;
}
return OPERATOR_PASS_THROUGH;
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c
index 85e420f3e86..708c59729a5 100644
--- a/source/blender/editors/space_clip/tracking_ops.c
+++ b/source/blender/editors/space_clip/tracking_ops.c
@@ -191,7 +191,6 @@ static int add_marker_at_click_modal(bContext *C, wmOperator *UNUSED(op), const
switch (event->type) {
case MOUSEMOVE:
return OPERATOR_RUNNING_MODAL;
- break;
case LEFTMOUSE:
ED_area_headerprint(CTX_wm_area(C), NULL);
@@ -206,7 +205,6 @@ static int add_marker_at_click_modal(bContext *C, wmOperator *UNUSED(op), const
WM_event_add_notifier(C, NC_MOVIECLIP | NA_EDITED, clip);
return OPERATOR_FINISHED;
- break;
case ESCKEY:
ED_area_headerprint(CTX_wm_area(C), NULL);
@@ -1497,7 +1495,6 @@ static int track_markers_modal(bContext *C, wmOperator *UNUSED(op), const wmEven
switch (event->type) {
case ESCKEY:
return OPERATOR_RUNNING_MODAL;
- break;
}
return OPERATOR_PASS_THROUGH;
@@ -1765,7 +1762,6 @@ static int solve_camera_modal(bContext *C, wmOperator *UNUSED(op), const wmEvent
switch (event->type) {
case ESCKEY:
return OPERATOR_RUNNING_MODAL;
- break;
}
return OPERATOR_PASS_THROUGH;