projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
612fc05
)
block/win32: fix 'ret not initialized' warning
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 16 May 2017 07:42:55 +0000
(09:42 +0200)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Tue, 16 May 2017 14:34:18 +0000
(15:34 +0100)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id:
20170516074256
.24731-1-kraxel@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/file-win32.c
patch
|
blob
|
history
diff --git
a/block/file-win32.c
b/block/file-win32.c
index 1a35dbabf287c292f95fcd96faad10526d5d8f77..8f14f0bdcd859638b188fae2d0a8f99847ddfbd9 100644
(file)
--- a/
block/file-win32.c
+++ b/
block/file-win32.c
@@
-346,6
+346,7
@@
static int raw_open(BlockDriverState *bs, QDict *options, int flags,
if (qdict_get_try_bool(options, "locking", false)) {
error_setg(errp, "locking=on is not supported on Windows");
+ ret = -EINVAL;
goto fail;
}