aboutsummaryrefslogtreecommitdiff
path: root/src/thread_pool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread_pool.cpp')
-rw-r--r--src/thread_pool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread_pool.cpp b/src/thread_pool.cpp
index b89e00454..07ab3d323 100644
--- a/src/thread_pool.cpp
+++ b/src/thread_pool.cpp
@@ -167,7 +167,7 @@ gb_internal THREAD_PROC(thread_pool_thread_proc) {
idx = (idx + 1) % cast(usize)pool->threads.count;
Thread *thread = &pool->threads.data[idx];
- WorkerTask task, another_task;
+ WorkerTask task;
if (!thread_pool_queue_pop(thread, &task)) {
continue;
}