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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,