mruby-task: remove unused task_count variable

remove unused task_count variable in mrb_task_mark_all to fix compiler
warning.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-10-11 09:02:44 +09:00
parent b50dbfe868
commit 76d6c1b16e
-2
View File
@@ -101,11 +101,9 @@ void
mrb_task_mark_all(mrb_state *mrb)
{
int qi;
int task_count = 0;
for (qi = 0; qi < 4; qi++) {
mrb_task *t = mrb->task.queues[qi];
while (t) {
task_count++;
struct mrb_context *c = &t->c;
mrb_callinfo *ci;
size_t i, e;