* lib/resolv.rb (MDNSOneShot#sender): Delete an unused variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-04-07 01:42:18 +00:00
Родитель c73c876d54
Коммит 672490d08c
2 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Sun Apr 7 10:41:30 2013 Tanaka Akira <akr@fsij.org>
* lib/resolv.rb (MDNSOneShot#sender): Delete an unused variable.
Sun Apr 7 03:24:36 2013 NARUSE, Yui <naruse@ruby-lang.org> Sun Apr 7 03:24:36 2013 NARUSE, Yui <naruse@ruby-lang.org>
* addr2line.c: use more generic type: * addr2line.c: use more generic type:

Просмотреть файл

@ -831,7 +831,6 @@ class Resolv
class MDNSOneShot < UnconnectedUDP # :nodoc: class MDNSOneShot < UnconnectedUDP # :nodoc:
def sender(msg, data, host, port=Port) def sender(msg, data, host, port=Port)
service = [host, port]
id = DNS.allocate_request_id(host, port) id = DNS.allocate_request_id(host, port)
request = msg.encode request = msg.encode
request[0,2] = [id].pack('n') request[0,2] = [id].pack('n')