mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* transcode.c (rb_econv_open): make ec a local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4106a7c067
commit
65110d6464
2 changed files with 5 additions and 1 deletions
|
@ -885,7 +885,7 @@ rb_econv_open(const char *sname, const char *dname, int ecflags)
|
|||
{
|
||||
transcoder_entry_t **entries = NULL;
|
||||
int num_trans;
|
||||
static rb_econv_t *ec;
|
||||
rb_econv_t *ec;
|
||||
|
||||
rb_encoding *senc, *denc;
|
||||
int sidx, didx;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue