[vlc-commits] hotkeys: comment intended fall-throughs
Rémi Denis-Courmont
git at videolan.org
Sun Jul 23 16:53:23 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 23 16:42:24 2017 +0300| [f4282ec4bead0f1f17650b65431022030b73375d] | committer: Rémi Denis-Courmont
hotkeys: comment intended fall-throughs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f4282ec4bead0f1f17650b65431022030b73375d
---
modules/control/hotkeys.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 10e3f6f511..1666e5e597 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -902,21 +902,25 @@ static int PutAction( intf_thread_t *p_intf, input_thread_t *p_input,
{
case ACTIONID_JUMP_BACKWARD_EXTRASHORT:
sign = -1;
+ /* fall through */
case ACTIONID_JUMP_FORWARD_EXTRASHORT:
varname = "extrashort-jump-size";
break;
case ACTIONID_JUMP_BACKWARD_SHORT:
sign = -1;
+ /* fall through */
case ACTIONID_JUMP_FORWARD_SHORT:
varname = "short-jump-size";
break;
case ACTIONID_JUMP_BACKWARD_MEDIUM:
sign = -1;
+ /* fall through */
case ACTIONID_JUMP_FORWARD_MEDIUM:
varname = "medium-jump-size";
break;
case ACTIONID_JUMP_BACKWARD_LONG:
sign = -1;
+ /* fall through */
case ACTIONID_JUMP_FORWARD_LONG:
varname = "long-jump-size";
break;
More information about the vlc-commits
mailing list