summaryrefslogtreecommitdiffstats
path: root/trace/control.c
diff options
context:
space:
mode:
authorChen Qun2020-03-25 03:59:19 +0100
committerLaurent Vivier2020-05-04 11:17:27 +0200
commit237d8f09635e01ff2c4e4c8ca28d14b92dfcd8bf (patch)
treee5fd6dd9bd5cd71e99729527692406de154a8397 /trace/control.c
parentdisplay/blizzard: use extract16() for fix clang analyzer warning in blizzard_... (diff)
downloadqemu-237d8f09635e01ff2c4e4c8ca28d14b92dfcd8bf.tar.gz
qemu-237d8f09635e01ff2c4e4c8ca28d14b92dfcd8bf.tar.xz
qemu-237d8f09635e01ff2c4e4c8ca28d14b92dfcd8bf.zip
timer/exynos4210_mct: Remove redundant statement in exynos4210_mct_write()
Clang static code analyzer show warning: hw/timer/exynos4210_mct.c:1370:9: warning: Value stored to 'index' is never read index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hw/timer/exynos4210_mct.c:1399:9: warning: Value stored to 'index' is never read index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hw/timer/exynos4210_mct.c:1441:9: warning: Value stored to 'index' is never read index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200325025919.21316-4-kuhn.chenqun@huawei.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'trace/control.c')
0 files changed, 0 insertions, 0 deletions