diff --git a/src/openrct2/network/TcpSocket.cpp b/src/openrct2/network/TcpSocket.cpp index 95b2986d51..31d1da73ec 100644 --- a/src/openrct2/network/TcpSocket.cpp +++ b/src/openrct2/network/TcpSocket.cpp @@ -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;