Skip to content

Commit e86c52f

Browse files
laanwjcodablock
authored andcommitted
Merge bitcoin#9556: Remove redundant semicolons
8fc6989 Remove redundant semicolons (practicalswift)
1 parent 3dcbfc7 commit e86c52f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/hash.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ unsigned int MurmurHash3(unsigned int nHashSeed, const std::vector<unsigned char
5757
k1 = ROTL32(k1, 15);
5858
k1 *= c2;
5959
h1 ^= k1;
60-
};
60+
}
6161
}
6262

6363
//----------

src/rpc/mining.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,15 +740,15 @@ class submitblock_StateCatcher : public CValidationInterface
740740
bool found;
741741
CValidationState state;
742742

743-
submitblock_StateCatcher(const uint256 &hashIn) : hash(hashIn), found(false), state() {};
743+
submitblock_StateCatcher(const uint256 &hashIn) : hash(hashIn), found(false), state() {}
744744

745745
protected:
746746
virtual void BlockChecked(const CBlock& block, const CValidationState& stateIn) {
747747
if (block.GetHash() != hash)
748748
return;
749749
found = true;
750750
state = stateIn;
751-
};
751+
}
752752
};
753753

754754
UniValue submitblock(const JSONRPCRequest& request)

src/test/versionbits_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ BOOST_AUTO_TEST_CASE(versionbits_computeblockversion)
292292
blocksToMine--;
293293
nTime += 600;
294294
nHeight += 1;
295-
};
295+
}
296296

297297
nTime = nTimeout;
298298
// FAILED is only triggered at the end of a period, so CBV should be setting

0 commit comments

Comments
 (0)