From 593f7d520eb82baf0287695380aacd73231684ef Mon Sep 17 00:00:00 2001 From: Anuj Jaiswal Date: Fri, 19 Sep 2014 09:51:48 +0530 Subject: [PATCH] androidmedia: break statements unnecessary Code flow never arrives to the break statements due to the goto's. So the breaks are unecessary. Second part to commit a3958ae65b https://bugzilla.gnome.org/show_bug.cgi?id=736940 --- sys/androidmedia/gstamcaudiodec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/androidmedia/gstamcaudiodec.c b/sys/androidmedia/gstamcaudiodec.c index a94e5698af..4c1f5add90 100644 --- a/sys/androidmedia/gstamcaudiodec.c +++ b/sys/androidmedia/gstamcaudiodec.c @@ -466,16 +466,16 @@ retry: goto get_output_buffers_error; goto retry; - break; + } case INFO_TRY_AGAIN_LATER: GST_DEBUG_OBJECT (self, "Dequeueing output buffer timed out"); goto retry; - break; + case G_MININT: GST_ERROR_OBJECT (self, "Failure dequeueing output buffer"); goto dequeue_error; - break; + default: g_assert_not_reached (); break;