[vlc-commits] ncurses: Fix implicit fallthrough warning

Hugo Beauzée-Luyssen git at videolan.org
Mon Oct 15 15:54:44 CEST 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Oct 15 15:30:26 2018 +0200| [78138e70b33a864e837efa2ca62908bf6f6bdc08] | committer: Hugo Beauzée-Luyssen

ncurses: Fix implicit fallthrough warning

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

 modules/gui/ncurses.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index eb3d5c5bbf..f9d208907e 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1092,6 +1092,7 @@ static int DrawStatus(intf_thread_t *intf, input_thread_t *p_input)
         case PAUSE_S:
             mvnprintw(y++, 0, COLS, _(input_state[val.i_int]),
                         repeat, random, loop);
+            /* fall-through */
 
         default:
             secstotimestr(buf1, SEC_FROM_VLC_TICK(var_GetInteger(p_input, "time")));



More information about the vlc-commits mailing list