mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Remove pointer check after mrb_malloc()
This commit is contained in:
@@ -87,7 +87,6 @@ iv_put(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value val)
|
||||
}
|
||||
|
||||
seg = (segment*)mrb_malloc(mrb, sizeof(segment));
|
||||
if (!seg) return;
|
||||
seg->next = NULL;
|
||||
seg->key[0] = sym;
|
||||
seg->val[0] = val;
|
||||
|
||||
Reference in New Issue
Block a user