Fix warnings: possible fall-through
See https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/
(cherry picked from commit b4d3490ce6fa3d27ccb65d3d47c368ee318fcff1)