ERR: Remove warning on Sun
This commit is contained in:
parent
721c99a742
commit
b9eed3ea18
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue