OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bff39b6
)
vmdk: remove unneeded variable assignment
author
Pavel Borzenkov
<pavel.borzenkov@gmail.com>
Tue, 18 Oct 2011 17:18:22 +0000
(21:18 +0400)
committer
Stefan Hajnoczi
<stefanha@linux.vnet.ibm.com>
Wed, 26 Oct 2011 12:36:35 +0000
(13:36 +0100)
Spotted by Clang Analyzer
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
block/vmdk.c
patch
|
blob
|
history
diff --git
a/block/vmdk.c
b/block/vmdk.c
index
5d16ec4
..
3969131
100644
(file)
--- 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),