[Spice-devel] [spice-server PATCH 3/8] input-channel: add a comment to mark fallthrough in switch

Uri Lublin uril at redhat.com
Sun Oct 16 11:44:50 UTC 2016


Signed-off-by: Uri Lublin <uril at redhat.com>
---
 server/inputs-channel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/inputs-channel.c b/server/inputs-channel.c
index 840d5e9..ee81bb4 100644
--- a/server/inputs-channel.c
+++ b/server/inputs-channel.c
@@ -285,6 +285,7 @@ static int inputs_channel_handle_parsed(RedChannelClient *rcc, uint32_t size, ui
             key_down->code == SCROLL_LOCK_SCAN_CODE) {
             activate_modifiers_watch(inputs_channel, reds);
         }
+        /* fallthrough */
     }
     case SPICE_MSGC_INPUTS_KEY_UP: {
         SpiceMsgcKeyUp *key_up = message;
-- 
2.7.4



More information about the Spice-devel mailing list