Do not shadow global RPC table variable (tableRPC)

This commit is contained in:
Pavel Janík
2016-06-07 18:42:42 +02:00
parent 1030fa718c
commit de1bbe3b78
8 changed files with 19 additions and 19 deletions

View File

@@ -1205,8 +1205,8 @@ static const CRPCCommand commands[] =
{ "hidden", "reconsiderblock", &reconsiderblock, true },
};
void RegisterBlockchainRPCCommands(CRPCTable &tableRPC)
void RegisterBlockchainRPCCommands(CRPCTable &t)
{
for (unsigned int vcidx = 0; vcidx < ARRAYLEN(commands); vcidx++)
tableRPC.appendCommand(commands[vcidx].name, &commands[vcidx]);
t.appendCommand(commands[vcidx].name, &commands[vcidx]);
}