aboutsummaryrefslogtreecommitdiff
path: root/src/warnings.h
diff options
context:
space:
mode:
authorMarko Bencun <marko.bencun@monetas.net>2017-06-01 19:13:51 +0200
committerMarko Bencun <marko.bencun@monetas.net>2017-07-22 09:55:57 +0200
commitf228b8e16308ef33792f54360f0f2c2f8310b158 (patch)
treeef32fe6784c4b9662f3a3653bae26cb4a5e87146 /src/warnings.h
parent420238d3103aa5c2e0ad29be840ba5d04b9d243e (diff)
downloadbitcoin-f228b8e16308ef33792f54360f0f2c2f8310b158.tar.xz
remove some unused functions
Identified with `cppcheck --enable=unusedFunction .`. - GetSendBufferSize()'s last use removed in 991955ee81034dc3fbc1c2a8e60c04fc9e0b538c - SetPort()'s last use removed in 7e195e8459ad741368db6bb574981fccb1707268 - GetfLargeWorkInvalidChainFound() was introduced in e3ba0ef95636290a3bb597ddd25d13ea13b034aa and never used
Diffstat (limited to 'src/warnings.h')
-rw-r--r--src/warnings.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/warnings.h b/src/warnings.h
index fd0ca53942..e8e982c0e3 100644
--- a/src/warnings.h
+++ b/src/warnings.h
@@ -13,7 +13,6 @@ void SetMiscWarning(const std::string& strWarning);
void SetfLargeWorkForkFound(bool flag);
bool GetfLargeWorkForkFound();
void SetfLargeWorkInvalidChainFound(bool flag);
-bool GetfLargeWorkInvalidChainFound();
/** Format a string that describes several potential problems detected by the core.
* strFor can have three values:
* - "rpc": get critical warnings, which should put the client in safe mode if non-empty