aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-03-01 20:50:33 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2018-03-01 20:51:05 +0100
commit90a0aed51194ad82da8e011b96f9561c685e40b7 (patch)
tree422b2bb0699cdc1a8753441c47bd08cd5eaf0a13 /src/test
parenta4a5fc7c17cd63fae39db3b01b4bc1b0a32b6e1f (diff)
parent19ac86e2063432fca1f21fd3ef9770e7bde5d0ff (diff)
Merge #12182: Remove useless string initializations
19ac86e Remove useless string initialization. (Alin Rus) Pull request description: Tree-SHA512: 4273dd7e8ed083cc9d05fc70967465e405085b630c000f829648dd44dd0cfe2249f6af1498b02f54b4ca73833130b802488bae8eca0d4d0b803a6f0122b19e8f
Diffstat (limited to 'src/test')
-rw-r--r--src/test/net_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/net_tests.cpp b/src/test/net_tests.cpp
index ca57f58905..e03234060d 100644
--- a/src/test/net_tests.cpp
+++ b/src/test/net_tests.cpp
@@ -171,7 +171,7 @@ BOOST_AUTO_TEST_CASE(cnode_simple_test)
ipv4Addr.s_addr = 0xa0b0c001;
CAddress addr = CAddress(CService(ipv4Addr, 7777), NODE_NETWORK);
- std::string pszDest = "";
+ std::string pszDest;
bool fInboundIn = false;
// Test that fFeeler is false by default.