[Groonga-commit] ranguba/groonga-client at d62ebc8 [master] Remove unused code

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Oct 27 16:39:25 JST 2017


Kouhei Sutou	2017-10-27 16:39:25 +0900 (Fri, 27 Oct 2017)

  New Revision: d62ebc81cba63f1d5fffa81dfa554b758eae7362
  https://github.com/ranguba/groonga-client/commit/d62ebc81cba63f1d5fffa81dfa554b758eae7362

  Message:
    Remove unused code

  Modified files:
    lib/groonga/client/command-line/groonga-client-index-check.rb

  Modified: lib/groonga/client/command-line/groonga-client-index-check.rb (+0 -2)
===================================================================
--- lib/groonga/client/command-line/groonga-client-index-check.rb    2017-10-27 16:38:32 +0900 (8badf41)
+++ lib/groonga/client/command-line/groonga-client-index-check.rb    2017-10-27 16:39:25 +0900 (8f58ed8)
@@ -101,7 +101,6 @@ module Groonga
             @client = client
             @options = options
             @targets = @options[:targets]
-            @exit_code = 0
           end
 
           def check
@@ -267,7 +266,6 @@ module Groonga
               end
             end
             if target_columns.empty?
-              @exit_code = 1
               abort_run("Failed to check <#{@targets.join(',')}> because there is no such a LEXCON.INDEX.")
             end
             broken_indexes = []
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171027/69231386/attachment.htm 



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