summaryrefslogtreecommitdiffstats
path: root/Source/CTest/Curl/sendf.c
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-05-01 12:08:24 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-05-01 12:08:24 (GMT)
commit261359919c0cef39b147a819a47188d82d0c5044 (patch)
tree7c3eca2c3df28b29027a79c2901e0697846da621 /Source/CTest/Curl/sendf.c
parent0d431a1daa33d966a82831eeb970314541f40a75 (diff)
downloadCMake-261359919c0cef39b147a819a47188d82d0c5044.zip
CMake-261359919c0cef39b147a819a47188d82d0c5044.tar.gz
CMake-261359919c0cef39b147a819a47188d82d0c5044.tar.bz2
ERR: Remove some curl warnings
Diffstat (limited to 'Source/CTest/Curl/sendf.c')
-rw-r--r--Source/CTest/Curl/sendf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/Curl/sendf.c b/Source/CTest/Curl/sendf.c
index 0eef961..9c9f14e 100644
--- a/Source/CTest/Curl/sendf.c
+++ b/Source/CTest/Curl/sendf.c
@@ -228,6 +228,7 @@ CURLcode Curl_write(struct connectdata *conn, int sockfd,
ssize_t *written)
{
ssize_t bytes_written;
+ (void)conn;
#ifdef USE_SSLEAY
/* SSL_write() is said to return 'int' while write() and send() returns
@@ -342,6 +343,7 @@ int Curl_read(struct connectdata *conn,
{
ssize_t nread;
*n=0; /* reset amount to zero */
+ (void)conn;
#ifdef USE_SSLEAY
if (conn->ssl.use) {