[vlc-commits] demux: remove `break` after `return`

Eric Engestrom git at videolan.org
Sat Apr 2 17:13:33 CEST 2016


vlc | branch: master | Eric Engestrom <eric at engestrom.ch> | Sat Apr  2 15:43:26 2016 +0100| [b248a211fffe5ad00df1e37fd4b412600c31e18e] | committer: Rémi Denis-Courmont

demux: remove `break` after `return`

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b248a211fffe5ad00df1e37fd4b412600c31e18e
---

 modules/demux/mpeg/ts_psi.c      |    1 -
 modules/demux/playlist/podcast.c |    1 -
 modules/demux/real.c             |    1 -
 3 files changed, 3 deletions(-)

diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index 19a4af1..2eab57a 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1074,7 +1074,6 @@ static bool PMTSetupEsHDMV( demux_t *p_demux, ts_pes_es_t *p_es,
         msg_Info( p_demux, "HDMV registration not implemented for pid 0x%x type 0x%x",
                   p_dvbpsies->i_pid, p_dvbpsies->i_type );
         return false;
-        break;
     }
     return true;
 }
diff --git a/modules/demux/playlist/podcast.c b/modules/demux/playlist/podcast.c
index 9327943..4e3d47d 100644
--- a/modules/demux/playlist/podcast.c
+++ b/modules/demux/playlist/podcast.c
@@ -355,7 +355,6 @@ static mtime_t strTimeToMTime( const char *psz )
         return (mtime_t)( ( h*60 + m )*60 + s ) * 1000000;
     case 2:
         return (mtime_t)( h*60 + m ) * 1000000;
-        break;
     default:
         return -1;
     }
diff --git a/modules/demux/real.c b/modules/demux/real.c
index ad240a2..4ba4494 100644
--- a/modules/demux/real.c
+++ b/modules/demux/real.c
@@ -1645,7 +1645,6 @@ static int CodecAudioParse( demux_t *p_demux, int i_tk_id, const uint8_t *p_data
                 (char*)&fmt.i_codec );
         es_format_Clean( &fmt );
         return VLC_EGENERIC;
-        break;
     }
     msg_Dbg( p_demux, "    - extra data=%d", fmt.i_extra );
 



More information about the vlc-commits mailing list