diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-28 16:09:09 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-28 16:09:09 -0700 |
commit | ba71e133178c616dbde6a63ec17af218920a6760 (patch) | |
tree | 3cdcc46a01257a8ecfb889662f71f9b24e6839c2 | |
parent | 7f3b3d435853d1d5c21d8138e2518502f1c0fdea (diff) | |
download | rack-ba71e133178c616dbde6a63ec17af218920a6760.tar.gz |
remove useless variable declarations
-rw-r--r-- | lib/rack/multipart/parser.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/rack/multipart/parser.rb b/lib/rack/multipart/parser.rb index e152e5b3..65289fbd 100644 --- a/lib/rack/multipart/parser.rb +++ b/lib/rack/multipart/parser.rb @@ -234,11 +234,6 @@ module Rack 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) |