[Groonga-commit] groonga/groonga [master] test: remove needless assignment

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 4日 (月) 11:55:54 JST


HAYASHI Kentaro	2012-06-04 11:55:54 +0900 (Mon, 04 Jun 2012)

  New Revision: 50d302d672625161c329b1bc29e37e50cf873724

  Log:
    test: remove needless assignment

  Modified files:
    test/function/tools/geo/generate-grntest-data.rb

  Modified: test/function/tools/geo/generate-grntest-data.rb (+1 -1)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-06-04 11:54:48 +0900 (81f5911)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-06-04 11:55:54 +0900 (6acd935)
@@ -647,7 +647,7 @@ class GrnTestData
       File.open(file_name, "r") do |file|
         data = file.read
         if data =~ /.*,\[(\d+)\]\]\]\]\n$/
-          distance = $1.to_i
+          $1.to_i
         else
           raise "failed to parse the value of distance"
         end




Groonga-commit メーリングリストの案内
Back to archive index