diff options
author | Thomas Huth <thuth@redhat.com> | 2020-12-17 13:57:24 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2020-12-18 09:15:47 +0100 |
commit | 484bed05748d572a851e08412e4fb6bca8814342 (patch) | |
tree | 9a45dc5659e552aa8eb478109765d02888d2316b /bsd-user/main.c | |
parent | 4f07e71bad905acc40771b81759ff10850325d99 (diff) | |
download | qemu-484bed05748d572a851e08412e4fb6bca8814342.zip qemu-484bed05748d572a851e08412e4fb6bca8814342.tar.gz qemu-484bed05748d572a851e08412e4fb6bca8814342.tar.bz2 |
bsd-user: Silence warnings about missing fallthrough statement
When compiling with -Werror=implicit-fallthrough, the compiler complains
about a missing fallthrough annotation in this file. Looking at the code,
the fallthrough is indeed wanted here, so let's add a proper comment.
Message-Id: <20201217154138.1547274-1-thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'bsd-user/main.c')
-rw-r--r-- | bsd-user/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c index 0a918e8..9c700c6 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -512,6 +512,7 @@ void cpu_loop(CPUSPARCState *env) case 0x141: if (bsd_type != target_freebsd) goto badtrap; + /* fallthrough */ case 0x100: #endif syscall_nr = env->gregs[1]; |