aboutsummaryrefslogtreecommitdiff
path: root/src/thread-pool.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-10-11 09:34:12 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:02 +0100
commita7d2cab127719eeef82584664b1abbbee06656c4 (patch)
treeb958ba68685a2ed8d5f74643f7ede25b2b17f48e /src/thread-pool.c
parent3c7c32704024753a50414e947d324b72e7116ac9 (diff)
Fussiness
Diffstat (limited to 'src/thread-pool.c')
-rw-r--r--src/thread-pool.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/thread-pool.c b/src/thread-pool.c
index 3a39f1ca..6705aa18 100644
--- a/src/thread-pool.c
+++ b/src/thread-pool.c
@@ -227,7 +227,6 @@ int run_threads(int n_threads, void (*work)(void *, int),
q.n_cookies = n_threads;
q.cookies = malloc(q.n_cookies * sizeof(int));
-
for ( i=0; i<n_threads; i++ ) {
q.cookies[i] = 0;
}