summary refs log tree commit diff stats
path: root/include/qemu/main-loop.h
diff options
context:
space:
mode:
authorChen Qun <kuhn.chenqun@huawei.com>2020-08-27 19:03:09 +0800
committerLaurent Vivier <laurent@vivier.eu>2020-09-01 12:03:39 +0200
commit4b602b6003140afc981d70c9cd721fc96425dd90 (patch)
treebc55b7efa16fbebc7b789808666f0aafdad06ab4 /include/qemu/main-loop.h
parent9b83b0043f3d517ae588c344288ff615bd2b0713 (diff)
downloadfocaccia-qemu-4b602b6003140afc981d70c9cd721fc96425dd90.tar.gz
focaccia-qemu-4b602b6003140afc981d70c9cd721fc96425dd90.zip
usb/bus: Remove dead assignment in usb_get_fw_dev_path()
Clang static code analyzer show warning:
qemu/hw/usb/bus.c:615:13: warning: Value stored to 'pos' is never read
            pos += snprintf(fw_path + pos, fw_len - pos, "%s@%lx",

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20200827110311.164316-9-kuhn.chenqun@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/qemu/main-loop.h')
0 files changed, 0 insertions, 0 deletions