diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-05-20 12:54:08 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-05-26 08:41:07 +0200 |
commit | 36084d7e31997d0f4aec67e05c2ef44de89bc4de (patch) | |
tree | 8f85a2cf55bed59d2ecb4dc41b4ecdc1b3fe731a /hw/arm | |
parent | f995523582c89cb0b89861bee0bd6264fd17ce3e (diff) | |
download | qemu-36084d7e31997d0f4aec67e05c2ef44de89bc4de.zip qemu-36084d7e31997d0f4aec67e05c2ef44de89bc4de.tar.gz qemu-36084d7e31997d0f4aec67e05c2ef44de89bc4de.tar.bz2 |
usb-mtp: use bool to track MTPObject init status
Stop setting nchildren to -1. Use separate bool variable to track
whenever we've already fetched the child objects instead.
Also make nchildren unsigned.
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/arm')
0 files changed, 0 insertions, 0 deletions