Navigation Menu

Skip to content

Commit

Permalink
Suppress a warning
Browse files Browse the repository at this point in the history
    lib/droonga/catalog/version1.rb:198: warning: assigned but unused variable - error
  • Loading branch information
kou committed Apr 24, 2014
1 parent fb23cf1 commit 5995a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/catalog/version1.rb
Expand Up @@ -195,7 +195,7 @@ def validate_valid_datetime(value, name)
validate_parameter_type(String, value, name)
begin
Time.parse(value)
rescue ArgumentError => error
rescue ArgumentError
raise InvalidDate.new(name, value, @path)
end
end
Expand Down

0 comments on commit 5995a41

Please sign in to comment.