message: Fix compiler warnings by removing unused variables and functions.
diff: @@ -1029,36 +1029,6 @@ UniValue verifychain(const JSONRPCRequest& request)
  return CVerifyDB().VerifyDB(Params(), pcoinsTip.get(), nCheckLevel, nCheckDepth);
  }
  -/** Implementation of IsSuperMajority with better feedback */
  -static UniValue SoftForkMajorityDesc(int version, CBlockIndex* pindex, const Consensus::Params& consensusParams)
  -{
  - UniValue rv(UniValue::VOBJ);
  - bool activated = false;
  - switch(version)
  - {
  - case 2:
  - activated = pindex->nHeight >= consensusParams.BIP34Height;
  - break;
  - case 3:
  - activated = IsBTC16BIPsEnabled(pindex->nTime);
  - break;
  - case 4:
  - activated = IsProtocolV06(pindex);
  - break;
  - }
  - rv.push_back(Pair("status", activated));
  - return rv;
  -}
  -
  -static UniValue SoftForkDesc(const std::string &name, int version, CBlockIndex* pindex, const Consensus::Params& consensusParams)
  -{
  - UniValue rv(UniValue::VOBJ);
  - rv.push_back(Pair("id", name));
  - rv.push_back(Pair("version", version));
  - rv.push_back(Pair("reject", SoftForkMajorityDesc(version, pindex, consensusParams)));
  - return rv;
  -}
  -
  UniValue getblockchaininfo(const JSONRPCRequest& request)
  {
  if (request.fHelp || request.params.size() != 0)
  @@ -1107,8 +1077,6 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
  obj.push_back(Pair("chainwork", chainActive.Tip()->nChainTrust.GetHex()));
  obj.push_back(Pair("size_on_disk", CalculateCurrentUsage()));
  - const Consensus::Params& consensusParams = Params().GetConsensus();
  - CBlockIndex* tip = chainActive.Tip();
  UniValue softforks(UniValue::VARR);
  obj.push_back(Pair("softforks", softforks));
  