summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-04-16 16:09:27 +0100
committerSteve Kemp <steve@steve.org.uk>2015-04-16 16:09:27 +0100
commit3627b5ebd9c64e1b5b47dcd8222340ba1a0b461b (patch)
tree18be1155bfefdeeb4c205d40a6faee4343368ce4 /lib
parent49353d1ce9ac0db153cc2b9e5ed8cff76d58b621 (diff)
Mark unused variables as unused.
We do that with the standard "_"-prefix.
Diffstat (limited to 'lib')
-rw-r--r--lib/custodian/util/dns.rb4
1 files 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