1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/resolv/test_dns.rb: suppress "assigned but unused variable"

This commit is contained in:
Yusuke Endoh 2020-11-08 23:32:44 +09:00
parent 54ac1d7717
commit fcf8b9ef72

View file

@ -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 = []