From 3627b5ebd9c64e1b5b47dcd8222340ba1a0b461b Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 16 Apr 2015 16:09:27 +0100 Subject: Mark unused variables as unused. We do that with the standard "_"-prefix. --- lib/custodian/util/dns.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/custodian/util') diff --git a/lib/custodian/util/dns.rb b/lib/custodian/util/dns.rb index 95e788f..724b3c2 100644 --- a/lib/custodian/util/dns.rb +++ b/lib/custodian/util/dns.rb @@ -37,7 +37,7 @@ module Custodian resolved = nil end end - rescue Timeout::Error => e + rescue Timeout::Error => _e resolved = nil end resolved @@ -67,7 +67,7 @@ module Custodian resolved = nil end end - rescue Timeout::Error => e + rescue Timeout::Error => _e resolved = nil end resolved -- cgit v1.2.1