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

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 16日 (水) 17:56:51 JST


HAYASHI Kentaro	2012-05-16 17:56:51 +0900 (Wed, 16 May 2012)

  New Revision: 877730db92ff4a329344f378ef8a93b8b5514606

  Log:
    test: remove needless return

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

  Modified: test/function/tools/geo/generate-grntest-data.rb (+3 -3)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-05-16 17:31:04 +0900 (721f8ba)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-05-16 17:56:51 +0900 (902a711)
@@ -260,11 +260,11 @@ def get_point(lng, lat)
     -90 => "south_pole",
   }
   if lng == 0
-    return lng_desc[lng][lat]
+    lng_desc[lng][lat]
   elsif lat == 0
-    return lat_desc[lat][lng]
+    lat_desc[lat][lng]
   else
-    return lng_desc[lng] + "_" + lat_desc[lat]
+    lng_desc[lng] + "_" + lat_desc[lat]
   end
 end
 




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