aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-11-11 11:46:22 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-11-11 11:46:49 +0100
commit87ab49e4fe38f0d8d527090ea348081037a68cef (patch)
tree0c9b3e0664917ba76dfcd3515550e6f767b03b38 /src
parentbfc7aad0088432b3693a055b0916a869632bdbe2 (diff)
parentbf49f107ef4fa32c3271010ccd394e2ab3c44b68 (diff)
Merge #9124: Use better name for local variable to prevent -Wshadow compiler warning
bf49f10 Use better name for local variable to prevent -Wshadow compiler warning (Pavel Janík)
Diffstat (limited to 'src')
-rw-r--r--src/bench/checkblock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bench/checkblock.cpp b/src/bench/checkblock.cpp
index bb596ce7f9..4a564d3fc8 100644
--- a/src/bench/checkblock.cpp
+++ b/src/bench/checkblock.cpp
@@ -46,8 +46,8 @@ static void DeserializeAndCheckBlockTest(benchmark::State& state)
stream >> block;
assert(stream.Rewind(sizeof(block_bench::block413567)));
- CValidationState state;
- assert(CheckBlock(block, state, params));
+ CValidationState validationState;
+ assert(CheckBlock(block, validationState, params));
}
}