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:
7a63f3c
)
block: Initialize local_err in bdrv_append_temp_snapshot
author
Fam Zheng
<famz@redhat.com>
Mon, 6 Jul 2015 04:24:44 +0000
(12:24 +0800)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Tue, 7 Jul 2015 13:27:14 +0000
(14:27 +0100)
Cc: qemu-stable@nongnu.org
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id:
1436156684
-16526-1-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
patch
|
blob
|
history
diff --git
a/block.c
b/block.c
index
7e130cc
..
42eb8e3
100644
(file)
--- a/
block.c
+++ b/
block.c
@@
-1271,7
+1271,7
@@
int bdrv_append_temp_snapshot(BlockDriverState *bs, int flags, Error **errp)
QemuOpts *opts = NULL;
QDict *snapshot_options;
BlockDriverState *bs_snapshot;
- Error *local_err;
+ Error *local_err
= NULL
;
int ret;
/* if snapshot, we create a temporary backing file and open it