summaryrefslogtreecommitdiff
path: root/gst/jpegformat
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/jpegformat
parent97ed6a26684e40b99458ca11c39a8145c8a2b5eb (diff)
downloadgstreamer-plugins-bad-efca04f23fc4dc52036fd61186e8acb7d49ebe81.tar.gz
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/jpegformat')
-rw-r--r--gst/jpegformat/gstjifmux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/jpegformat/gstjifmux.c b/gst/jpegformat/gstjifmux.c
index 28638b733..719067a3b 100644
--- a/gst/jpegformat/gstjifmux.c
+++ b/gst/jpegformat/gstjifmux.c
@@ -312,7 +312,6 @@ gst_jif_mux_parse_image (GstJifMux * self, GstBuffer * buf)
m = gst_jif_mux_new_marker (marker, 0, NULL, FALSE);
self->priv->markers = g_list_prepend (self->priv->markers, m);
goto done;
- break;
default:
if (!gst_byte_reader_get_uint16_be (&reader, &size))
goto error;