From 5d7ce59ba38332cc0dac769b3138af2f1173c954 Mon Sep 17 00:00:00 2001 From: Sergey Safarov Date: Wed, 23 Sep 2020 14:09:17 +0000 Subject: [PATCH] src/capture.c: removed unused var --- src/capture.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/capture.c b/src/capture.c index 65b8b8b..64dba92 100644 --- a/src/capture.c +++ b/src/capture.c @@ -697,7 +697,6 @@ int capture_ws_check_packet(packet_t *packet) { int ws_off = 0; - u_char ws_fin; u_char ws_opcode; u_char ws_mask; uint8_t ws_len; @@ -737,7 +736,6 @@ capture_ws_check_packet(packet_t *packet) return 0; // Flags && Opcode - ws_fin = (*payload & WH_FIN) >> 4; ws_opcode = *payload & WH_OPCODE; ws_off++;