fix compiler warnings: -Wunused (part2)

This commit is contained in:
[anp/hsw]
2024-08-16 19:31:16 +07:00
committed by bol-van
parent c38067b255
commit aaea80a97c
6 changed files with 1 additions and 9 deletions

View File

@@ -1609,7 +1609,6 @@ static bool set_socket_fwmark(int sock, uint32_t fwmark)
static int rawsend_socket(sa_family_t family)
{
int yes=1;
int *sock = rawsend_family_sock(family);
if (!sock) return -1;

View File

@@ -1261,7 +1261,6 @@ static uint8_t dpi_desync_udp_packet_play(bool replay, size_t reasm_offset, uint
uint8_t clean[16384], *pclean;
size_t clean_len;
bool bIsHello = false;
if (replay)
{

View File

@@ -210,7 +210,7 @@ bool TLSFindExtInHandshake(const uint8_t *data, size_t len, uint16_t type, const
// <CompressionMethods>
// u16 ExtensionsLength
size_t l, ll;
size_t l;
if (!bPartialIsOK && !IsTLSHandshakeFull(data,len)) return false;