aboutsummaryrefslogtreecommitdiff
path: root/hw/core
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2020-12-11 16:24:17 +0100
committerThomas Huth <thuth@redhat.com>2020-12-18 09:14:22 +0100
commit216776099b087edfdf8cca3cb3cbfee1edbb12e2 (patch)
tree190883e650b7c4cc3196b5ca7d953dfff91244f5 /hw/core
parent51c915674d8cf9de596d96ac31226c4a374fcb95 (diff)
downloadqemu-216776099b087edfdf8cca3cb3cbfee1edbb12e2.zip
qemu-216776099b087edfdf8cca3cb3cbfee1edbb12e2.tar.gz
qemu-216776099b087edfdf8cca3cb3cbfee1edbb12e2.tar.bz2
hw/rtc/twl92230: 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 indeed wanted here, but instead of adding the annotations, it can be done more efficiently by simply calculating the offset with a subtraction instead of increasing a local variable one by one. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20201211152426.350966-4-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions