diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-26 13:32:18 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-26 13:32:18 +0900 |
| commit | 306b1d3c51272e1df3a8812f1e3811ea967929d7 (patch) | |
| tree | e6b8807a25dff568c25fefc7d558181c8e631a37 /src/proc.c | |
| parent | 79ba1ed1370a3b3fdc70185fca31ff573fc2c533 (diff) | |
| parent | dcff9012e379ea89342d175ed36847aa8cc0d106 (diff) | |
| download | mruby-306b1d3c51272e1df3a8812f1e3811ea967929d7.tar.gz mruby-306b1d3c51272e1df3a8812f1e3811ea967929d7.zip | |
Merge pull request #1948 from monaka/pr-remove-unused-null-check
Remove redundant NULL checks.
Diffstat (limited to 'src/proc.c')
| -rw-r--r-- | src/proc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/proc.c b/src/proc.c index 93354dd16..4e6e2b95f 100644 --- a/src/proc.c +++ b/src/proc.c @@ -196,9 +196,6 @@ mrb_init_proc(mrb_state *mrb) mrb_irep *call_irep = (mrb_irep *)mrb_malloc(mrb, sizeof(mrb_irep)); static const mrb_irep mrb_irep_zero = { 0 }; - if (call_irep == NULL) - return; - *call_irep = mrb_irep_zero; call_irep->flags = MRB_ISEQ_NO_FREE; call_irep->iseq = call_iseq; |
