Revision aba59705d963b79f5732f2265fa2175654b61db8 authored by Philippe Mathieu-Daudé on 04 June 2018, 15:14:20 UTC, committed by Michael Roth on 21 June 2018, 15:18:22 UTC
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 62713a2e50f653162387451034f1a2490e87be88) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent 17e3fcb
File | Mode | Size |
---|---|---|
Makefile.objs | -rw-r--r-- | 164 bytes |
STATUS | -rw-r--r-- | 1.3 KB |
cpu-qom.h | -rw-r--r-- | 1.5 KB |
cpu.c | -rw-r--r-- | 8.5 KB |
cpu.h | -rw-r--r-- | 14.5 KB |
fpu_helper.c | -rw-r--r-- | 14.1 KB |
gdbstub.c | -rw-r--r-- | 2.4 KB |
helper.c | -rw-r--r-- | 13.8 KB |
helper.h | -rw-r--r-- | 4.8 KB |
int_helper.c | -rw-r--r-- | 6.5 KB |
machine.c | -rw-r--r-- | 2.5 KB |
mem_helper.c | -rw-r--r-- | 2.8 KB |
sys_helper.c | -rw-r--r-- | 2.5 KB |
translate.c | -rw-r--r-- | 87.8 KB |
vax_helper.c | -rw-r--r-- | 8.2 KB |
Computing file changes ...