diff options
author | Miguel Herranz <miguel@ipglider.org> | 2017-01-23 11:29:34 +0100 |
---|---|---|
committer | Miguel Herranz <miguel@ipglider.org> | 2017-01-23 11:29:34 +0100 |
commit | 8141973e00df590e031dd8835c3ec3d013c995d1 (patch) | |
tree | 9f6d8bec7e5e66ca4db295f65d53c63bb362c1d9 /src | |
parent | Merge pull request #1608 (diff) | |
download | monero-8141973e00df590e031dd8835c3ec3d013c995d1.tar.xz |
Remove unreachable returns
CATCH_ENTRY_L0 already returns the second value.
Diffstat (limited to 'src')
-rw-r--r-- | src/p2p/net_peerlist.h | 3 |
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; } //-------------------------------------------------------------------------------------------------- } |