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

@@ -498,8 +498,8 @@ static const CRPCCommand commands[] =
{ "hidden", "setmocktime", &setmocktime, true },
};
void RegisterMiscRPCCommands(CRPCTable &tableRPC)
void RegisterMiscRPCCommands(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]);
}