]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Removed unused vars to avoid compiler warnings.
authorGuenter Knauf <lists@gknw.net>
Thu, 29 Jul 2010 03:20:43 +0000 (05:20 +0200)
committerGuenter Knauf <lists@gknw.net>
Thu, 29 Jul 2010 03:20:43 +0000 (05:20 +0200)
lib/hostthre.c

index b24cff56274c3a0fe54eb0885cc09e0f5171f080..8a5f67a1748c1f240d2e6d48f962e4b79f078405 100644 (file)
@@ -487,8 +487,6 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
                                 int port,
                                 int *waitp)
 {
-  struct hostent *h = NULL;
-  struct SessionHandle *data = conn->data;
   struct in_addr in;
 
   *waitp = 0; /* default to synchronous response */