Fix 'implicit fallthrough' warning with new GCC
authorDaniel Stone <daniels@collabora.com>
Mon, 13 Mar 2017 16:31:36 +0000 (16:31 +0000)
committerDaniel Stone <daniels@collabora.com>
Mon, 13 Mar 2017 17:56:07 +0000 (17:56 +0000)
commit2ef9b1a3c4a303601ee475af13b4c13b3f6f286c
treea00bbb51b7f4bba3562a0891dcd268a13f00cfcd
parent05df8c16ec8a9ac124691f85d7d89e0a973fea64
Fix 'implicit fallthrough' warning with new GCC

GCC 7 now warns on case statements falling through without an explicit
comment that falling through is OK. Insert some to make it happy.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
desktop-shell/shell.c
tests/subsurface-test.c