ext/mythtv/gstmythtvsrc.c: Use break here instead of goto.
authorTim-Philipp Müller <tim@centricular.net>
Wed, 17 Jan 2007 17:29:04 +0000 (17:29 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 17 Jan 2007 17:29:04 +0000 (17:29 +0000)
Original commit message from CVS:
* ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_set_property):
Use break here instead of goto.

ChangeLog
ext/mythtv/gstmythtvsrc.c

index 8e44f7ddc2a81b20c0fea2abce4c4101b2d79da3..26210125c4624869ce11a60ca728e8d6567db0d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_set_property):
+         Use break here instead of goto.
+
 2007-01-13  Andy Wingo  <wingo@pobox.com>
 
        * gst/interleave/deinterleave.c (gst_deinterleave_add_new_pads):
index f65bbed7b0ccd257b92f64386af52ea3db5370e7..7894b5a24c2f33c368f6c897166ce91e8733db91 100644 (file)
@@ -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);
 }