aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/npcm7xx.c
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/arm/npcm7xx.c
parent51c915674d8cf9de596d96ac31226c4a374fcb95 (diff)
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/arm/npcm7xx.c')
0 files changed, 0 insertions, 0 deletions