diff options
author | Pavel Borzenkov <pavel.borzenkov@gmail.com> | 2011-10-18 21:18:22 +0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-10-26 13:36:35 +0100 |
commit | c18a1c88059bd546a198d95a10e9e17b11d062d1 (patch) | |
tree | 6a44b001615230f01ac1331c73542f9d5d390428 /block/vmdk.c | |
parent | bff39b6360eefc65b9f8f438cf03dab21afba5bf (diff) |
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>
Diffstat (limited to 'block/vmdk.c')
-rw-r--r-- | block/vmdk.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/vmdk.c b/block/vmdk.c index 5d16ec49bc..396913166a 100644 --- a/block/vmdk.c +++ b/block/vmdk.c @@ -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), |