1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 17:18:48 -05:00

asyn-thread: removed unused variable

Follow-up to eb9a604f. Mistake caused by me when I edited the commit
before push...
This commit is contained in:
Daniel Stenberg 2019-07-30 10:29:54 +02:00
parent 964bcfe861
commit 041690aadb
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -636,11 +636,10 @@ int Curl_resolver_getsock(struct connectdata *conn,
struct resdata *reslv = (struct resdata *)data->state.resolver; struct resdata *reslv = (struct resdata *)data->state.resolver;
#ifdef HAVE_SOCKETPAIR #ifdef HAVE_SOCKETPAIR
struct thread_data *td = (struct thread_data*)conn->async.os_specific; struct thread_data *td = (struct thread_data*)conn->async.os_specific;
int loop_idx;
#else #else
(void)socks; (void)socks;
(void)numsocks;
#endif #endif
(void)numsocks;
#ifdef HAVE_SOCKETPAIR #ifdef HAVE_SOCKETPAIR
if(td) { if(td) {