[Groonga-commit] groonga/grntest [master] Don't use a variable for specifing only a return value

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 6日 (水) 14:15:21 JST


Haruka Yoshihara	2012-06-06 14:15:21 +0900 (Wed, 06 Jun 2012)

  New Revision: d71f6ea42e283d9ab09d72e03e663a48f56419bf

  Log:
    Don't use a variable for specifing only a return value

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+1 -2)
===================================================================
--- lib/groonga/tester.rb    2012-06-06 14:03:06 +0900 (82629fb)
+++ lib/groonga/tester.rb    2012-06-06 14:15:21 +0900 (77ff8d0)
@@ -634,8 +634,7 @@ module Groonga
         arguments.concat(["--values", load_values]) unless load_values.empty?
 
         translated_values = translate_arguments(command, arguments)
-        url = build_url(command, translated_values)
-        url
+        build_url(command, translated_values)
       end
 
       private




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