summaryrefslogtreecommitdiff
path: root/block-raw-posix.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-03 19:00:40 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-03 19:00:40 +0000
commit674a24acf77b3456717ca2c6cd15c9cc0ab3c580 (patch)
treed61527937d172da6904ff3d913b1129130f44479 /block-raw-posix.c
parent3ee1b8550c6e0bb48df4614ed185964dc1a036d3 (diff)
Fix warning about missing return value
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5405 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-raw-posix.c')
-rw-r--r--block-raw-posix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block-raw-posix.c b/block-raw-posix.c
index 267d6c07b..c0404fad5 100644
--- a/block-raw-posix.c
+++ b/block-raw-posix.c
@@ -748,6 +748,7 @@ static void raw_aio_cancel(BlockDriverAIOCB *blockacb)
#else /* CONFIG_AIO */
static int posix_aio_init(void)
{
+ return 0;
}
#endif /* CONFIG_AIO */