From 7f87816a89cfd5bc0214fca7f7ed49e681364365 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 24 Apr 2014 08:47:47 +0000 Subject: suppress warnings: assigned but unused variable - pos git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/ruby/test_io.rb') 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) -- cgit v1.2.3