summaryrefslogtreecommitdiff
path: root/.exrc
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-02-10 16:28:24 +0000
committerMax Reitz <mreitz@redhat.com>2017-02-12 00:56:32 +0100
commit10d6eda1926804a09aa0710ca62933087813de0b (patch)
tree81ed7846571e4d0a9c369e14d5b1ac149a4ca484 /.exrc
parent8b3c67922851bee9d5420373bfea010d3648bbc4 (diff)
downloadqemu-10d6eda1926804a09aa0710ca62933087813de0b.tar.gz
qemu-img: Avoid setting ret to unused value in img_convert()
Coverity points out that we assign the return value from bdrv_snapshot_load_tmp() to 'ret' in img_convert(), but then never use that variable. (We check for failure by looking at local_err instead.) Drop the unused assignment, bringing the call into line with the following call to bdrv_snapshot_laod_tmp_by_id_or_name(). (Fixes CID 1247240.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1486744104-15590-3-git-send-email-peter.maydell@linaro.org Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to '.exrc')
0 files changed, 0 insertions, 0 deletions