diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-06 12:39:59 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-06 12:39:59 +0000 |
commit | 6a7666e56290bd3647b4996c265b6794c3c9d0a4 (patch) | |
tree | bec24ca7d81292f8f7277caeb762908df94e12bf /io.c | |
parent | 6051f542608d2fa86c84f45aeae847022550dfcc (diff) | |
download | ruby-6a7666e56290bd3647b4996c265b6794c3c9d0a4.tar.gz |
* io.c (io_encoding_set): suppress warnings. [ruby-dev:45627]
this tmp1 is not required after r35538.
* addr2line.c: suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -8786,7 +8786,6 @@ io_encoding_set(rb_io_t *fptr, VALUE v1, VALUE v2, VALUE opt) enc = find_encoding(v2); if (enc == enc2) { /* Special case - "-" => no transcoding */ - VALUE tmp1 = rb_check_string_type(v1); enc2 = NULL; } } @@ -8794,7 +8793,6 @@ io_encoding_set(rb_io_t *fptr, VALUE v1, VALUE v2, VALUE opt) enc = find_encoding(v2); if (enc == enc2) { /* Special case - "-" => no transcoding */ - VALUE tmp1 = rb_check_string_type(v1); enc2 = NULL; } } |