qemu-irix/block
Mark Cave-Ayland c8115f8eb8 block/vpc: fix uninitialised variable compiler warning
Since commit cfc87e00 "block/vpc.c: Handle write failures in
get_image_offset()" older versions of gcc (in this case 4.7) incorrectly
warn that "ret" can be used uninitialised in vpc_co_pwritev().

Setting ret to 0 at the start of vpc_co_pwritev() prevents the warning
in gcc 4.7 and enables compilation with -Werror to succeed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1500625265-23844-1-git-send-email-mark.cave-ayland@ilande.co.uk
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-07-21 15:00:07 +01:00
..
Makefile.objs
accounting.c
backup.c
blkdebug.c
blkreplay.c
blkverify.c
block-backend.c block: Make blk_all_next() public 2017-07-18 15:14:36 +02:00
bochs.c
cloop.c
commit.c commit: Add NULL check for overlay_bs 2017-07-18 15:14:35 +02:00
crypto.c
crypto.h
curl.c
dirty-bitmap.c
dmg-bz2.c
dmg.c
dmg.h
file-posix.c
file-win32.c
gluster.c
io.c -----BEGIN PGP SIGNATURE----- 2017-07-18 13:09:51 +01:00
iscsi-opts.c
iscsi.c
linux-aio.c
mirror.c
nbd-client.c
nbd-client.h
nbd.c
nfs.c
null.c
parallels.c
qapi.c block: List anonymous device BBs in query-block 2017-07-18 15:14:36 +02:00
qcow.c
qcow2-bitmap.c
qcow2-cache.c
qcow2-cluster.c
qcow2-refcount.c
qcow2-snapshot.c
qcow2.c qcow2: call CoQueue APIs under CoMutex 2017-07-17 11:28:15 +08:00
qcow2.h
qed-check.c
qed-cluster.c qed: protect table cache with CoMutex 2017-07-17 11:34:11 +08:00
qed-l2-cache.c qed: protect table cache with CoMutex 2017-07-17 11:34:11 +08:00
qed-table.c qed: protect table cache with CoMutex 2017-07-17 11:34:11 +08:00
qed.c qed: protect table cache with CoMutex 2017-07-17 11:34:11 +08:00
qed.h qed: protect table cache with CoMutex 2017-07-17 11:34:11 +08:00
quorum.c
raw-format.c
rbd.c
replication.c
sheepdog.c sheepdog: add queue_lock 2017-07-17 11:34:20 +08:00
snapshot.c
ssh.c ssh: support I/O from any AioContext 2017-07-17 11:34:20 +08:00
stream.c
throttle-groups.c block: remove timer canceling in throttle_config() 2017-07-18 15:14:35 +02:00
trace-events
vdi.c vdi: make it thread-safe 2017-07-17 11:28:15 +08:00
vhdx-endian.c
vhdx-log.c
vhdx.c
vhdx.h
vmdk.c block/vmdk: Report failures in vmdk_read_cid() 2017-07-18 15:14:35 +02:00
vpc.c block/vpc: fix uninitialised variable compiler warning 2017-07-21 15:00:07 +01:00
vvfat.c block/vvfat: Fix compiler warning with gcc 7 2017-07-18 15:14:36 +02:00
vxhs.c
win32-aio.c
write-threshold.c