aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrowning- <crowning-@users.noreply.github.com>2016-08-18 16:52:38 +0200
committerLuke Dashjr <luke-jr+git@utopios.org>2016-09-21 02:43:47 +0000
commitcb07f19e90951fc47604a12b500514ff08742c31 (patch)
tree509f22b44251bac6f73a054c5d772f76db47ae1a
parent75d548475dcf74fc0e69c4e5a4a6a0c213950cde (diff)
downloadbitcoin-cb07f19e90951fc47604a12b500514ff08742c31.tar.xz
CDB: fix debug output
It doesn't really help to clear a variable before printing it to the debug log. Github-Pull: #8539 Rebased-From: fab2e26d2033ca3c7a24f6a0ad6529fceda52ebc
-rw-r--r--src/wallet/db.cpp2
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"))) {