mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
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:
@@ -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