Skip to content

Commit

Permalink
remove useless variable declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Aug 28, 2015
1 parent 7f3b3d4 commit ba71e13
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/rack/multipart/parser.rb
Expand Up @@ -234,11 +234,6 @@ def fast_forward_to_first_boundary
end

def get_current_head_and_filename_and_content_type_and_name_and_body
head = nil
file = nil

filename = content_type = name = nil

loop do # read until we have a header and separator in the buffer
if @state == :MIME_HEAD && @buf.index(EOL + EOL)
i = @buf.index(EOL+EOL)
Expand Down

0 comments on commit ba71e13

Please sign in to comment.