From 2db89392e9e2f66e2e8bef8eb8855d405d5078a9 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(-) 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