diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-24 08:47:47 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-24 08:47:47 +0000 |
commit | 7f87816a89cfd5bc0214fca7f7ed49e681364365 (patch) | |
tree | e064a082cbc182b5c58ba1cb2249d06aa222677c /test | |
parent | 25ae5cc39bf2afdc67906728dbed092813920520 (diff) | |
download | ruby-7f87816a89cfd5bc0214fca7f7ed49e681364365.tar.gz |
suppress warnings: assigned but unused variable - pos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_io.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 3a0255ff82..d2abd9e97d 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -1722,7 +1722,6 @@ class TestIO < Test::Unit::TestCase } open(t.path, 'r+') { |f| break unless can_seek_data(f) - pos = f.pos f.seek(100*1024, IO::SEEK_SET) f.print("zot\n") f.seek(50*1024, IO::SEEK_DATA) @@ -1773,7 +1772,6 @@ class TestIO < Test::Unit::TestCase } open(t.path, 'r+') { |f| break unless can_seek_data(f) - pos = f.pos f.seek(100*1024, :SET) f.print("zot\n") f.seek(50*1024, :DATA) |