[Groonga-commit] droonga/drntest at 009a0b1 [master] Remove needless return value on error

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Dec 3 18:21:13 JST 2013


Kouhei Sutou	2013-12-03 18:21:13 +0900 (Tue, 03 Dec 2013)

  New Revision: 009a0b14f41b89a13cadea2e166fcf9cbe900db6
  https://github.com/droonga/drntest/commit/009a0b14f41b89a13cadea2e166fcf9cbe900db6

  Message:
    Remove needless return value on error
    
    The method behaves as a destructive method. So return value of the
    method is meaningless.

  Modified files:
    lib/drntest/executor.rb

  Modified: lib/drntest/executor.rb (+0 -1)
===================================================================
--- lib/drntest/executor.rb    2013-11-29 12:14:07 +0900 (f3eb120)
+++ lib/drntest/executor.rb    2013-12-03 18:21:13 +0900 (0784342)
@@ -54,7 +54,6 @@ module Drntest
         normalize_groonga_command_result!(normalized_result[2])
       rescue StandardError => error
         p error
-        normalized_result
       end
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index