mruby-fiber (fiber_init_fiber): rename conflicting local variables

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-01-03 16:05:46 +09:00
parent f0ab79b195
commit 93bda0d27f
+5 -5
View File
@@ -43,12 +43,12 @@ fiber_init_fiber(mrb_state *mrb, struct RFiber *f, const struct RProc *p)
c->stend = c->stbase + slen;
{
mrb_value *p = c->stbase;
mrb_value *pend = c->stend;
mrb_value *s = c->stbase;
mrb_value *send = c->stend;
while (p < pend) {
SET_NIL_VALUE(*p);
p++;
while (s < send) {
SET_NIL_VALUE(*s);
s++;
}
}