From: Mathieu Desnoyers Date: Wed, 29 Jun 2011 16:49:35 +0000 (-0400) Subject: compat_futex_async: fix missing return X-Git-Tag: v0.6.4~18 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1494da881dc07bbe749fd37b1d2448b14d729f3f;p=userspace-rcu.git compat_futex_async: fix missing return compat_futex.c: In function `compat_futex_async': compat_futex.c:114: warning: control reaches end of non-void function Signed-off-by: Mathieu Desnoyers --- diff --git a/compat_futex.c b/compat_futex.c index e8d1e70..04de596 100644 --- a/compat_futex.c +++ b/compat_futex.c @@ -111,4 +111,5 @@ int compat_futex_async(int32_t *uaddr, int op, int32_t val, default: return -EINVAL; } + return 0; }