asyn.h: remove the Curl_resolver_getsock define

- not used
 - used the wrong number of arguments
 - confused the Codeacy code analyzer

Closes #5647
This commit is contained in:
Daniel Stenberg 2020-07-03 18:21:18 +02:00
parent 3f6288e1e5
commit c4026a9897
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -164,7 +164,6 @@ struct Curl_addrinfo *Curl_resolver_getaddrinfo(struct connectdata *conn,
#define Curl_resolver_kill(x) Curl_nop_stmt
#define Curl_resolver_is_resolved(x,y) CURLE_COULDNT_RESOLVE_HOST
#define Curl_resolver_wait_resolv(x,y) CURLE_COULDNT_RESOLVE_HOST
#define Curl_resolver_getsock(x,y,z) 0
#define Curl_resolver_duphandle(x,y,z) CURLE_OK
#define Curl_resolver_init(x,y) CURLE_OK
#define Curl_resolver_global_init() CURLE_OK