Re: [Qemu-devel] [PATCH for 2.10 17/35] usb/dev-mtp: fix use of uninitialized values

2017-07-26 Thread Philippe Mathieu-Daudé
On 07/24/2017 03:27 PM, Philippe Mathieu-Daudé wrote: Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé --- hw/usb/dev-mtp.c | 36 +--- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/hw/usb/dev-mtp.c

[Qemu-devel] [PATCH for 2.10 17/35] usb/dev-mtp: fix use of uninitialized values

2017-07-24 Thread Philippe Mathieu-Daudé
Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé --- hw/usb/dev-mtp.c | 36 +--- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c index 6dfece9ea9..ad64495f05 100644 ---