aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorENikS <evgeni@eniks.com>2014-09-05 11:37:01 -0400
committerWladimir J. van der Laan <laanwj@gmail.com>2014-09-15 14:35:32 +0200
commitec91092df8f70c4abef6bbb3c4dec6d9511405fe (patch)
tree96e1d0d2930a6a4bb1942504450a1189e16244bc /src/txmempool.cpp
parentf3d4f1e5a18431b5cd054698deacd9d7009b0eae (diff)
Fixing compiler warning C4101
Github-Pull: #4856
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 119509ae3c..e538645e17 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -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;
}