summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-07-30 10:29:54 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-07-30 10:29:54 +0200
commit041690aadb1357775ff06c5bf827a98585627c76 (patch)
tree1d1b0a5c24b5828ff8a2e23877dd055a88b48fb9 /lib
parent964bcfe8611814e88beb8421c9835254a897e581 (diff)
downloadcurl-041690aadb1357775ff06c5bf827a98585627c76.tar.gz
asyn-thread: removed unused variable
Follow-up to eb9a604f. Mistake caused by me when I edited the commit before push...
Diffstat (limited to 'lib')
-rwxr-xr-xlib/asyn-thread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/asyn-thread.c b/lib/asyn-thread.c
index f17638e44..e323cbe20 100755
--- a/lib/asyn-thread.c
+++ b/lib/asyn-thread.c
@@ -636,11 +636,10 @@ int Curl_resolver_getsock(struct connectdata *conn,
struct resdata *reslv = (struct resdata *)data->state.resolver;
#ifdef HAVE_SOCKETPAIR
struct thread_data *td = (struct thread_data*)conn->async.os_specific;
- int loop_idx;
#else
(void)socks;
- (void)numsocks;
#endif
+ (void)numsocks;
#ifdef HAVE_SOCKETPAIR
if(td) {