diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-03-30 17:10:44 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-03-30 17:10:44 +0900 |
| commit | 952207d2433d2de1443c791ec1932c05dbd53be8 (patch) | |
| tree | 30ed6daa13994716a1ca3fe0ccded7c6e8434301 /src/variable.c | |
| parent | 669b18383d3bd9b2d09216c3cab9d3f2ef0a5ea3 (diff) | |
| download | mruby-952207d2433d2de1443c791ec1932c05dbd53be8.tar.gz mruby-952207d2433d2de1443c791ec1932c05dbd53be8.zip | |
small cosmetic change; ref #3570
Diffstat (limited to 'src/variable.c')
| -rw-r--r-- | src/variable.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/variable.c b/src/variable.c index f5d261dec..c98008af7 100644 --- a/src/variable.c +++ b/src/variable.c @@ -825,7 +825,8 @@ mrb_mod_cv_set(mrb_state *mrb, struct RClass *c, mrb_sym sym, mrb_value v) mrb_intern_lit(mrb, "__attached__")); c = mrb_class_ptr(klass); - }else{ + } + else{ c = cls; } |
