aboutsummaryrefslogtreecommitdiff
path: root/qobject
diff options
context:
space:
mode:
authorChen Qun <kuhn.chenqun@huawei.com>2020-08-27 19:03:06 +0800
committerLaurent Vivier <laurent@vivier.eu>2020-09-01 11:58:32 +0200
commit8b616beebcbb70444c2dbc07b210bd3798cf8462 (patch)
tree77218eb53ecbb868e1341e5ff305b1ffbbf270de /qobject
parentfa71dd531c12ad9a05cdd78392e9fc2a30ea921d (diff)
downloadqemu-8b616beebcbb70444c2dbc07b210bd3798cf8462.zip
qemu-8b616beebcbb70444c2dbc07b210bd3798cf8462.tar.gz
qemu-8b616beebcbb70444c2dbc07b210bd3798cf8462.tar.bz2
hw/virtio/vhost-user:Remove dead assignment in scrub_shadow_regions()
Clang static code analyzer show warning: hw/virtio/vhost-user.c:606:9: warning: Value stored to 'mr' is never read mr = vhost_user_get_mr_data(reg->userspace_addr, &offset, &fd); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com> Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20200827110311.164316-6-kuhn.chenqun@huawei.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions