summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-07-03 18:21:18 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-07-12 18:06:50 +0200
commitc4026a98979f6ed0f6cf9e544d6544ea3b23464c (patch)
tree8be9d00dd55b0f68ecdf0626a58012de77154d54 /lib
parent3f6288e1e5bfcb499866fae09b71b3720072a8c9 (diff)
downloadcurl-c4026a98979f6ed0f6cf9e544d6544ea3b23464c.tar.gz
asyn.h: remove the Curl_resolver_getsock define
- not used - used the wrong number of arguments - confused the Codeacy code analyzer Closes #5647
Diffstat (limited to 'lib')
-rw-r--r--lib/asyn.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/asyn.h b/lib/asyn.h
index be2796cf0..bd3c3c123 100644
--- a/lib/asyn.h
+++ b/lib/asyn.h
@@ -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