From b9eed3ea186a4a1a034b78a3ddac035e856e23b7 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 6 May 2003 11:10:19 -0400 Subject: ERR: Remove warning on Sun --- Source/CTest/Curl/connect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/CTest/Curl/connect.c b/Source/CTest/Curl/connect.c index 05ce10d..0f95bd5 100644 --- a/Source/CTest/Curl/connect.c +++ b/Source/CTest/Curl/connect.c @@ -135,6 +135,8 @@ int Curl_nonblock(int socket, /* operate on this */ #endif #ifdef HAVE_DISABLED_NONBLOCKING + (void)socket; + (void)nonblock; return 0; /* returns success */ #define SETBLOCK 5 #endif @@ -142,8 +144,6 @@ int Curl_nonblock(int socket, /* operate on this */ #ifndef SETBLOCK #error "no non-blocking method was found/used/set" #endif - (void)socket; - (void)nonblock; } /* -- cgit v0.12