aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-23 08:11:24 -0500
committerRiccardo Spagni <ric@spagni.net>2017-01-23 08:11:24 -0500
commitad91ffe7e5e52c4b769c12616f6350396306dceb (patch)
tree9e09ad496a8a5082a8cfaf90572cb12b93742285 /src/p2p
parentMerge pull request #1621 (diff)
parentRemove unreachable returns (diff)
downloadmonero-ad91ffe7e5e52c4b769c12616f6350396306dceb.tar.xz
Merge pull request #1622
8141973e Remove unreachable returns (Miguel Herranz)
Diffstat (limited to 'src/p2p')
-rw-r--r--src/p2p/net_peerlist.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/p2p/net_peerlist.h b/src/p2p/net_peerlist.h
index 4797eb82b..160206ed3 100644
--- a/src/p2p/net_peerlist.h
+++ b/src/p2p/net_peerlist.h
@@ -395,7 +395,6 @@ namespace nodetool
}
return true;
CATCH_ENTRY_L0("peerlist_manager::append_with_peer_gray()", false);
- return true;
}
//--------------------------------------------------------------------------------------------------
inline
@@ -420,7 +419,6 @@ namespace nodetool
return true;
CATCH_ENTRY_L0("peerlist_manager::get_random_gray_peer()", false);
- return true;
}
//--------------------------------------------------------------------------------------------------
inline
@@ -439,7 +437,6 @@ namespace nodetool
return true;
CATCH_ENTRY_L0("peerlist_manager::remove_from_peer_gray()", false);
- return true;
}
//--------------------------------------------------------------------------------------------------
}