diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-07-27 13:18:57 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-07-27 13:19:32 +0200 |
commit | 8a99fe053a5d9a0672556fb187c602e51d2f1076 (patch) | |
tree | b4e357a95c8054d2c48600021279814b0cbde1bc /src/warnings.cpp | |
parent | 5c8eb7916de7030d6610df53977b3068342c8f24 (diff) | |
parent | f228b8e16308ef33792f54360f0f2c2f8310b158 (diff) |
Merge #10501: remove some unused functions
f228b8e remove some unused functions (Marko Bencun)
Pull request description:
Identified with `cppcheck --enable=unusedFunction .`.
- GetSendBufferSize()'s last use removed in
991955e
- SetPort()'s last use removed in
7e195e8
- GetfLargeWorkInvalidChainFound() was introduced in
e3ba0ef and never used
Tree-SHA512: ea8e5498bec981e42e1342c171c37723c2f5e575c7d6c1a524d9c6cd9b332bdd0d84fddf9e14ca011bb49fb82bd037386382c9afc546b3c2231ae548358bd4f4
Diffstat (limited to 'src/warnings.cpp')
-rw-r--r-- | src/warnings.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/warnings.cpp b/src/warnings.cpp index 2c1b1b0e12..75ccfeb116 100644 --- a/src/warnings.cpp +++ b/src/warnings.cpp @@ -37,12 +37,6 @@ void SetfLargeWorkInvalidChainFound(bool flag) fLargeWorkInvalidChainFound = flag; } -bool GetfLargeWorkInvalidChainFound() -{ - LOCK(cs_warnings); - return fLargeWorkInvalidChainFound; -} - std::string GetWarnings(const std::string& strFor) { std::string strStatusBar; |