Merge #8163: Do not shadow global RPC table variable (tableRPC)

de1bbe3 Do not shadow global RPC table variable (tableRPC) (Pavel Janík)
This commit is contained in:
Wladimir J. van der Laan
2016-08-31 16:04:22 +02:00
8 changed files with 19 additions and 19 deletions

View File

@@ -919,8 +919,8 @@ static const CRPCCommand commands[] =
{ "util", "estimatesmartpriority", &estimatesmartpriority, true },
};
void RegisterMiningRPCCommands(CRPCTable &tableRPC)
void RegisterMiningRPCCommands(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]);
}