Remove an unused variable

GCC 16 warned with -Wall option:

    whois.c: In function ‘query_verisign’:
    whois.c:1043:9: warning: unused variable ‘sock’ [-Wunused-variable]
     1043 |     int sock;
	  |         ^~~~

This patch removes the unused variable.
This commit is contained in:
Petr Písař 2026-02-23 12:45:52 +01:00
parent 6b4784ab1e
commit 0cbc04e979

View File

@ -1040,7 +1040,6 @@ char *query_server(const char *server, const char *port, const char *query)
char *query_verisign(const char *server, const char *port, const char *query)
{
char *temp, *p;
int sock;
char *referral_server = NULL;
int dotscount = 0;