mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user