mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 11:18:53 +00: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