ia64/xen-unstable

changeset 17271:3e5973ab442a

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>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Mar 19 14:12:12 2008 +0000 (2008-03-19)
parents c30b12577d75
children 7d8892a90c90
files tools/blktap/drivers/tapaio.c
line diff
     1.1 --- a/tools/blktap/drivers/tapaio.c	Wed Mar 19 14:11:22 2008 +0000
     1.2 +++ b/tools/blktap/drivers/tapaio.c	Wed Mar 19 14:12:12 2008 +0000
     1.3 @@ -82,6 +82,7 @@ tap_aio_completion_thread(void *arg)
     1.4  			}
     1.5  		} while (!rc);
     1.6  	}
     1.7 +	return NULL;
     1.8  }
     1.9  
    1.10  void