diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-11-11 11:46:22 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-11-11 11:46:49 +0100 |
commit | 87ab49e4fe38f0d8d527090ea348081037a68cef (patch) | |
tree | 0c9b3e0664917ba76dfcd3515550e6f767b03b38 /src | |
parent | bfc7aad0088432b3693a055b0916a869632bdbe2 (diff) | |
parent | bf49f107ef4fa32c3271010ccd394e2ab3c44b68 (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.cpp | 4 |
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)); } } |