summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-07 01:42:18 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-07 01:42:18 +0000
commit672490d08cd7b67d05f6834844f79f890abf21f9 (patch)
treec369ddd49d0cfecbf1b063a68d1b505254698032 /lib
parentc73c876d54104757435a49dca877b7f8ef81d8f4 (diff)
downloadruby-672490d08cd7b67d05f6834844f79f890abf21f9.tar.gz
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/resolv.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/resolv.rb b/lib/resolv.rb
index bdbed2702a..04b85ea85d 100644
--- a/lib/resolv.rb
+++ b/lib/resolv.rb
@@ -831,7 +831,6 @@ class Resolv
class MDNSOneShot < UnconnectedUDP # :nodoc:
def sender(msg, data, host, port=Port)
- service = [host, port]
id = DNS.allocate_request_id(host, port)
request = msg.encode
request[0,2] = [id].pack('n')