[前][次][番号順一覧][スレッド一覧]

ruby-changes:28119

From: akr <ko1@a...>
Date: Sun, 7 Apr 2013 10:42:27 +0900 (JST)
Subject: [ruby-changes:28119] akr:r40171 (trunk): * lib/resolv.rb (MDNSOneShot#sender): Delete an unused variable.

akr	2013-04-07 10:42:18 +0900 (Sun, 07 Apr 2013)

  New Revision: 40171

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40171

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

  Modified files:
    trunk/ChangeLog
    trunk/lib/resolv.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40170)
+++ ChangeLog	(revision 40171)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Apr  7 10:41:30 2013  Tanaka Akira  <akr@f...>
+
+	* lib/resolv.rb (MDNSOneShot#sender): Delete an unused variable.
+
 Sun Apr  7 03:24:36 2013  NARUSE, Yui  <naruse@r...>
 
 	* addr2line.c: use more generic type:
Index: lib/resolv.rb
===================================================================
--- lib/resolv.rb	(revision 40170)
+++ lib/resolv.rb	(revision 40171)
@@ -831,7 +831,6 @@ class Resolv https://github.com/ruby/ruby/blob/trunk/lib/resolv.rb#L831
 
       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')

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]