summaryrefslogtreecommitdiff
path: root/gst/dvdspu/gstdvdspu.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis.bg@samsung.com>2014-09-25 16:04:33 +0100
committerLuis de Bethencourt <luis.bg@samsung.com>2014-09-25 16:41:15 +0100
commitefca04f23fc4dc52036fd61186e8acb7d49ebe81 (patch)
tree18e9938c4becafdee5c7453ca7ba2e15c8e8b08d /gst/dvdspu/gstdvdspu.c
parent97ed6a26684e40b99458ca11c39a8145c8a2b5eb (diff)
style: remove unnecessary break statements
Code flow never arrives to these break statements due to the gotos preceding them. So the breaks are unnecessary, as discussed in bug 736942. https://bugzilla.gnome.org/show_bug.cgi?id=737370
Diffstat (limited to 'gst/dvdspu/gstdvdspu.c')
-rw-r--r--gst/dvdspu/gstdvdspu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c
index 2c270fd9b3..57447266e3 100644
--- a/gst/dvdspu/gstdvdspu.c
+++ b/gst/dvdspu/gstdvdspu.c
@@ -1170,7 +1170,6 @@ gst_dvd_spu_subpic_event (GstPad * pad, GstObject * parent, GstEvent * event)
* video might still continue, though */
gst_event_unref (event);
goto done;
- break;
default:
res = gst_pad_event_default (pad, parent, event);
break;