mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Remove useless string initialization.
This commit is contained in:
parent
f4f4f51f1a
commit
19ac86e206
5 changed files with 7 additions and 7 deletions
|
|
@ -139,7 +139,7 @@ bool Lookup(const char *pszName, std::vector<CService>& vAddr, int portDefault,
|
|||
if (pszName[0] == 0)
|
||||
return false;
|
||||
int port = portDefault;
|
||||
std::string hostname = "";
|
||||
std::string hostname;
|
||||
SplitHostPort(std::string(pszName), port, hostname);
|
||||
|
||||
std::vector<CNetAddr> vIP;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue