summaryrefslogtreecommitdiffstats
path: root/src/util/u_queue.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-07 23:13:35 +0200
committerMarek Olšák <[email protected]>2017-06-07 23:19:30 +0200
commite93a141f64dc59a686e1815a34fad31dcc8545e3 (patch)
tree0e9c0bfaf70d08c691b9b170a18a98525ff3fc40 /src/util/u_queue.h
parent19f6cc3cbadfc89b7eba2f9d0b70bafac5b847e3 (diff)
util/u_queue: fix a use-before-initialization race for queue->threads
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/util/u_queue.h')
-rw-r--r--src/util/u_queue.h1
1 files changed, 0 insertions, 1 deletions
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 */