mirror of
https://github.com/qemu/qemu.git
synced 2024-11-30 07:13:38 +08:00
vmdk: remove unneeded variable assignment
Spotted by Clang Analyzer Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
bff39b6360
commit
c18a1c8805
@ -1387,7 +1387,6 @@ static int vmdk_create(const char *filename, QEMUOptionParameter *options)
|
||||
bdrv_delete(bs);
|
||||
return -EINVAL;
|
||||
}
|
||||
filesize = bdrv_getlength(bs);
|
||||
parent_cid = vmdk_read_cid(bs, 0);
|
||||
bdrv_delete(bs);
|
||||
relative_path(parent_filename, sizeof(parent_filename),
|
||||
|
Loading…
Reference in New Issue
Block a user