ERR: Remove warning on Sun

This commit is contained in:
Bill Hoffman 2003-05-06 11:10:19 -04:00
parent 721c99a742
commit b9eed3ea18
1 changed files with 2 additions and 2 deletions

View File

@ -135,6 +135,8 @@ int Curl_nonblock(int socket, /* operate on this */
#endif #endif
#ifdef HAVE_DISABLED_NONBLOCKING #ifdef HAVE_DISABLED_NONBLOCKING
(void)socket;
(void)nonblock;
return 0; /* returns success */ return 0; /* returns success */
#define SETBLOCK 5 #define SETBLOCK 5
#endif #endif
@ -142,8 +144,6 @@ int Curl_nonblock(int socket, /* operate on this */
#ifndef SETBLOCK #ifndef SETBLOCK
#error "no non-blocking method was found/used/set" #error "no non-blocking method was found/used/set"
#endif #endif
(void)socket;
(void)nonblock;
} }
/* /*