hw/timer/sh_timer: Silence warnings about missing fallthrough statements
authorThomas Huth <thuth@redhat.com>
Tue, 20 Oct 2020 15:39:34 +0000 (17:39 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 26 Oct 2020 23:22:56 +0000 (00:22 +0100)
commit97edd8ba4b167b6adfbda9598280e5b31270fd40
treed18c52c102516d373ada86c681aec335b7e9bd97
parent2f5af2dcf3cfd051e121fef2b861d46d113f1ac7
hw/timer/sh_timer: Silence warnings about missing fallthrough statements

When compiling with -Werror=implicit-fallthrough, gcc complains about
missing fallthrough annotations in this file. Looking at the code,
the fallthrough is very likely intended here, so add some comments
to silence the compiler warnings.

Fixes: cd1a3f6840e ("Stand-alone TMU emulation code")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201020153935.54315-3-thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/timer/sh_timer.c