Fix "implicit-fallthrough" warning

This commit is contained in:
Mark Hämmerling 2017-07-24 22:32:54 +02:00
parent 6064f30976
commit 5b125925c8

View file

@ -359,8 +359,9 @@ static int fluid_alsa_handle_write_error (snd_pcm_t *pcm, int errval)
FLUID_LOG(FLUID_ERR, "Failed to resume the audio device"); FLUID_LOG(FLUID_ERR, "Failed to resume the audio device");
return FLUID_FAILED; return FLUID_FAILED;
} }
/* fall through, since the stream got resumed, but still has to be prepared */
#endif #endif
/* fall through ... */
/* ... since the stream got resumed, but still has to be prepared */
case -EPIPE: case -EPIPE:
case -EBADFD: case -EBADFD:
if (snd_pcm_prepare(pcm) != 0) { if (snd_pcm_prepare(pcm) != 0) {