summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-11-08 23:32:44 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-11-08 23:32:44 +0900
commitfcf8b9ef72aba39e10c5faa134a01ec37ec0bce6 (patch)
tree4cf0971ee7f4ed368fc91cb1fbb0c08fcfc4f14b /test
parent54ac1d7717a96a27966130b17b75c59597649473 (diff)
test/resolv/test_dns.rb: suppress "assigned but unused variable"
Diffstat (limited to 'test')
-rw-r--r--test/resolv/test_dns.rb2
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 = []