diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2007-01-17 17:29:04 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-01-17 17:29:04 +0000 |
commit | a43720466a3d1db393b1317bff3ead67685fd611 (patch) | |
tree | 76306ce71ba04da92d8ebd55083f55c9561f42ac /ext | |
parent | fbf13cbbf1cd2061d19fb784af2cc5fd91fb5e40 (diff) | |
download | gst-plugins-bad-a43720466a3d1db393b1317bff3ead67685fd611.tar.gz gst-plugins-bad-a43720466a3d1db393b1317bff3ead67685fd611.tar.bz2 gst-plugins-bad-a43720466a3d1db393b1317bff3ead67685fd611.zip |
ext/mythtv/gstmythtvsrc.c: Use break here instead of goto.
Original commit message from CVS:
* ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_set_property):
Use break here instead of goto.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/mythtv/gstmythtvsrc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/mythtv/gstmythtvsrc.c b/ext/mythtv/gstmythtvsrc.c index f65bbed7..7894b5a2 100644 --- a/ext/mythtv/gstmythtvsrc.c +++ b/ext/mythtv/gstmythtvsrc.c @@ -1105,7 +1105,7 @@ gst_mythtv_src_set_property (GObject * object, guint prop_id, { if (!g_value_get_string (value)) { GST_WARNING ("location property cannot be NULL"); - goto done; + break; } if (mythtvsrc->uri_name != NULL) { @@ -1147,7 +1147,7 @@ gst_mythtv_src_set_property (GObject * object, guint prop_id, { if (!g_value_get_string (value)) { GST_WARNING ("MythTV Live chainid property cannot be NULL"); - goto done; + break; } if (mythtvsrc->live_chain_id != NULL) { @@ -1167,7 +1167,6 @@ gst_mythtv_src_set_property (GObject * object, guint prop_id, break; } -done: GST_OBJECT_UNLOCK (mythtvsrc); } |