[vlc-commits] access: vcd: clear fallthrough warning

Francois Cartegnie git at videolan.org
Fri May 31 15:24:04 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May 29 23:02:16 2019 +0200| [3ae2fb79fdba417e6cf4fdc315da0e3dc8589a03] | committer: Francois Cartegnie

access: vcd: clear fallthrough warning

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

 modules/access/vcd/cdrom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c
index 679146f1ae..0639aeb734 100644
--- a/modules/access/vcd/cdrom.c
+++ b/modules/access/vcd/cdrom.c
@@ -828,6 +828,7 @@ static int OpenVCDImage( vlc_object_t * p_this, const char *psz_dev,
                 msg_Dbg( p_this, "the cue file says the data file is %s", type );
                 if( strcasecmp( type, "BINARY" ) )
                     goto error; /* Error if not binary, otherwise treat as case 1 */
+                /* fallthrough */
             case 1:
                 if( p_vcddev->i_vcdimage_handle == -1 )
                 {



More information about the vlc-commits mailing list