mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Fix an unused variable warning
This commit is contained in:
parent
482de55a96
commit
e09ae60d5b
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ has_resp_body(_) ->
|
||||||
delete_resp_header(Name, Req=#{resp_headers := RespHeaders}) ->
|
delete_resp_header(Name, Req=#{resp_headers := RespHeaders}) ->
|
||||||
Req#{resp_headers => maps:remove(Name, RespHeaders)};
|
Req#{resp_headers => maps:remove(Name, RespHeaders)};
|
||||||
%% There are no resp headers so we have nothing to delete.
|
%% There are no resp headers so we have nothing to delete.
|
||||||
delete_resp_header(Name, Req) ->
|
delete_resp_header(_, Req) ->
|
||||||
Req.
|
Req.
|
||||||
|
|
||||||
-spec inform(cowboy:http_status(), req()) -> ok.
|
-spec inform(cowboy:http_status(), req()) -> ok.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue