RE: [PATCH-for-5.0 v2 00/11] misc: Trivial static code analyzer fixes

2020-03-24 Thread Chenqun (kuhn)
drew Jeffery ; Max Reitz >; Igor Mitsyanko ; qemu- >p...@nongnu.org; Paolo Bonzini >Subject: Re: [PATCH-for-5.0 v2 00/11] misc: Trivial static code analyzer fixes > >Le 23/03/2020 à 15:45, Philippe Mathieu-Daudé a écrit : >> On 3/23/20 3:32 PM, Laurent Vivier wrote: >>>

Re: [PATCH-for-5.0 v2 00/11] misc: Trivial static code analyzer fixes

2020-03-23 Thread Philippe Mathieu-Daudé
On 3/23/20 3:55 PM, Laurent Vivier wrote: Le 23/03/2020 à 15:45, Philippe Mathieu-Daudé a écrit : On 3/23/20 3:32 PM, Laurent Vivier wrote: Le 21/03/2020 à 15:40, Philippe Mathieu-Daudé a écrit : Fix trivial warnings reported by the Clang static code analyzer. Since v1: - Addressed Markus/Zol

Re: [PATCH-for-5.0 v2 00/11] misc: Trivial static code analyzer fixes

2020-03-23 Thread Laurent Vivier
Le 23/03/2020 à 15:45, Philippe Mathieu-Daudé a écrit : > On 3/23/20 3:32 PM, Laurent Vivier wrote: >> Le 21/03/2020 à 15:40, Philippe Mathieu-Daudé a écrit : >>> Fix trivial warnings reported by the Clang static code analyzer. >>> >>> Since v1: >>> - Addressed Markus/Zoltan/Aleksandar review comme

Re: [PATCH-for-5.0 v2 00/11] misc: Trivial static code analyzer fixes

2020-03-23 Thread Philippe Mathieu-Daudé
On 3/23/20 3:32 PM, Laurent Vivier wrote: Le 21/03/2020 à 15:40, Philippe Mathieu-Daudé a écrit : Fix trivial warnings reported by the Clang static code analyzer. Since v1: - Addressed Markus/Zoltan/Aleksandar review comments Philippe Mathieu-Daudé (11): block: Avoid dead assignment bloc

Re: [PATCH-for-5.0 v2 00/11] misc: Trivial static code analyzer fixes

2020-03-23 Thread Laurent Vivier
Le 21/03/2020 à 15:40, Philippe Mathieu-Daudé a écrit : > Fix trivial warnings reported by the Clang static code analyzer. > > Since v1: > - Addressed Markus/Zoltan/Aleksandar review comments > > Philippe Mathieu-Daudé (11): > block: Avoid dead assignment > blockdev: Remove dead assignment >

Re: [PATCH-for-5.0 v2 00/11] misc: Trivial static code analyzer fixes

2020-03-21 Thread Philippe Mathieu-Daudé
On 3/21/20 3:40 PM, Philippe Mathieu-Daudé wrote: Fix trivial warnings reported by the Clang static code analyzer. I forgot to add the official Clang static code analyzer documentation is on https://clang-analyzer.llvm.org/ and on Fedora I simply used it as: $ sudo dnf install clang-analyzer

[PATCH-for-5.0 v2 00/11] misc: Trivial static code analyzer fixes

2020-03-21 Thread Philippe Mathieu-Daudé
Fix trivial warnings reported by the Clang static code analyzer. Since v1: - Addressed Markus/Zoltan/Aleksandar review comments Philippe Mathieu-Daudé (11): block: Avoid dead assignment blockdev: Remove dead assignment hw/i2c/pm_smbus: Remove dead assignment hw/input/adb-kbd: Remove dead