Skip to content

Commit 4e19efb

Browse files
committed
Merge #9556: Remove redundant semicolons
8fc6989 Remove redundant semicolons (practicalswift)
2 parents ae972a5 + 8fc6989 commit 4e19efb

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
@@ -697,15 +697,15 @@ class submitblock_StateCatcher : public CValidationInterface
697697
bool found;
698698
CValidationState state;
699699

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

702702
protected:
703703
virtual void BlockChecked(const CBlock& block, const CValidationState& stateIn) {
704704
if (block.GetHash() != hash)
705705
return;
706706
found = true;
707707
state = stateIn;
708-
};
708+
}
709709
};
710710

711711
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)