diff options
Diffstat (limited to 'src/variable.c')
| -rw-r--r-- | src/variable.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/variable.c b/src/variable.c index 8e427829a..1d10ddb49 100644 --- a/src/variable.c +++ b/src/variable.c @@ -46,11 +46,10 @@ iv_new(mrb_state *mrb) iv_tbl *t; t = mrb_malloc(mrb, sizeof(iv_tbl)); - if (t) { - t->size = 0; - t->rootseg = NULL; - t->last_len = 0; - } + t->size = 0; + t->rootseg = NULL; + t->last_len = 0; + return t; } |
