Skip to content

Commit

Permalink
fix ruby unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zarqman committed Oct 27, 2023
1 parent fd57e55 commit 2cd9d48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/async/websocket/upgrade_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def initialize(request, headers = nil, protocol: nil, &block)

if accept_nounce = request.headers[SEC_WEBSOCKET_KEY]&.first
headers.add(SEC_WEBSOCKET_ACCEPT, Nounce.accept_digest(accept_nounce))
status = 101

if protocol
headers.add(SEC_WEBSOCKET_PROTOCOL, protocol)
Expand Down

0 comments on commit 2cd9d48

Please sign in to comment.