diff --git a/src/openrct2/network/TcpSocket.cpp b/src/openrct2/network/TcpSocket.cpp index d34abc34d0..30949f128d 100644 --- a/src/openrct2/network/TcpSocket.cpp +++ b/src/openrct2/network/TcpSocket.cpp @@ -450,7 +450,6 @@ private: } addrinfo * result = nullptr; - getaddrinfo(address, serviceName.c_str(), &hints, &result); int errorcode = getaddrinfo(address, serviceName.c_str(), &hints, &result); if (errorcode != 0) {