From e93a141f64dc59a686e1815a34fad31dcc8545e3 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 7 Jun 2017 23:13:35 +0200 Subject: util/u_queue: fix a use-before-initialization race for queue->threads Reviewed-by: Samuel Pitoiset --- src/util/u_queue.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/util/u_queue.h') diff --git a/src/util/u_queue.h b/src/util/u_queue.h index 916802c96d1..8ec959814b0 100644 --- a/src/util/u_queue.h +++ b/src/util/u_queue.h @@ -71,7 +71,6 @@ struct util_queue { thrd_t *threads; int num_queued; unsigned num_threads; - unsigned flags; int kill_threads; int max_jobs; int write_idx, read_idx; /* ring buffer pointers */ -- cgit v1.2.3