[Groonga-commit] droonga/droonga-engine at ec5a92d [master] Remove needless assignmnents

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Apr 14 16:35:46 JST 2015


YUKI Hiroshi	2015-04-14 16:35:46 +0900 (Tue, 14 Apr 2015)

  New Revision: ec5a92d9df832b4d60b012df32a4e141d9047555
  https://github.com/droonga/droonga-engine/commit/ec5a92d9df832b4d60b012df32a4e141d9047555

  Message:
    Remove needless assignmnents

  Modified files:
    lib/droonga/service_installation.rb

  Modified: lib/droonga/service_installation.rb (+2 -2)
===================================================================
--- lib/droonga/service_installation.rb    2015-04-14 16:34:21 +0900 (ddcea8c)
+++ lib/droonga/service_installation.rb    2015-04-14 16:35:46 +0900 (02a772f)
@@ -47,7 +47,7 @@ module Droonga
       test_file = Path.config
       begin
         test_file.read
-      rescue Errno::EACCES => error
+      rescue Errno::EACCES
         return false
       end
       true
@@ -58,7 +58,7 @@ module Droonga
       begin
         FileUtils.mkdir_p(Path.base)
         FileUtils.touch(test_file.to_s)
-      rescue Errno::EACCES => error
+      rescue Errno::EACCES
       end
       unless test_file.exist?
         return false
-------------- next part --------------
HTML����������������������������...
Download 



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