diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-11-13 13:32:02 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-11-13 13:32:02 +0100 |
commit | d64050bafbfe86c2836264de1c1e184a9cdeb0f2 (patch) | |
tree | 567704fce05190b835270fba31e47249807a166c /src/plugins/relay/relay-websocket.c | |
parent | 1556e4ac5a93ed390e0ae862336f3ad633d5c0d1 (diff) | |
download | weechat-d64050bafbfe86c2836264de1c1e184a9cdeb0f2.zip |
relay: remove dead assignment in websocket decoding
Diffstat (limited to 'src/plugins/relay/relay-websocket.c')
-rw-r--r-- | src/plugins/relay/relay-websocket.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-websocket.c b/src/plugins/relay/relay-websocket.c index 7cbbaa308..fba9aa919 100644 --- a/src/plugins/relay/relay-websocket.c +++ b/src/plugins/relay/relay-websocket.c @@ -290,7 +290,6 @@ relay_websocket_decode_frame (const unsigned char *buffer, return 0; /* decode frame */ - length_frame_size = 1; length_frame = buffer[index_buffer + 1] & 127; index_buffer += 2; if (index_buffer >= buffer_length) |