From: Keir Fraser Date: Wed, 19 Mar 2008 14:12:12 +0000 (+0000) Subject: tapaio build fix X-Git-Tag: 3.3.0-rc1~259^2~15 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f9aa19ee3ae6f1331da86a543436dc7b250e9c36;p=xen.git 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 --- 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