Browse Source

trivial: squash missing field 'argNames' initializer warning in qt tests

The additional initializer is for the named arguments, which are unused
in the test (and unfilled global fields will be initialized to 0
anyhow), so this is a no-op apart from the warning.
pull/1/head
Wladimir J. van der Laan 6 years ago
parent
commit
b8d1b81077
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/qt/test/rpcnestedtests.cpp

2
src/qt/test/rpcnestedtests.cpp

@ -29,7 +29,7 @@ static UniValue rpcNestedTest_rpc(const JSONRPCRequest& request) @@ -29,7 +29,7 @@ static UniValue rpcNestedTest_rpc(const JSONRPCRequest& request)
static const CRPCCommand vRPCCommands[] =
{
{ "test", "rpcNestedTest", &rpcNestedTest_rpc, true },
{ "test", "rpcNestedTest", &rpcNestedTest_rpc, true, {} },
};
void RPCNestedTests::rpcNestedTests()

Loading…
Cancel
Save