diff options
author | Yusuke Endoh <[email protected]> | 2020-11-08 23:32:44 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2020-11-08 23:32:44 +0900 |
commit | fcf8b9ef72aba39e10c5faa134a01ec37ec0bce6 (patch) | |
tree | 4cf0971ee7f4ed368fc91cb1fbb0c08fcfc4f14b /test/resolv/test_dns.rb | |
parent | 54ac1d7717a96a27966130b17b75c59597649473 (diff) |
test/resolv/test_dns.rb: suppress "assigned but unused variable"
Diffstat (limited to 'test/resolv/test_dns.rb')
-rw-r--r-- | test/resolv/test_dns.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/resolv/test_dns.rb b/test/resolv/test_dns.rb index 617babf829..d3c4b1f3e9 100644 --- a/test/resolv/test_dns.rb +++ b/test/resolv/test_dns.rb @@ -156,7 +156,7 @@ class TestResolvDNS < Test::Unit::TestCase ra = (flags & 0x0080) >> 7 z = (flags & 0x0070) >> 4 rcode = flags & 0x000f - rest = msg[12..-1] + _rest = msg[12..-1] questions = msg.bytes[12..-1] labels = [] |