]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
removed assignment of variable never used
authorDaniel Stenberg <daniel@haxx.se>
Mon, 26 Apr 2004 11:56:05 +0000 (11:56 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 26 Apr 2004 11:56:05 +0000 (11:56 +0000)
lib/hostares.c

index 1db87e48398863b182fea5095a5c6c6299551554..d2ea98ea0f91d847b81ddbbe3e5a659d17c8e9f7 100644 (file)
@@ -132,7 +132,6 @@ CURLcode Curl_is_resolved(struct connectdata *conn,
 {
   fd_set read_fds, write_fds;
   struct timeval tv={0,0};
-  int count;
   struct SessionHandle *data = conn->data;
   int nfds;
 
@@ -141,8 +140,8 @@ CURLcode Curl_is_resolved(struct connectdata *conn,
 
   nfds = ares_fds(data->state.areschannel, &read_fds, &write_fds);
 
-  count = select(nfds, &read_fds, &write_fds, NULL,
-                 (struct timeval *)&tv);
+  (void)select(nfds, &read_fds, &write_fds, NULL,
+               (struct timeval *)&tv);
 
   /* Call ares_process() unconditonally here, even if we simply timed out
      above, as otherwise the ares name resolve won't timeout! */