X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=compat_futex.c;h=04de5965894a7e8317049d9af80e29e36da65f02;hp=3f1d1ef3410a91d4ae432080debcba4c6a17e387;hb=bc2433a9853a945a825c244e9ccfe341b73b2ceb;hpb=6d841bc23fc94345fe76651d73c1a3f821a85aa7 diff --git a/compat_futex.c b/compat_futex.c index 3f1d1ef..04de596 100644 --- a/compat_futex.c +++ b/compat_futex.c @@ -88,8 +88,6 @@ end: int compat_futex_async(int32_t *uaddr, int op, int32_t val, const struct timespec *timeout, int32_t *uaddr2, int32_t val3) { - int ret, i; - /* * Check if NULL. Don't let users expect that they are taken into * account. @@ -113,4 +111,5 @@ int compat_futex_async(int32_t *uaddr, int op, int32_t val, default: return -EINVAL; } + return 0; }