summaryrefslogtreecommitdiff
path: root/lib/custodian
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
commit2db89392e9e2f66e2e8bef8eb8855d405d5078a9 (patch)
tree307892f425d7d0c6d417a53b0d6139cd7310665a /lib/custodian
parent86bec93b9db4690a862cf6aa8fa51ae480a8dc0e (diff)
Mark unused variables as unused.
We do that with the standard "_"-prefix.
Diffstat (limited to 'lib/custodian')
-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