summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-24 08:47:47 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-24 08:47:47 +0000
commit7f87816a89cfd5bc0214fca7f7ed49e681364365 (patch)
treee064a082cbc182b5c58ba1cb2249d06aa222677c /test
parent25ae5cc39bf2afdc67906728dbed092813920520 (diff)
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.rb2
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)