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

@@ -876,10 +876,7 @@ static bool handle_proxy_mode(tproxy_conn_t *conn, struct tailhead *conn_list)
break;
case S5_ATYP_DOM:
{
struct addrinfo *ai,hints;
int r;
uint16_t port;
char sport[6];
if (params.no_resolve)
{