[vlc-devel] [PATCH 4/5] demux: remove `break` after `return`

Eric Engestrom eric at engestrom.ch
Sat Apr 2 16:43:26 CEST 2016


Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
 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 );
 
-- 
2.8.0



More information about the vlc-devel mailing list