media: fix build with GCC 7
commit536b14d4ac4be3ffc10270d67f4286d017d9bd15
authorJakub Adam <jakub.adam@ktknet.cz>
Tue, 31 Jan 2017 18:44:09 +0000 (31 19:44 +0100)
committerJakub Adam <jakub.adam@ktknet.cz>
Tue, 31 Jan 2017 19:06:43 +0000 (31 20:06 +0100)
tree7a88f5a3aeaec51c08cc9d60a9b84b4c73ef5d10
parentdee241226dfdc195bf7bc26c93e8004897ffd46a
media: fix build with GCC 7

Mute new -Wimplicit-fallthrough by annotating intentional fallthrough in
a switch statement with __attribute__((fallthrough)).

Reported as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853612
src/api/sipe-common.h
src/core/sipe-media.c