]> xenbits.xensource.com Git - xen.git/commitdiff
tapaio build fix
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 19 Mar 2008 14:12:12 +0000 (14:12 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 19 Mar 2008 14:12:12 +0000 (14:12 +0000)
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>
tools/blktap/drivers/tapaio.c

index 9eb471380210c31ac3df4d62c5906a0744b77631..140c44a7d1ff47c52e1f745e70bca685912df767 100644 (file)
@@ -82,6 +82,7 @@ tap_aio_completion_thread(void *arg)
                        }
                } while (!rc);
        }
+       return NULL;
 }
 
 void