summaryrefslogtreecommitdiff
path: root/lib/custodian
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-04-16 16:12:47 +0100
committerSteve Kemp <steve@steve.org.uk>2015-04-16 16:12:47 +0100
commit2ea7ac14a2011b25e94fe5260a3627779ade1945 (patch)
tree32be4fdbd0707086d30f823c81420913b8ac58d8 /lib/custodian
parent3040da983f5c5a48419905ad7dccc8180ac851d4 (diff)
Mark unused variables with underscore-prefix.
This stops warnings when running with "ruby -w".
Diffstat (limited to 'lib/custodian')
-rw-r--r--lib/custodian/alerts/mauve.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/alerts/mauve.rb b/lib/custodian/alerts/mauve.rb
index d2b3a12..5a00557 100644
--- a/lib/custodian/alerts/mauve.rb
+++ b/lib/custodian/alerts/mauve.rb
@@ -318,7 +318,7 @@ module Custodian
ress.map { |r| ips.push(r.address.to_s) }
end
end
- rescue Timeout::Error => e
+ rescue Timeout::Error => _e
return ''
end
end