mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
remove LogException( ) which is never used
This commit is contained in:
parent
f4057cb749
commit
595f691d0a
@ -885,12 +885,6 @@ static std::string FormatException(std::exception* pex, const char* pszThread)
|
|||||||
"UNKNOWN EXCEPTION \n%s in %s \n", pszModule, 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)
|
void PrintExceptionContinue(std::exception* pex, const char* pszThread)
|
||||||
{
|
{
|
||||||
std::string message = FormatException(pex, pszThread);
|
std::string message = FormatException(pex, pszThread);
|
||||||
|
@ -151,8 +151,6 @@ static inline bool error(const char* format)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void LogException(std::exception* pex, const char* pszThread);
|
|
||||||
void PrintExceptionContinue(std::exception* pex, const char* pszThread);
|
void PrintExceptionContinue(std::exception* pex, const char* pszThread);
|
||||||
std::string FormatMoney(int64_t n, bool fPlus=false);
|
std::string FormatMoney(int64_t n, bool fPlus=false);
|
||||||
bool ParseMoney(const std::string& str, int64_t& nRet);
|
bool ParseMoney(const std::string& str, int64_t& nRet);
|
||||||
|
Loading…
Reference in New Issue
Block a user