[vlc-commits] chromecast: Fix fallthrough warning

Hugo Beauzée-Luyssen git at videolan.org
Tue Aug 21 12:04:00 CEST 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Aug 20 14:57:54 2018 +0200| [dcaff513891fd03a5a5d243bc96a1f3f3d17806d] | committer: Hugo Beauzée-Luyssen

chromecast: Fix fallthrough warning

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

 modules/stream_out/chromecast/chromecast_ctrl.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index 63e7095306..a2bbdac199 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -772,6 +772,7 @@ bool intf_sys_t::processReceiverMessage( const castchannel::CastMessage& msg )
             if ( p_app == NULL )
                 break;
             // else: fall through and warn
+            /* fall-through */
         default:
             msg_Warn( m_module, "Unexpected RECEIVER_STATUS with state %s. "
                       "Checking media status",



More information about the vlc-commits mailing list