aboutsummaryrefslogtreecommitdiff
path: root/src/main.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/main.cpp
parentf3d4f1e5a18431b5cd054698deacd9d7009b0eae (diff)
Fixing compiler warning C4101
Github-Pull: #4856
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 02d4bfa8a0..1b746a0b08 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3163,7 +3163,7 @@ bool LoadExternalBlockFile(FILE* fileIn, CDiskBlockPos *dbp)
blkdat >> nSize;
if (nSize < 80 || nSize > MAX_BLOCK_SIZE)
continue;
- } catch (std::exception &e) {
+ } catch (const std::exception &) {
// no valid block header found; don't complain
break;
}