diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-08-03 17:52:41 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-08-03 17:52:41 +0000 |
commit | e7b81015e5b8d03c13670940a80c9be0eeb816f6 (patch) | |
tree | 0ca7d127d82e88f16d4223b6adaffb9121e40b06 /block-qcow.c | |
parent | 436e15b827be64cf29b2154863af39f71e5ea7d9 (diff) |
added missing returns
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2079 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-qcow.c')
-rw-r--r-- | block-qcow.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block-qcow.c b/block-qcow.c index 65e74e7781..9ad7061d3c 100644 --- a/block-qcow.c +++ b/block-qcow.c @@ -649,6 +649,7 @@ static int qcow_aio_read(BlockDriverAIOCB *acb, int64_t sector_num, acb1->cluster_offset = 0; qcow_aio_read_cb(acb, 0); + return 0; } static void qcow_aio_write_cb(void *opaque, int ret) @@ -725,6 +726,7 @@ static int qcow_aio_write(BlockDriverAIOCB *acb, int64_t sector_num, acb1->n = 0; qcow_aio_write_cb(acb, 0); + return 0; } static void qcow_aio_cancel(BlockDriverAIOCB *acb) |