mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
iseq.c (rb_iseq_defined_string): trim redundant semi-colon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
84b90070c6
commit
39fd4a87e8
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Sun Sep 21 12:49:11 2014 Eric Wong <e@80x24.org>
|
||||||
|
|
||||||
|
* iseq.c (rb_iseq_defined_string): trim redundant semi-colon
|
||||||
|
|
||||||
Sun Sep 21 12:19:29 2014 Eric Wong <e@80x24.org>
|
Sun Sep 21 12:19:29 2014 Eric Wong <e@80x24.org>
|
||||||
|
|
||||||
* file.c (rb_find_file_ext_safe): clear tmp buffer on failure
|
* file.c (rb_find_file_ext_safe): clear tmp buffer on failure
|
||||||
|
|
2
iseq.c
2
iseq.c
|
@ -2063,7 +2063,7 @@ rb_iseq_defined_string(enum defined_type type)
|
||||||
}
|
}
|
||||||
str = defs[type-1];
|
str = defs[type-1];
|
||||||
if (!str) {
|
if (!str) {
|
||||||
str = rb_str_new_cstr(estr);;
|
str = rb_str_new_cstr(estr);
|
||||||
OBJ_FREEZE(str);
|
OBJ_FREEZE(str);
|
||||||
defs[type-1] = str;
|
defs[type-1] = str;
|
||||||
rb_gc_register_mark_object(str);
|
rb_gc_register_mark_object(str);
|
||||||
|
|
Loading…
Add table
Reference in a new issue