aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-02-02 10:21:06 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-02-02 11:57:40 +0100
commit4e19efba033167ee530d36e22f404b74b09f7955 (patch)
treefd08c1a26178d215c70b90b85d1c7f7cb526125e
parentae972a5e996a8883369c424348682a2c1597877e (diff)
parent8fc698935f01a9f0675e509761fb69be8d43e80a (diff)
downloadbitcoin-4e19efba033167ee530d36e22f404b74b09f7955.tar.xz
Merge #9556: Remove redundant semicolons
8fc6989 Remove redundant semicolons (practicalswift)
-rw-r--r--src/hash.cpp2
-rw-r--r--src/rpc/mining.cpp4
-rw-r--r--src/test/versionbits_tests.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/hash.cpp b/src/hash.cpp
index a399ca9252..a14a2386a2 100644
--- a/src/hash.cpp
+++ b/src/hash.cpp
@@ -57,7 +57,7 @@ unsigned int MurmurHash3(unsigned int nHashSeed, const std::vector<unsigned char
k1 = ROTL32(k1, 15);
k1 *= c2;
h1 ^= k1;
- };
+ }
}
//----------
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index e46f55a8aa..c594daca0d 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -697,7 +697,7 @@ public:
bool found;
CValidationState state;
- submitblock_StateCatcher(const uint256 &hashIn) : hash(hashIn), found(false), state() {};
+ submitblock_StateCatcher(const uint256 &hashIn) : hash(hashIn), found(false), state() {}
protected:
virtual void BlockChecked(const CBlock& block, const CValidationState& stateIn) {
@@ -705,7 +705,7 @@ protected:
return;
found = true;
state = stateIn;
- };
+ }
};
UniValue submitblock(const JSONRPCRequest& request)
diff --git a/src/test/versionbits_tests.cpp b/src/test/versionbits_tests.cpp
index bae0eff7e5..e2b5573abd 100644
--- a/src/test/versionbits_tests.cpp
+++ b/src/test/versionbits_tests.cpp
@@ -292,7 +292,7 @@ BOOST_AUTO_TEST_CASE(versionbits_computeblockversion)
blocksToMine--;
nTime += 600;
nHeight += 1;
- };
+ }
nTime = nTimeout;
// FAILED is only triggered at the end of a period, so CBV should be setting