mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
remove some unused functions
Identified with `cppcheck --enable=unusedFunction .`. - GetSendBufferSize()'s last use removed in991955ee81- SetPort()'s last use removed in7e195e8459- GetfLargeWorkInvalidChainFound() was introduced ine3ba0ef956and never used
This commit is contained in:
@@ -598,11 +598,6 @@ std::string CService::ToString() const
|
||||
return ToStringIPPort();
|
||||
}
|
||||
|
||||
void CService::SetPort(unsigned short portIn)
|
||||
{
|
||||
port = portIn;
|
||||
}
|
||||
|
||||
CSubNet::CSubNet():
|
||||
valid(false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user