a2dp-codec-sbc: get rid of compiler warnings
authorTanu Kaskinen <tanuk@iki.fi>
Sun, 16 Jun 2019 09:09:27 +0000 (12:09 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Sun, 16 Jun 2019 09:12:31 +0000 (12:12 +0300)
commit4e08c14cc3434062cb6ae7f05fa998b6530ab040
treecdb7aada66d55c23cc9198c29dfa9e9a2003028f
parent29c60537d2eeb3453022ffb6068014aae1ba5869
a2dp-codec-sbc: get rid of compiler warnings

The warnings:

modules/bluetooth/a2dp-codec-sbc.c: In function ‘default_bitpool’:
modules/bluetooth/a2dp-codec-sbc.c:161:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
             switch (mode) {
             ^~~~~~
modules/bluetooth/a2dp-codec-sbc.c:169:9: note: here
         case SBC_SAMPLING_FREQ_44100:
         ^~~~
modules/bluetooth/a2dp-codec-sbc.c:170:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
             switch (mode) {
             ^~~~~~
modules/bluetooth/a2dp-codec-sbc.c:180:9: note: here
         case SBC_SAMPLING_FREQ_48000:
         ^~~~

These were valid warnings in that an invalid channel mode would result
in unintended fallthroughs, but the end result would anyway been a crash
in the pa_assert_not_reached() at the end of the function, so
functionally there's no change.
src/modules/bluetooth/a2dp-codec-sbc.c