mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 19:33:28 +01:00
Remove unreachable returns
CATCH_ENTRY_L0 already returns the second value.
This commit is contained in:
parent
daf66621dc
commit
8141973e00
@ -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 New Issue
Block a user