core: Fix gcc-7 -Wimplicit-fallthrough= warnings
authorPeter Meerwald-Stadler <pmeerw@pmeerw.net>
Wed, 6 Sep 2017 09:20:54 +0000 (11:20 +0200)
committerPeter Meerwald-Stadler <pmeerw@pmeerw.net>
Mon, 9 Oct 2017 08:39:57 +0000 (10:39 +0200)
commit6f065f95898ef813d16c4b17c678da5fb6074ea6
treee477e741744b9a334f04d4b7c003441289b60bbd
parent0f94657cd0ed9a13c0fda061323fb430742a3ae4
core: Fix gcc-7 -Wimplicit-fallthrough= warnings

the comment /* Fall through. */ fixes the warning, but gcc-7 seems to be more
picky about the position in the code

pulsecore/sink-input.c: In function â€˜pa_sink_input_update_proplist’:
pulsecore/sink-input.c:1531:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
             for (state = NULL; (key = pa_proplist_iterate(i->proplist, &state));) {
             ^~~
pulsecore/sink-input.c:1539:9: note: here
         case PA_UPDATE_REPLACE: {
         ^~~~

Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
src/pulsecore/sink-input.c
src/pulsecore/source-output.c