diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-04-16 16:12:47 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-04-16 16:12:47 +0100 |
commit | 12fa4ef4c13459389d313743459594165838a177 (patch) | |
tree | 28ad2808cde1341df7e0173f00189a192d843b76 /lib/custodian/alerts/mauve.rb | |
parent | e5cf18e94200b34157a79a0990c83e406564316c (diff) |
Mark unused variables with underscore-prefix.
This stops warnings when running with "ruby -w".
Diffstat (limited to 'lib/custodian/alerts/mauve.rb')
-rw-r--r-- | lib/custodian/alerts/mauve.rb | 2 |
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 |