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: 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. --- ext/mythtv/gstmythtvsrc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ext/mythtv') 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); } -- cgit v1.2.1