Skip to content

Commit

Permalink
Remove unneeded usage of nils
Browse files Browse the repository at this point in the history
  • Loading branch information
deepj committed May 26, 2015
1 parent 69ab58f commit 34cfc52
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/rack/deflater.rb
Expand Up @@ -119,7 +119,6 @@ def each
deflator = ::Zlib::Deflate.new(*DEFLATE_ARGS)
@body.each { |part| yield deflator.deflate(part, Zlib::SYNC_FLUSH) }
yield deflator.finish
nil
ensure
deflator.close
end
Expand Down
1 change: 0 additions & 1 deletion lib/rack/request.rb
Expand Up @@ -257,7 +257,6 @@ def update_param(k, v)
self.GET[k] = v
end
@params = nil
nil
end

# Destructively delete a parameter, whether it's in GET or POST. Returns the value of the deleted parameter.
Expand Down

0 comments on commit 34cfc52

Please sign in to comment.