[Groonga-commit] droonga/droonga-engine at 5995a41 [master] Suppress a warning

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 24 15:50:31 JST 2014


Kouhei Sutou	2014-04-24 15:50:31 +0900 (Thu, 24 Apr 2014)

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

  Message:
    Suppress a warning
    
        lib/droonga/catalog/version1.rb:198: warning: assigned but unused variable - error

  Modified files:
    lib/droonga/catalog/version1.rb

  Modified: lib/droonga/catalog/version1.rb (+1 -1)
===================================================================
--- lib/droonga/catalog/version1.rb    2014-04-24 15:49:49 +0900 (846deb1)
+++ lib/droonga/catalog/version1.rb    2014-04-24 15:50:31 +0900 (3f51a4f)
@@ -195,7 +195,7 @@ module Droonga
         validate_parameter_type(String, value, name)
         begin
           Time.parse(value)
-        rescue ArgumentError => error
+        rescue ArgumentError
           raise InvalidDate.new(name, value, @path)
         end
       end
-------------- next part --------------
HTML����������������������������...
Download 



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