fix: shadowed local variable (-Wshadow)
[urcu.git] / tests / benchmark / test_urcu_hash.c
index 896fb32be4393c62785cc98107a1e0bb89d45bee..8c97bd92aeb49039287bc142397c3160524a3e45 100644 (file)
@@ -695,11 +695,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.023162 seconds and 4 git commands to generate.