Browse Source

Remove redundant semicolons

0.14
practicalswift 8 years ago
parent
commit
8fc698935f
  1. 2
      src/hash.cpp
  2. 4
      src/rpc/mining.cpp
  3. 2
      src/test/versionbits_tests.cpp

2
src/hash.cpp

@ -57,7 +57,7 @@ unsigned int MurmurHash3(unsigned int nHashSeed, const std::vector<unsigned char
k1 = ROTL32(k1, 15); k1 = ROTL32(k1, 15);
k1 *= c2; k1 *= c2;
h1 ^= k1; h1 ^= k1;
}; }
} }
//---------- //----------

4
src/rpc/mining.cpp

@ -697,7 +697,7 @@ public:
bool found; bool found;
CValidationState state; CValidationState state;
submitblock_StateCatcher(const uint256 &hashIn) : hash(hashIn), found(false), state() {}; submitblock_StateCatcher(const uint256 &hashIn) : hash(hashIn), found(false), state() {}
protected: protected:
virtual void BlockChecked(const CBlock& block, const CValidationState& stateIn) { virtual void BlockChecked(const CBlock& block, const CValidationState& stateIn) {
@ -705,7 +705,7 @@ protected:
return; return;
found = true; found = true;
state = stateIn; state = stateIn;
}; }
}; };
UniValue submitblock(const JSONRPCRequest& request) UniValue submitblock(const JSONRPCRequest& request)

2
src/test/versionbits_tests.cpp

@ -292,7 +292,7 @@ BOOST_AUTO_TEST_CASE(versionbits_computeblockversion)
blocksToMine--; blocksToMine--;
nTime += 600; nTime += 600;
nHeight += 1; nHeight += 1;
}; }
nTime = nTimeout; nTime = nTimeout;
// FAILED is only triggered at the end of a period, so CBV should be setting // FAILED is only triggered at the end of a period, so CBV should be setting

Loading…
Cancel
Save