summaryrefslogtreecommitdiff
path: root/lib
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
commit12fa4ef4c13459389d313743459594165838a177 (patch)
tree28ad2808cde1341df7e0173f00189a192d843b76 /lib
parente5cf18e94200b34157a79a0990c83e406564316c (diff)
Mark unused variables with underscore-prefix.
This stops warnings when running with "ruby -w".
Diffstat (limited to 'lib')
-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