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 | 2ea7ac14a2011b25e94fe5260a3627779ade1945 (patch) | |
tree | 32be4fdbd0707086d30f823c81420913b8ac58d8 | |
parent | 3040da983f5c5a48419905ad7dccc8180ac851d4 (diff) |
Mark unused variables with underscore-prefix.
This stops warnings when running with "ruby -w".
-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 |