1
0
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:
Michał Janiszewski
2017-07-24 15:40:53 +02:00
parent 252f3fd5c4
commit 5811a9e08e

View File

@@ -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;