From a43720466a3d1db393b1317bff3ead67685fd611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 17 Jan 2007 17:29:04 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ ext/mythtv/gstmythtvsrc.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8e44f7ddc2..26210125c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-17 Tim-Philipp Müller + + * ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_set_property): + Use break here instead of goto. + 2007-01-13 Andy Wingo * gst/interleave/deinterleave.c (gst_deinterleave_add_new_pads): diff --git a/ext/mythtv/gstmythtvsrc.c b/ext/mythtv/gstmythtvsrc.c index f65bbed7b0..7894b5a24c 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); }