From 12fa4ef4c13459389d313743459594165838a177 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 16 Apr 2015 16:12:47 +0100 Subject: Mark unused variables with underscore-prefix. This stops warnings when running with "ruby -w". --- lib/custodian/alerts/mauve.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1