Re: [PATCH-for-5.0 v2 09/11] hw/timer/stm32f2xx_timer: Remove dead assignment

2020-03-23 Thread Alistair Francis
On Sat, Mar 21, 2020 at 7:52 AM Philippe Mathieu-Daudé wrote: > > Fix warning reported by Clang static code analyzer: > > CC hw/timer/stm32f2xx_timer.o > hw/timer/stm32f2xx_timer.c:225:9: warning: Value stored to 'value' is never > read > value = timer_val; > ^

[PATCH-for-5.0 v2 09/11] hw/timer/stm32f2xx_timer: Remove dead assignment

2020-03-21 Thread Philippe Mathieu-Daudé
Fix warning reported by Clang static code analyzer: CC hw/timer/stm32f2xx_timer.o hw/timer/stm32f2xx_timer.c:225:9: warning: Value stored to 'value' is never read value = timer_val; ^ ~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathie