Re: [PATCH-for-5.0 v2 08/11] hw/timer/exynos4210_mct: Remove dead assignments

2020-03-23 Thread Alistair Francis
On Sat, Mar 21, 2020 at 7:50 AM Philippe Mathieu-Daudé wrote: > > Fix warnings reported by Clang static code analyzer: > > 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); > ^ ~~

[PATCH-for-5.0 v2 08/11] hw/timer/exynos4210_mct: Remove dead assignments

2020-03-21 Thread Philippe Mathieu-Daudé
Fix warnings reported by Clang static code analyzer: 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 s