tests: fix incorrect counter
[urcu.git] / tests / test_urcu_wfs.c
index a379fa39176c9453f1249748da21409b08e4c92f..043d842e73b5a4b93c9b462120add91bae1c5e23 100644 (file)
@@ -270,7 +270,7 @@ static void do_test_pop_all(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.022263 seconds and 4 git commands to generate.