diff options
author | crowning- <crowning-@users.noreply.github.com> | 2016-08-18 16:52:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 16:52:38 +0200 |
commit | fab2e26d2033ca3c7a24f6a0ad6529fceda52ebc (patch) | |
tree | 5a5d40afec5d84a4b2dc48ecaeeafa0067c34257 | |
parent | 8250de13587ed05ca45df3e12c5dc9bcb1500e2c (diff) | |
download | bitcoin-fab2e26d2033ca3c7a24f6a0ad6529fceda52ebc.tar.xz |
CDB: fix debug output
It doesn't really help to clear a variable before printing it to the debug log.
-rw-r--r-- | src/wallet/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp index c906785e9e..cfd007ca1c 100644 --- a/src/wallet/db.cpp +++ b/src/wallet/db.cpp @@ -284,7 +284,7 @@ CDB::CDB(const std::string& strFilename, const char* pszMode, bool fFlushOnClose pdb = NULL; --bitdb.mapFileUseCount[strFile]; strFile = ""; - throw runtime_error(strprintf("CDB: Error %d, can't open database %s", ret, strFile)); + throw runtime_error(strprintf("CDB: Error %d, can't open database %s", ret, strFilename)); } if (fCreate && !Exists(string("version"))) { |