mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:43:31 +03:00
fix a bunch of MSVC compiler warnings
This commit is contained in:
parent
2be65bb0c5
commit
6b75d2c2df
41 changed files with 109 additions and 82 deletions
|
|
@ -49,7 +49,7 @@
|
|||
/* Winsock and TPF sockets are not in range [0..FD_SETSIZE-1] */
|
||||
|
||||
#if defined(USE_WINSOCK) || defined(TPF)
|
||||
#define VERIFY_SOCK(x) do { } WHILE_FALSE
|
||||
#define VERIFY_SOCK(x) Curl_nop_stmt
|
||||
#else
|
||||
#define VALID_SOCK(s) (((s) >= 0) && ((s) < FD_SETSIZE))
|
||||
#define VERIFY_SOCK(x) do { \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue