]> granicus.if.org Git - curl/commitdiff
asyn-thread: removed unused variable
authorDaniel Stenberg <daniel@haxx.se>
Tue, 30 Jul 2019 08:29:54 +0000 (10:29 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 30 Jul 2019 08:29:54 +0000 (10:29 +0200)
Follow-up to eb9a604f. Mistake caused by me when I edited the commit
before push...

lib/asyn-thread.c

index f17638e44e6b18e6d58912a410805b0f7af9ab90..e323cbe20f08af937c294d92fe5105eb05a26dac 100755 (executable)
@@ -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) {