[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tapaio build fix



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205935932 0
# Node ID 3e5973ab442afd508dce6d0ffc9d0fff5631e4c5
# Parent  c30b12577d75430e1b5baf791aa8b18bc5129daf
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@xxxxxxxxxxxxx>
---
 tools/blktap/drivers/tapaio.c |    1 +
 1 files changed, 1 insertion(+)

diff -r c30b12577d75 -r 3e5973ab442a tools/blktap/drivers/tapaio.c
--- a/tools/blktap/drivers/tapaio.c     Wed Mar 19 14:11:22 2008 +0000
+++ b/tools/blktap/drivers/tapaio.c     Wed Mar 19 14:12:12 2008 +0000
@@ -82,6 +82,7 @@ tap_aio_completion_thread(void *arg)
                        }
                } while (!rc);
        }
+       return NULL;
 }
 
 void

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.