Skip to content

Commit fab2e26

Browse files
authored
CDB: fix debug output
It doesn't really help to clear a variable before printing it to the debug log.
1 parent 8250de1 commit fab2e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/db.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ CDB::CDB(const std::string& strFilename, const char* pszMode, bool fFlushOnClose
284284
pdb = NULL;
285285
--bitdb.mapFileUseCount[strFile];
286286
strFile = "";
287-
throw runtime_error(strprintf("CDB: Error %d, can't open database %s", ret, strFile));
287+
throw runtime_error(strprintf("CDB: Error %d, can't open database %s", ret, strFilename));
288288
}
289289

290290
if (fCreate && !Exists(string("version"))) {

0 commit comments

Comments
 (0)