From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: [PATCH] tapaio build fix Date: Wed, 19 Mar 2008 12:50:29 +0000 Message-ID: <20080319125029.GA9372@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 -r 663d59596add tools/blktap/drivers/tapaio.c --- a/tools/blktap/drivers/tapaio.c Tue Mar 18 17:03:01 2008 +0000 +++ b/tools/blktap/drivers/tapaio.c Wed Mar 19 12:47:30 2008 +0000 @@ -82,6 +82,7 @@ tap_aio_completion_thread(void *arg) } } while (!rc); } + return NULL; } void