diff options
author | Kamil Domanski <kdomanski@kdemail.net> | 2014-05-13 21:00:16 +0200 |
---|---|---|
committer | Kamil Domanski <kdomanski@kdemail.net> | 2014-05-20 14:58:21 +0200 |
commit | 595f691d0acd871ecaba323d888a3632805c1828 (patch) | |
tree | 027149ff464291a7e62fb5ead08302dee84cb951 | |
parent | f4057cb749f4c0d04bf936805ff8aa5678b9c6f2 (diff) |
remove LogException( ) which is never used
-rw-r--r-- | src/util.cpp | 6 | ||||
-rw-r--r-- | src/util.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/util.cpp b/src/util.cpp index aa3adf89ec..d99e6a7bfb 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -885,12 +885,6 @@ static std::string FormatException(std::exception* pex, const char* pszThread) "UNKNOWN EXCEPTION \n%s in %s \n", pszModule, pszThread); } -void LogException(std::exception* pex, const char* pszThread) -{ - std::string message = FormatException(pex, pszThread); - LogPrintf("\n%s", message); -} - void PrintExceptionContinue(std::exception* pex, const char* pszThread) { std::string message = FormatException(pex, pszThread); diff --git a/src/util.h b/src/util.h index 97185073e0..dc0c3a8cae 100644 --- a/src/util.h +++ b/src/util.h @@ -151,8 +151,6 @@ static inline bool error(const char* format) return false; } - -void LogException(std::exception* pex, const char* pszThread); void PrintExceptionContinue(std::exception* pex, const char* pszThread); std::string FormatMoney(int64_t n, bool fPlus=false); bool ParseMoney(const std::string& str, int64_t& nRet); |