forked from rosebudai/OpenRCT2-Web
Lift C4548 for FD_SET
Others encountered that as well: https://github.com/deflomu/cryptlib/blob/master/io/tcp.h#L572-L588 Nothing we can do about it ourselves.
This commit is contained in:
1 parent
252f3fd5c4
commit
5811a9e08e
1 file changed
+3
@@ -281,7 +281,10 @@ public:
|
||||
|
||||
fd_set writeFD;
|
||||
FD_ZERO(&writeFD);
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4548) // expression before comma has no effect; expected expression with side-effect
|
||||
FD_SET(_socket, &writeFD);
|
||||
#pragma warning(pop)
|
||||
timeval timeout;
|
||||
timeout.tv_sec = 0;
|
||||
timeout.tv_usec = 0;
|
||||
|
||||
Reference in new issue
Block a user