aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-11-14 01:57:09 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-11-14 01:57:09 -0500
commit7dc3baa96b774af048f0c15cbd778ccfec7055fc (patch)
tree18a377ad81a46466adc0703b43ac9c5d16680e0a
parent416a9c73d3ddacd5c254aacd3a8b055b4c28092d (diff)
downloadrails-7dc3baa96b774af048f0c15cbd778ccfec7055fc.tar.gz
rails-7dc3baa96b774af048f0c15cbd778ccfec7055fc.tar.bz2
rails-7dc3baa96b774af048f0c15cbd778ccfec7055fc.zip
Get rid of unused variable
-rw-r--r--activesupport/lib/active_support/core_ext/kernel/reporting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/kernel/reporting.rb b/activesupport/lib/active_support/core_ext/kernel/reporting.rb
index be34eb505b..df11737a6b 100644
--- a/activesupport/lib/active_support/core_ext/kernel/reporting.rb
+++ b/activesupport/lib/active_support/core_ext/kernel/reporting.rb
@@ -60,7 +60,7 @@ module Kernel
# puts 'This code gets executed and nothing related to ZeroDivisionError was seen'
def suppress(*exception_classes)
yield
- rescue *exception_classes => e
+ rescue *exception_classes
end
# Captures the given stream and returns it: