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:
parent
54ac1d7717
commit
fcf8b9ef72
1 changed files with 1 additions and 1 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue