aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2012-04-29 21:27:09 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2012-04-29 21:27:09 -0700
commit363d7ee55176e692bc031dcf0dc7f9f6e359abd6 (patch)
tree73584ce406b801b7edb2a146a8732cfbe97ba8de /activesupport
parented7ea66dbb0aaf9e16c87b51d2d0044d827b4af3 (diff)
parentd56f5c8db7e937cabd07ff192c386f2aefed33a4 (diff)
downloadrails-363d7ee55176e692bc031dcf0dc7f9f6e359abd6.tar.gz
rails-363d7ee55176e692bc031dcf0dc7f9f6e359abd6.tar.bz2
rails-363d7ee55176e692bc031dcf0dc7f9f6e359abd6.zip
Merge pull request #6074 from mark-rushakoff/unused-variables
Remove some unused variable assignments
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/testing/performance/jruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/performance/jruby.rb b/activesupport/lib/active_support/testing/performance/jruby.rb
index b347539f13..34e3f9f45f 100644
--- a/activesupport/lib/active_support/testing/performance/jruby.rb
+++ b/activesupport/lib/active_support/testing/performance/jruby.rb
@@ -42,7 +42,7 @@ module ActiveSupport
klasses.each do |klass|
fname = output_filename(klass)
FileUtils.mkdir_p(File.dirname(fname))
- file = File.open(fname, 'wb') do |file|
+ File.open(fname, 'wb') do |file|
klass.new(@data).printProfile(file)
end
end