Skip to content

Commit

Permalink
Fix warning: assigned but unused variable - extensions. (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
zarqman authored Sep 26, 2023
1 parent 8053f4c commit b14df9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Thomas Morgan <[email protected]>
2 changes: 1 addition & 1 deletion lib/protocol/http1/body/chunked.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def close(error = nil)
def read
return nil if @finished

length, extensions = read_line.split(";", 2)
length, _extensions = read_line.split(";", 2)

unless length =~ VALID_CHUNK_LENGTH
raise BadRequest, "Invalid chunk length: #{length.dump}"
Expand Down

0 comments on commit b14df9c

Please sign in to comment.