mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 03:02:37 +02: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:
@@ -148,7 +148,6 @@ class CService : public CNetAddr
|
||||
CService(const struct in_addr& ipv4Addr, unsigned short port);
|
||||
CService(const struct sockaddr_in& addr);
|
||||
void Init();
|
||||
void SetPort(unsigned short portIn);
|
||||
unsigned short GetPort() const;
|
||||
bool GetSockAddr(struct sockaddr* paddr, socklen_t *addrlen) const;
|
||||
bool SetSockAddr(const struct sockaddr* paddr);
|
||||
|
||||
Reference in New Issue
Block a user