Fixing compiler warning C4101

Github-Pull: #4856
This commit is contained in:
ENikS
2014-09-05 11:37:01 -04:00
committed by Wladimir J. van der Laan
parent f3d4f1e5a1
commit ec91092df8
9 changed files with 10 additions and 10 deletions

View File

@@ -574,7 +574,7 @@ CTxMemPool::WriteFeeEstimates(CAutoFile& fileout) const
fileout << CLIENT_VERSION; // version that wrote the file
minerPolicyEstimator->Write(fileout);
}
catch (std::exception &e) {
catch (const std::exception &) {
LogPrintf("CTxMemPool::WriteFeeEstimates() : unable to write policy estimator data (non-fatal)");
return false;
}
@@ -593,7 +593,7 @@ CTxMemPool::ReadFeeEstimates(CAutoFile& filein)
LOCK(cs);
minerPolicyEstimator->Read(filein, minRelayFee);
}
catch (std::exception &e) {
catch (const std::exception &) {
LogPrintf("CTxMemPool::ReadFeeEstimates() : unable to read policy estimator data (non-fatal)");
return false;
}