Skip to content

Commit b8d1b81

Browse files
committed
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.
1 parent fb75cd0 commit b8d1b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/test/rpcnestedtests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static UniValue rpcNestedTest_rpc(const JSONRPCRequest& request)
2929

3030
static const CRPCCommand vRPCCommands[] =
3131
{
32-
{ "test", "rpcNestedTest", &rpcNestedTest_rpc, true },
32+
{ "test", "rpcNestedTest", &rpcNestedTest_rpc, true, {} },
3333
};
3434

3535
void RPCNestedTests::rpcNestedTests()

0 commit comments

Comments
 (0)