X-Git-Url: http://git.liburcu.org/?p=userspace-rcu.git;a=blobdiff_plain;f=compat_futex.c;h=6fe378f965d4407734fe16f3ffcc8ff8eb4afbb1;hp=0cc2956b66bcf35a5fe0786844e9d133743e6690;hb=refs%2Fheads%2Fstable-0.7;hpb=19837093d3c31d90d06828f8a87e5e002f576b9d diff --git a/compat_futex.c b/compat_futex.c index 0cc2956..6fe378f 100644 --- a/compat_futex.c +++ b/compat_futex.c @@ -54,7 +54,7 @@ pthread_cond_t __urcu_compat_futex_cond = PTHREAD_COND_INITIALIZER; int compat_futex_noasync(int32_t *uaddr, int op, int32_t val, const struct timespec *timeout, int32_t *uaddr2, int32_t val3) { - int ret, lockret; + int ret = 0, lockret; /* * Check if NULL. Don't let users expect that they are taken into