fix: shadowed local variable (-Wshadow)
[userspace-rcu.git] / tests / benchmark / test_urcu_hash.c
index 2410ff72058a15b48c2132408a6a785e40df42cc..d7e09b325f58f5b3641bb2e5354b8b82f58d63d9 100644 (file)
@@ -691,11 +691,11 @@ end_pthread_join:
        }
        {
                char msg[1] = { 0x42 };
-               ssize_t ret;
+               ssize_t sret;
 
                do {
-                       ret = write(count_pipe[1], msg, 1);     /* wakeup thread */
-               } while (ret == -1L && errno == EINTR);
+                       sret = write(count_pipe[1], msg, 1);    /* wakeup thread */
+               } while (sret == -1L && errno == EINTR);
        }
        err = pthread_join(tid_count, &tret);
        if (err != 0) {
This page took 0.022631 seconds and 4 git commands to generate.