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 /src | |
parent | 8250de13587ed05ca45df3e12c5dc9bcb1500e2c (diff) |
CDB: fix debug output
It doesn't really help to clear a variable before printing it to the debug log.
Diffstat (limited to 'src')
-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"))) { |