diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-07-22 06:34:39 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-07-22 06:34:39 -0700 |
| commit | 5926a4406e63b35f2c57a027c502d41aec44e4c5 (patch) | |
| tree | 71d57c0ec353d4888d816edffe637530a5f6748e | |
| parent | 78aa61453e802786f0e2783646ee4f4359e0fc4e (diff) | |
| parent | a4c6b1c75edc7308a9751ebc1858d86774434542 (diff) | |
| download | mruby-5926a4406e63b35f2c57a027c502d41aec44e4c5.tar.gz mruby-5926a4406e63b35f2c57a027c502d41aec44e4c5.zip | |
Merge pull request #389 from masamitsu-murase/modify_module_initialization
Remove initialization of mt.
| -rw-r--r-- | src/class.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/class.c b/src/class.c index 38eb5ea1f..b8532cdcc 100644 --- a/src/class.c +++ b/src/class.c @@ -115,7 +115,6 @@ mrb_define_module_id(mrb_state *mrb, mrb_sym name) { struct RClass *m = mrb_module_new(mrb); - m->mt = kh_init(mt, mrb); mrb_obj_iv_set(mrb, (struct RObject*)mrb->object_class, name, mrb_obj_value(m)); mrb_name_class(mrb, m, name); |
