Unverified Commit a211a326 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Revert "Check if irep->reps is NULL in lv_defined_p"

parent e7d0baaf
......@@ -773,11 +773,9 @@ lv_defined_p(const mrb_irep *irep)
if (irep->lv) { return TRUE; }
if (irep->reps) {
for (i = 0; i < irep->rlen; ++i) {
if (lv_defined_p(irep->reps[i])) { return TRUE; }
}
}
return FALSE;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment