Skip to content

Commit

Permalink
Fix unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras Fekete committed Oct 9, 2024
1 parent ffff325 commit e2536e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sniffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -6578,14 +6578,13 @@ static int ssl_DecodePacketInternal(const byte* packet, int length, int isChain,
int sslBytes; /* ssl bytes unconsumed */
int ret;
SnifferSession* session = NULL;
word32 chainSz = 0;

if (isChain) {
#ifdef WOLFSSL_SNIFFER_CHAIN_INPUT
struct iovec* chain;
word32 i;

chainSz = (word32)length;
word32 chainSz = (word32)length;

chain = (struct iovec*)packet;
length = 0;
Expand Down

0 comments on commit e2536e3

Please sign in to comment.