aboutsummaryrefslogtreecommitdiffstats
path: root/tools/blktap/drivers
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-03-19 14:12:12 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-03-19 14:12:12 +0000
commitf9aa19ee3ae6f1331da86a543436dc7b250e9c36 (patch)
tree0573798a670b0db45f9842863b24bfe7be14fe4b /tools/blktap/drivers
parent418e3b2d342c9fdf87048940922e9cdfd0d1b47d (diff)
downloadxen-f9aa19ee3ae6f1331da86a543436dc7b250e9c36.tar.gz
xen-f9aa19ee3ae6f1331da86a543436dc7b250e9c36.tar.bz2
xen-f9aa19ee3ae6f1331da86a543436dc7b250e9c36.zip
tapaio build fix
With some combinations of compiler flags (no optimization, -Werror), the compiler may complain that the function doesn't have a return statement (even if the function actually just never returns), reported as bug 1128. This adds a dummy return statement. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'tools/blktap/drivers')
-rw-r--r--tools/blktap/drivers/tapaio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/blktap/drivers/tapaio.c b/tools/blktap/drivers/tapaio.c
index 9eb4713802..140c44a7d1 100644
--- a/tools/blktap/drivers/tapaio.c
+++ b/tools/blktap/drivers/tapaio.c
@@ -82,6 +82,7 @@ tap_aio_completion_thread(void *arg)
}
} while (!rc);
}
+ return NULL;
}
void