mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
Prevent a warning: assigned but unused variable - t0
This commit is contained in:
parent
d80a81c152
commit
d1d0c50c9d
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ class TestFile < Test::Unit::TestCase
|
||||||
file.close
|
file.close
|
||||||
path = file.path
|
path = file.path
|
||||||
|
|
||||||
t0 = measure_time do
|
measure_time do
|
||||||
File.write(path, "foo")
|
File.write(path, "foo")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue