Re: [PATCH-for-5.0 05/11] hw/ide/sii3112: Remove dead assignment

2020-03-21 Thread Philippe Mathieu-Daudé
On 3/21/20 3:14 PM, Philippe Mathieu-Daudé wrote: On 3/21/20 2:39 PM, Aleksandar Markovic wrote: On Saturday, March 21, 2020, Philippe Mathieu-Daudé > wrote:     Fix warning reported by Clang static code analyzer:     CC      hw/ide/sii3112.o   hw/ide/sii

Re: [PATCH-for-5.0 05/11] hw/ide/sii3112: Remove dead assignment

2020-03-21 Thread BALATON Zoltan
On Sat, 21 Mar 2020, Philippe Mathieu-Daudé wrote: On 3/21/20 3:12 PM, BALATON Zoltan wrote: On Sat, 21 Mar 2020, Aleksandar Markovic wrote: On Saturday, March 21, 2020, Philippe Mathieu-Daudé wrote: Fix warning reported by Clang static code analyzer:     CC  hw/ide/sii3112.o   hw/ide/s

Re: [PATCH-for-5.0 05/11] hw/ide/sii3112: Remove dead assignment

2020-03-21 Thread Philippe Mathieu-Daudé
On 3/21/20 3:12 PM, BALATON Zoltan wrote: On Sat, 21 Mar 2020, Aleksandar Markovic wrote: On Saturday, March 21, 2020, Philippe Mathieu-Daudé wrote: Fix warning reported by Clang static code analyzer:     CC  hw/ide/sii3112.o   hw/ide/sii3112.c:204:9: warning: Value stored to 'val' is ne

Re: [PATCH-for-5.0 05/11] hw/ide/sii3112: Remove dead assignment

2020-03-21 Thread Philippe Mathieu-Daudé
On 3/21/20 2:39 PM, Aleksandar Markovic wrote: On Saturday, March 21, 2020, Philippe Mathieu-Daudé > wrote: Fix warning reported by Clang static code analyzer:     CC      hw/ide/sii3112.o   hw/ide/sii3112.c:204:9: warning: Value stored to 'val' is nev

Re: [PATCH-for-5.0 05/11] hw/ide/sii3112: Remove dead assignment

2020-03-21 Thread BALATON Zoltan
On Sat, 21 Mar 2020, Aleksandar Markovic wrote: On Saturday, March 21, 2020, Philippe Mathieu-Daudé wrote: Fix warning reported by Clang static code analyzer: CC hw/ide/sii3112.o hw/ide/sii3112.c:204:9: warning: Value stored to 'val' is never read val = 0; ^

Re: [PATCH-for-5.0 05/11] hw/ide/sii3112: Remove dead assignment

2020-03-21 Thread Aleksandar Markovic
On Saturday, March 21, 2020, Philippe Mathieu-Daudé wrote: > Fix warning reported by Clang static code analyzer: > > CC hw/ide/sii3112.o > hw/ide/sii3112.c:204:9: warning: Value stored to 'val' is never read > val = 0; > ^ ~ > > Reported-by: Clang Static Analyze

Re: [PATCH-for-5.0 05/11] hw/ide/sii3112: Remove dead assignment

2020-03-21 Thread BALATON Zoltan
On Sat, 21 Mar 2020, Philippe Mathieu-Daudé wrote: Fix warning reported by Clang static code analyzer: CC hw/ide/sii3112.o hw/ide/sii3112.c:204:9: warning: Value stored to 'val' is never read val = 0; ^ ~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe

[PATCH-for-5.0 05/11] hw/ide/sii3112: Remove dead assignment

2020-03-21 Thread Philippe Mathieu-Daudé
Fix warning reported by Clang static code analyzer: CC hw/ide/sii3112.o hw/ide/sii3112.c:204:9: warning: Value stored to 'val' is never read val = 0; ^ ~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé --- hw/ide/sii3112.c | 2 +- 1 fi