mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Remove an unused variable
This commit is contained in:
parent
4fd6e2f7cd
commit
d1c210b105
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ reply(Status, Headers, Req) ->
|
||||||
-> Req when Req::req().
|
-> Req when Req::req().
|
||||||
reply(_, _, _, #{has_sent_resp := _}) ->
|
reply(_, _, _, #{has_sent_resp := _}) ->
|
||||||
error(function_clause);
|
error(function_clause);
|
||||||
reply(Status, Headers, Sendfile = {sendfile, _, 0, _}, Req)
|
reply(Status, Headers, {sendfile, _, 0, _}, Req)
|
||||||
when is_integer(Status); is_binary(Status) ->
|
when is_integer(Status); is_binary(Status) ->
|
||||||
do_reply(Status, Headers#{
|
do_reply(Status, Headers#{
|
||||||
<<"content-length">> => <<"0">>
|
<<"content-length">> => <<"0">>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue