aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPierre Rochard <pierre@rochard.org>2017-12-17 11:01:23 -0500
committerPierre Rochard <pierre@rochard.org>2017-12-17 11:01:23 -0500
commitecf9b25a03d8a29f16005ca4485b6533db6efc82 (patch)
tree7f2293df5823293716a5463783bedc1fc820b72a /src
parent62fdf9b07087b80d2142799bdd2324f61483359d (diff)
remove unused fNoncriticalErrors variable from CWalletDB::FindWalletTx
Diffstat (limited to 'src')
-rw-r--r--src/wallet/walletdb.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp
index efc50f72eb..0b0d84708d 100644
--- a/src/wallet/walletdb.cpp
+++ b/src/wallet/walletdb.cpp
@@ -626,7 +626,6 @@ DBErrors CWalletDB::LoadWallet(CWallet* pwallet)
DBErrors CWalletDB::FindWalletTx(std::vector<uint256>& vTxHash, std::vector<CWalletTx>& vWtx)
{
- bool fNoncriticalErrors = false;
DBErrors result = DB_LOAD_OK;
try {
@@ -681,9 +680,6 @@ DBErrors CWalletDB::FindWalletTx(std::vector<uint256>& vTxHash, std::vector<CWal
result = DB_CORRUPT;
}
- if (fNoncriticalErrors && result == DB_LOAD_OK)
- result = DB_NONCRITICAL_ERROR;
-
return result;
}