diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-07 08:53:14 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-07 08:53:14 +0900 |
| commit | b6a73f99bf11c39a457a180a97a6a3bb36529a9c (patch) | |
| tree | 8f14899580518d1458ebc8076cf3cceaa9dffc7b | |
| parent | c8936754e8281d5d2fe9b697487cdbdea485b044 (diff) | |
| download | mruby-b6a73f99bf11c39a457a180a97a6a3bb36529a9c.tar.gz mruby-b6a73f99bf11c39a457a180a97a6a3bb36529a9c.zip | |
call_iseq will never be NULL
| -rw-r--r-- | src/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proc.c b/src/proc.c index 0481e9790..a7e4192aa 100644 --- a/src/proc.c +++ b/src/proc.c @@ -184,7 +184,7 @@ mrb_init_proc(mrb_state *mrb) mrb_irep *call_irep = (mrb_irep *)mrb_alloca(mrb, sizeof(mrb_irep)); static const mrb_irep mrb_irep_zero = { 0 }; - if ( call_iseq == NULL || call_irep == NULL ) + if (call_irep == NULL) return; *call_irep = mrb_irep_zero; |
