aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorChen Qun <kuhn.chenqun@huawei.com>2020-12-11 16:24:18 +0100
committerThomas Huth <thuth@redhat.com>2020-12-18 09:14:23 +0100
commit30982862b2d81e7b4a58bac319075d343c36e06a (patch)
tree2b6bb6968f62ebfcc80f93be836bc0f02feec5a5 /target
parent216776099b087edfdf8cca3cb3cbfee1edbb12e2 (diff)
hw/timer/renesas_tmr: silence the compiler warnings
When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning: ../hw/timer/renesas_tmr.c: In function ‘tmr_read’: ../hw/timer/renesas_tmr.c:221:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 221 | } else if (ch == 0) {i | ^ ../hw/timer/renesas_tmr.c:224:5: note: here 224 | case A_TCORB: | ^~~~ Add the corresponding "fall through" comment to fix it. Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20201211152426.350966-5-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions