Update IXSocketConnect.cpp (#356)
Part of the code is never executed warning raised by clang
This commit is contained in:
parent
127cc4a023
commit
e12a6ddbdd
@ -91,10 +91,6 @@ namespace ix
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Socket::closeSocket(fd);
|
|
||||||
errMsg = "connect timed out after 60 seconds";
|
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int SocketConnect::connect(const std::string& hostname,
|
int SocketConnect::connect(const std::string& hostname,
|
||||||
|
Loading…
Reference in New Issue
Block a user