Files
qemu/hw
Philippe Mathieu-Daudé aba59705d9 usb/dev-mtp: Fix use of uninitialized values
This fixes:

  hw/usb/dev-mtp.c:971:5: warning: 4th function call argument is an uninitialized value
      trace_usb_mtp_op_get_partial_object(s->dev.addr, o->handle, o->path,
                                           c->argv[1], c->argv[2]);
                                                       ^~~~~~~~~~
and:

  hw/usb/dev-mtp.c:981:12: warning: Assigned value is garbage or undefined
      offset = c->argv[1];
               ^ ~~~~~~~~~~

Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180604151421.23385-3-f4bug@amsat.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 62713a2e50)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2018-06-21 10:18:22 -05:00
..
2017-11-24 11:28:56 +00:00
2017-08-02 18:30:13 -03:00
2017-10-27 16:03:54 +02:00
2018-06-20 20:45:07 -05:00
2018-06-20 20:45:06 -05:00
2017-10-15 05:54:40 +03:00
2017-09-27 11:35:59 +01:00
2017-11-05 14:52:10 +01:00
2017-08-30 18:23:25 +02:00