summaryrefslogtreecommitdiffstats
path: root/Source/CTest/Curl/hostip.c
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-05-05 14:48:19 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-05-05 14:48:19 (GMT)
commitd859ad258c25477aae52b0dac28ceb891ef0661d (patch)
treeb947ac369b02fd3775f27a6e868e6c6962db4f95 /Source/CTest/Curl/hostip.c
parentc70beb4bee01898345c5d8a0279c39925542eea3 (diff)
downloadCMake-d859ad258c25477aae52b0dac28ceb891ef0661d.zip
CMake-d859ad258c25477aae52b0dac28ceb891ef0661d.tar.gz
CMake-d859ad258c25477aae52b0dac28ceb891ef0661d.tar.bz2
ERR: Remove warnings on Borland
Diffstat (limited to 'Source/CTest/Curl/hostip.c')
-rw-r--r--Source/CTest/Curl/hostip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/Curl/hostip.c b/Source/CTest/Curl/hostip.c
index fc12bd7..874e47c 100644
--- a/Source/CTest/Curl/hostip.c
+++ b/Source/CTest/Curl/hostip.c
@@ -549,6 +549,7 @@ static Curl_addrinfo *my_getaddrinfo(struct SessionHandle *data,
* Stevens' Unix Network Programming 2nd editor, p. 304: 8192 bytes! */
port=0; /* unused in IPv4 code */
ret = 0; /* to prevent the compiler warning */
+ (void)ret;
if ( (in=inet_addr(hostname)) != INADDR_NONE ) {
struct in_addr *addrentry;