Update IXSocketConnect.cpp (#356)

Part of the code is never executed
warning raised by clang
This commit is contained in:
flagarde
2022-02-11 12:50:55 +08:00
committed by GitHub
parent 127cc4a023
commit e12a6ddbdd

View File

@ -91,10 +91,6 @@ namespace ix
return -1;
}
}
Socket::closeSocket(fd);
errMsg = "connect timed out after 60 seconds";
return -1;
}
int SocketConnect::connect(const std::string& hostname,