diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-04-16 16:09:27 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-04-16 16:09:27 +0100 |
commit | 2db89392e9e2f66e2e8bef8eb8855d405d5078a9 (patch) | |
tree | 307892f425d7d0c6d417a53b0d6139cd7310665a | |
parent | 86bec93b9db4690a862cf6aa8fa51ae480a8dc0e (diff) |
Mark unused variables as unused.
We do that with the standard "_"-prefix.
-rw-r--r-- | lib/custodian/util/dns.rb | 4 |
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 |