mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Revert "Check if irep->reps is NULL in lv_defined_p"
This commit is contained in:
committed by
GitHub
parent
e7d0baaf3b
commit
a211a326de
+2
-4
@@ -773,10 +773,8 @@ 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; }
|
||||
}
|
||||
for (i = 0; i < irep->rlen; ++i) {
|
||||
if (lv_defined_p(irep->reps[i])) { return TRUE; }
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user