mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
Remove unreachable returns
CATCH_ENTRY_L0 already returns the second value.
This commit is contained in:
parent
daf66621dc
commit
8141973e00
1 changed files with 0 additions and 3 deletions
|
@ -395,7 +395,6 @@ namespace nodetool
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
CATCH_ENTRY_L0("peerlist_manager::append_with_peer_gray()", false);
|
CATCH_ENTRY_L0("peerlist_manager::append_with_peer_gray()", false);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
inline
|
inline
|
||||||
|
@ -420,7 +419,6 @@ namespace nodetool
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
CATCH_ENTRY_L0("peerlist_manager::get_random_gray_peer()", false);
|
CATCH_ENTRY_L0("peerlist_manager::get_random_gray_peer()", false);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
inline
|
inline
|
||||||
|
@ -439,7 +437,6 @@ namespace nodetool
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
CATCH_ENTRY_L0("peerlist_manager::remove_from_peer_gray()", false);
|
CATCH_ENTRY_L0("peerlist_manager::remove_from_peer_gray()", false);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue