mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ruby.c: remove needless substitution of uenc
uenc has already been initialized the top of the function.
This commit is contained in:
parent
7e69296a2b
commit
146b3695c0
1 changed files with 0 additions and 3 deletions
3
ruby.c
3
ruby.c
|
@ -1819,9 +1819,6 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt)
|
|||
Init_ruby_description();
|
||||
Init_enc();
|
||||
lenc = rb_locale_encoding();
|
||||
#if UTF8_PATH
|
||||
uenc = rb_utf8_encoding();
|
||||
#endif
|
||||
rb_enc_associate(rb_progname, lenc);
|
||||
rb_obj_freeze(rb_progname);
|
||||
parser = rb_parser_new();
|
||||
|
|
Loading…
Reference in a new issue