aboutsummaryrefslogtreecommitdiff
path: root/lib/hostares.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-26 11:56:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-26 11:56:05 +0000
commitf128d904a545476d48fc4a588a5aa1b5ace22dac (patch)
tree670864c9d814d7e9701162c8f7160831aa97b1f6 /lib/hostares.c
parentfb1039f2ab239b5f1bee153406364574fc20be29 (diff)
removed assignment of variable never used
Diffstat (limited to 'lib/hostares.c')
-rw-r--r--lib/hostares.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/hostares.c b/lib/hostares.c
index 1db87e483..d2ea98ea0 100644
--- a/lib/hostares.c
+++ b/lib/hostares.c
@@ -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! */