10000 fix ruby unused variable warning (#62) · socketry/async-websocket@e5a4dad · GitHub
[go: up one dir, main page]

Skip to content

Commit e5a4dad

Browse files
authored
fix ruby unused variable warning (#62)
1 parent fd57e55 commit e5a4dad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/async/websocket/upgrade_response.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ def initialize(request, headers = nil, protocol: nil, &block)
1818

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

2322
if protocol
2423
headers.add(SEC_WEBSOCKET_PROTOCOL, protocol)

0 commit comments

Comments
 (0)
0