File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ static void DeserializeBlockTest(benchmark::State& state)
22
22
CDataStream stream ((const char *)block_bench::block413567,
23
23
(const char *)&block_bench::block413567[sizeof (block_bench::block413567)],
24
24
SER_NETWORK, PROTOCOL_VERSION);
25
- char a;
25
+ char a = ' \0 ' ;
26
26
stream.write (&a, 1 ); // Prevent compaction
27
27
28
28
while (state.KeepRunning ()) {
@@ -37,7 +37,7 @@ static void DeserializeAndCheckBlockTest(benchmark::State& state)
37
37
CDataStream stream ((const char *)block_bench::block413567,
38
38
(const char *)&block_bench::block413567[sizeof (block_bench::block413567)],
39
39
SER_NETWORK, PROTOCOL_VERSION);
40
- char a;
40
+ char a = ' \0 ' ;
41
41
stream.write (&a, 1 ); // Prevent compaction
42
42
43
43
Consensus::Params params = Params (CBaseChainParams::MAIN).GetConsensus ();
You can’t perform that action at this time.
0 commit comments