tests: fix incorrect counter
[urcu.git] / tests / test_urcu_wfcq.c
index cb1cc23ed91aa575ea9667a4594ec9269dc3b1b6..a3bd7e556031eef71c19b1be5e811ae5daaebdf6 100644 (file)
@@ -285,7 +285,7 @@ static void do_test_splice(enum test_sync sync)
 static void *thr_dequeuer(void *_count)
 {
        unsigned long long *count = _count;
-       unsigned int counter;
+       unsigned int counter = 0;
 
        printf_verbose("thread_begin %s, thread id : %lx, tid %lu\n",
                        "dequeuer", (unsigned long) pthread_self(),
This page took 0.022793 seconds and 4 git commands to generate.