Port: Fixes to build system for portability
[urcu.git] / compat_futex.c
index 0cc2956b66bcf35a5fe0786844e9d133743e6690..b7f78f0b1c87a832cfb33c22e3a93845bbe7d3bb 100644 (file)
@@ -54,11 +54,11 @@ 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
-        * account. 
+        * account.
         */
        assert(!timeout);
        assert(!uaddr2);
@@ -120,7 +120,7 @@ int compat_futex_async(int32_t *uaddr, int op, int32_t val,
 
        /*
         * Check if NULL. Don't let users expect that they are taken into
-        * account. 
+        * account.
         */
        assert(!timeout);
        assert(!uaddr2);
This page took 0.023213 seconds and 4 git commands to generate.