mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02: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
|
ra = (flags & 0x0080) >> 7
|
||||||
z = (flags & 0x0070) >> 4
|
z = (flags & 0x0070) >> 4
|
||||||
rcode = flags & 0x000f
|
rcode = flags & 0x000f
|
||||||
rest = msg[12..-1]
|
_rest = msg[12..-1]
|
||||||
|
|
||||||
questions = msg.bytes[12..-1]
|
questions = msg.bytes[12..-1]
|
||||||
labels = []
|
labels = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue