Navigation Menu

Skip to content

Commit

Permalink
Remove needless assignmnents
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 14, 2015
1 parent 7521621 commit ec5a92d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/service_installation.rb
Expand Up @@ -47,7 +47,7 @@ def have_read_permission?
test_file = Path.config
begin
test_file.read
rescue Errno::EACCES => error
rescue Errno::EACCES
return false
end
true
Expand All @@ -58,7 +58,7 @@ def have_write_permission?
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
Expand Down

0 comments on commit ec5a92d

Please sign in to comment.