Re: [Qemu-devel] [PATCH 0/2] qemu-img: fix coverity nits

2017-02-11 Thread Max Reitz
On 10.02.2017 17:28, Peter Maydell wrote: > Coverity points out a couple of nits in qemu-img: > * misuse of strtoul() > * variable set but not used > > These patches fix the issues. > > Peter Maydell (2): > qemu-img: Use qemu_strtoul() rather than raw strtoul() > qemu-img: Avoid setting ret

[Qemu-devel] [PATCH 0/2] qemu-img: fix coverity nits

2017-02-10 Thread Peter Maydell
Coverity points out a couple of nits in qemu-img: * misuse of strtoul() * variable set but not used These patches fix the issues. Peter Maydell (2): qemu-img: Use qemu_strtoul() rather than raw strtoul() qemu-img: Avoid setting ret to unused value in img_convert() qemu-img.c | 40